Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug to detect Memory Leak Pin
Mark Salsbery20-Jun-07 7:31
Mark Salsbery20-Jun-07 7:31 
GeneralRe: Debug to detect Memory Leak Pin
Mark Salsbery20-Jun-07 8:05
Mark Salsbery20-Jun-07 8:05 
GeneralRe: Debug to detect Memory Leak Pin
Mark Salsbery20-Jun-07 8:12
Mark Salsbery20-Jun-07 8:12 
QuestionKeystrokes for custom control in dialog Pin
kylur19-Jun-07 3:45
kylur19-Jun-07 3:45 
AnswerRe: Keystrokes for custom control in dialog Pin
Iain Clarke, Warrior Programmer19-Jun-07 4:04
Iain Clarke, Warrior Programmer19-Jun-07 4:04 
GeneralRe: Keystrokes for custom control in dialog Pin
kylur19-Jun-07 5:34
kylur19-Jun-07 5:34 
QuestionDB Date Pin
Try19-Jun-07 3:34
Try19-Jun-07 3:34 
Question_declspec and uuid [modified] Pin
Stephen Caldwell19-Jun-07 3:31
Stephen Caldwell19-Jun-07 3:31 
I'm in the unfortunate position of having to interact with mscorlib ( the .NET core library ) via COM. So I used regasm to generate a tlb of mscorlib and included the headers into my project. The headers build just fine in the debug build of the application, but the release build blows up with errors like this:

error C2628: '$S73' followed by 'void' is illegal (did you forget a ';'?)
error C2628: '$S74' followed by 'void' is illegal (did you forget a ';'?)
error C2628: '$S75' followed by 'void' is illegal (did you forget a ';'?)

(which as a result leads to a whole lot of other errors)
Which correspond to the following:
struct __declspec(uuid("b36b5c63-42ef-38bc-a07e-0b34c98f164a"))
/* dual interface */ _Exception;

struct __declspec(uuid("bca8b44d-aad6-3a86-8ab7-03349f4f2da2"))
/* interface */ _Type;

struct __declspec(uuid("35d574bf-7a4f-3588-8c19-12212a0fe4dc"))
/* dual interface */ IDictionaryEnumerator;

I haven't done anything that would introduce syntax errors into this file. Has anyone seen anything like this before?

I'm using Visual C++ 6 (I know I know. It's not my decision).

Thanks,
Stephen


-- modified at 10:02 Tuesday 19th June, 2007

I'm constantly improving every aspect of life. Not just my music, my rhymes but every facet requires its due attention to shine.

AnswerRe: _declspec and uuid Pin
Matthew Faithfull19-Jun-07 4:33
Matthew Faithfull19-Jun-07 4:33 
GeneralRe: _declspec and uuid Pin
Stephen Caldwell19-Jun-07 5:11
Stephen Caldwell19-Jun-07 5:11 
GeneralRe: _declspec and uuid Pin
Roger Stoltz19-Jun-07 5:12
Roger Stoltz19-Jun-07 5:12 
QuestionProblem with creating richeditctrl? Pin
Banks K19-Jun-07 3:05
Banks K19-Jun-07 3:05 
AnswerRe: Problem with creating richeditctrl? Pin
Rolando Cruz19-Jun-07 3:29
Rolando Cruz19-Jun-07 3:29 
GeneralRe: Problem with creating richeditctrl? Pin
Banks K19-Jun-07 3:36
Banks K19-Jun-07 3:36 
GeneralRe: Problem with creating richeditctrl? Pin
Rolando Cruz19-Jun-07 3:51
Rolando Cruz19-Jun-07 3:51 
QuestionFile reading problem Pin
Y_Kaushik19-Jun-07 3:05
Y_Kaushik19-Jun-07 3:05 
AnswerRe: File reading problem Pin
Rolando Cruz19-Jun-07 3:38
Rolando Cruz19-Jun-07 3:38 
AnswerRe: File reading problem Pin
Iain Clarke, Warrior Programmer19-Jun-07 4:08
Iain Clarke, Warrior Programmer19-Jun-07 4:08 
QuestionCOM/DCOM is now what? Pin
Rolando Cruz19-Jun-07 2:11
Rolando Cruz19-Jun-07 2:11 
AnswerRe: COM/DCOM is now what? Pin
bob1697219-Jun-07 4:34
bob1697219-Jun-07 4:34 
GeneralRe: COM/DCOM is now what? Pin
Rolando Cruz19-Jun-07 5:08
Rolando Cruz19-Jun-07 5:08 
AnswerRe: COM/DCOM is now what? Pin
James R. Twine19-Jun-07 4:51
James R. Twine19-Jun-07 4:51 
AnswerRe: COM/DCOM is now what? Pin
Rolando Cruz19-Jun-07 5:14
Rolando Cruz19-Jun-07 5:14 
GeneralRe: COM/DCOM is now what? Pin
Matthew Faithfull19-Jun-07 7:51
Matthew Faithfull19-Jun-07 7:51 
GeneralRe: COM/DCOM is now what? Pin
Rolando Cruz19-Jun-07 7:56
Rolando Cruz19-Jun-07 7:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.