Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: what does GetKeyState(VK_SHIFT) & 0x8000 mean? Pin
fantasy121531-Oct-07 20:30
fantasy121531-Oct-07 20:30 
GeneralRe: what does GetKeyState(VK_SHIFT) & 0x8000 mean? Pin
Nishad S31-Oct-07 20:34
Nishad S31-Oct-07 20:34 
GeneralRe: what does GetKeyState(VK_SHIFT) & 0x8000 mean? Pin
JudyL_MD1-Nov-07 2:45
JudyL_MD1-Nov-07 2:45 
QuestionLoading .Net DLL in MFC application problem Pin
Wolfram Steinke31-Oct-07 16:04
Wolfram Steinke31-Oct-07 16:04 
AnswerRe: Loading .Net DLL in MFC application problem Pin
Prasann Mayekar1-Nov-07 2:36
Prasann Mayekar1-Nov-07 2:36 
GeneralRe: Loading .Net DLL in MFC application problem Pin
Prasann Mayekar1-Nov-07 2:38
Prasann Mayekar1-Nov-07 2:38 
AnswerRe: Loading .Net DLL in MFC application problem Pin
Mark Salsbery1-Nov-07 6:09
Mark Salsbery1-Nov-07 6:09 
GeneralRe: Loading .Net DLL in MFC application problem Pin
Wolfram Steinke1-Nov-07 10:56
Wolfram Steinke1-Nov-07 10:56 
That's interesting, cause the Microsoft example generates a lib for ".NET/MFC interface" Dll and links with it. The interface Dll uses the namespace for the .NET, yes, and that part works when I add it to the Microsoft sample. That Dll (Which is an MCF extension) then exports a C/C++ function which accesses the .NET dll.
The error I'm getting now seems to be to with initialization when the dll is being loaded. It is trying to initialize both the managed and unmanaged code at the same time, and this is apparently a no-no.

How can I get around this? It's much work to work to rewrite the umpteen other files in the solution.



Happy programming!!

GeneralRe: Loading .Net DLL in MFC application problem Pin
Mark Salsbery1-Nov-07 11:27
Mark Salsbery1-Nov-07 11:27 
GeneralRe: Loading .Net DLL in MFC application problem Pin
Wolfram Steinke1-Nov-07 12:33
Wolfram Steinke1-Nov-07 12:33 
GeneralRe: Loading .Net DLL in MFC application problem Pin
Mark Salsbery1-Nov-07 13:01
Mark Salsbery1-Nov-07 13:01 
GeneralRe: Loading .Net DLL in MFC application problem Pin
Wolfram Steinke1-Nov-07 14:26
Wolfram Steinke1-Nov-07 14:26 
GeneralRe: Loading .Net DLL in MFC application problem Pin
Wolfram Steinke8-Nov-07 11:35
Wolfram Steinke8-Nov-07 11:35 
Questionmalloc size Pin
skatzteyp31-Oct-07 16:00
skatzteyp31-Oct-07 16:00 
AnswerRe: malloc size Pin
Llasus31-Oct-07 17:56
Llasus31-Oct-07 17:56 
GeneralRe: malloc size Pin
skatzteyp31-Oct-07 18:26
skatzteyp31-Oct-07 18:26 
GeneralRe: malloc size Pin
Llasus31-Oct-07 18:49
Llasus31-Oct-07 18:49 
GeneralRe: malloc size Pin
skatzteyp31-Oct-07 18:57
skatzteyp31-Oct-07 18:57 
GeneralRe: malloc size Pin
Roger Broomfield31-Oct-07 19:06
Roger Broomfield31-Oct-07 19:06 
AnswerRe: malloc size Pin
John R. Shaw31-Oct-07 23:12
John R. Shaw31-Oct-07 23:12 
AnswerRe: malloc size Pin
David Crow1-Nov-07 3:28
David Crow1-Nov-07 3:28 
QuestionVisual Studio 2005 Beta 2 Pin
Larry Mills Sr31-Oct-07 12:43
Larry Mills Sr31-Oct-07 12:43 
AnswerRe: Visual Studio 2005 Beta 2 Pin
Llasus31-Oct-07 18:00
Llasus31-Oct-07 18:00 
AnswerRe: Visual Studio 2005 Beta 2 Pin
Mark Salsbery1-Nov-07 6:52
Mark Salsbery1-Nov-07 6:52 
GeneralRe: Visual Studio 2005 Beta 2 Pin
Larry Mills Sr1-Nov-07 10:52
Larry Mills Sr1-Nov-07 10:52 

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.