Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using GDI+ in C++ windows project Pin
Christian Graus7-Sep-05 14:34
protectorChristian Graus7-Sep-05 14:34 
GeneralRe: using GDI+ in C++ windows project Pin
mpastchenko7-Sep-05 15:39
mpastchenko7-Sep-05 15:39 
QuestionError in Release Build Only Pin
hamza56-Sep-05 13:48
hamza56-Sep-05 13:48 
AnswerRe: Error in Release Build Only Pin
ThatsAlok6-Sep-05 18:56
ThatsAlok6-Sep-05 18:56 
GeneralRe: Error in Release Build Only Pin
Anonymous7-Sep-05 6:57
Anonymous7-Sep-05 6:57 
AnswerRe: Error in Release Build Only Pin
Anonymous6-Sep-05 20:59
Anonymous6-Sep-05 20:59 
GeneralRe: Error in Release Build Only Pin
Anonymous7-Sep-05 6:58
Anonymous7-Sep-05 6:58 
QuestionTrouble with writing dll Pin
Christian Graus6-Sep-05 13:03
protectorChristian Graus6-Sep-05 13:03 
I posted this message to the MC++ forum a few days ago, but that place is a ghost town, so I thought I'd try here

I have a C# project that needs to use a C++ SDK, so I'm trying to write a MC++ dll to act between them. At first, this was fine, but the problem is, the SDK defines a number of function pointers for callbacks. The objects I pass through complain that they are __gc type instead of type, and the pointers themselves complain that they are not __stdcall, which I assume means that the .NET stuff has it's own calling convention. However, I'm not that knowledgable when it comes to dlls, and I sure have never used MC++ before. I tried putting __nogc at the head of the class, that fixed all my errors, but gave me a new one, telling me I can't do that. What's the best way for me to proceed here ?


Christian Graus - Microsoft MVP - C++
AnswerRe: Trouble with writing dll Pin
S Douglas6-Sep-05 23:20
professionalS Douglas6-Sep-05 23:20 
GeneralRe: Trouble with writing dll Pin
Christian Graus7-Sep-05 12:31
protectorChristian Graus7-Sep-05 12:31 
Questionto get the handle of the dialog Pin
Ann666-Sep-05 12:14
sussAnn666-Sep-05 12:14 
AnswerRe: to get the handle of the dialog Pin
Blake Miller6-Sep-05 12:23
Blake Miller6-Sep-05 12:23 
GeneralRe: to get the handle of the dialog Pin
Ann666-Sep-05 12:54
sussAnn666-Sep-05 12:54 
GeneralRe: to get the handle of the dialog Pin
Anonymous6-Sep-05 13:52
Anonymous6-Sep-05 13:52 
AnswerRe: to get the handle of the dialog Pin
S Douglas6-Sep-05 23:16
professionalS Douglas6-Sep-05 23:16 
AnswerRe: to get the handle of the dialog Pin
S Douglas7-Sep-05 0:37
professionalS Douglas7-Sep-05 0:37 
QuestionChanging text color in a record list for one item Pin
LCI6-Sep-05 11:27
LCI6-Sep-05 11:27 
Questionstatic constructors ? Pin
zildjohn016-Sep-05 10:38
zildjohn016-Sep-05 10:38 
Answer[Message Deleted] Pin
Neagoe Gabriel6-Sep-05 11:07
Neagoe Gabriel6-Sep-05 11:07 
AnswerRe: static constructors ? Pin
Anonymous6-Sep-05 11:09
Anonymous6-Sep-05 11:09 
GeneralRe: static constructors ? Pin
Jörgen Sigvardsson6-Sep-05 11:33
Jörgen Sigvardsson6-Sep-05 11:33 
GeneralRe: static constructors ? Pin
Christian Graus6-Sep-05 11:55
protectorChristian Graus6-Sep-05 11:55 
AnswerRe: static constructors ? Pin
Christian Graus6-Sep-05 11:14
protectorChristian Graus6-Sep-05 11:14 
AnswerRe: static constructors ? Pin
cmk7-Sep-05 2:48
cmk7-Sep-05 2:48 
AnswerRe: static constructors ? Pin
Hugo González Castro26-Nov-11 20:03
professionalHugo González Castro26-Nov-11 20:03 

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.