Click here to Skip to main content
15,915,742 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: debug managed and unmanaged code Pin
jspano18-Jul-03 4:14
jspano18-Jul-03 4:14 
GeneralRe: debug managed and unmanaged code Pin
jspano18-Jul-03 8:58
jspano18-Jul-03 8:58 
GeneralRe: debug managed and unmanaged code Pin
leppie18-Jul-03 13:13
leppie18-Jul-03 13:13 
GeneralRe: debug managed and unmanaged code Pin
jspano18-Jul-03 15:56
jspano18-Jul-03 15:56 
GeneralRe: debug managed and unmanaged code Pin
jspano18-Jul-03 16:41
jspano18-Jul-03 16:41 
GeneralRe: debug managed and unmanaged code Pin
jspano18-Jul-03 8:56
jspano18-Jul-03 8:56 
GeneralRe: debug managed and unmanaged code Pin
Nathan Blomquist21-Jul-03 1:58
Nathan Blomquist21-Jul-03 1:58 
GeneralRe: debug managed and unmanaged code Pin
jspano21-Jul-03 2:05
jspano21-Jul-03 2:05 
I think the overflow was from lack of knowledge. From some ideas I got from leppie it has gone away. I removed the noentry option and the /clr option from the main project. I then did the /clr option individually for managed files and turned it off for nonmanaged files. It works much better now. I know I hade the __nogc* on my pointer to the managed string I sent in as a param. I don't think I had it on my pointer to a wchar_t block. I'll add that also as another precaution.

For debuging I am still up in the air. I haven't gotten it to work in a real project when you mix managed and unmanaged. I have gotten it to work with a quick test project. I still might be wrong in the test project though.

I created a .net console app. In the cpp file it gives you, I added a function called MyFunct() and put a pragma unmanaged before it. Then in the main function I called it. It stepped into it fine. Granted this isn't a dll like my other project and it is very simple. If I have time today, I will experiment some on it.
QuestionHow To Efficiently Copy Int32 to unsigned char __gc [] Pin
T R B16-Jul-03 5:56
T R B16-Jul-03 5:56 
AnswerRe: How To Efficiently Copy Int32 to unsigned char __gc [] Pin
Italo Silveira16-Jul-03 7:00
Italo Silveira16-Jul-03 7:00 
GeneralRe: How To Efficiently Copy Int32 to unsigned char __gc [] Pin
T R B16-Jul-03 7:05
T R B16-Jul-03 7:05 
GeneralStoring a static dictionary of class instances Pin
Jeremy Osner15-Jul-03 5:36
Jeremy Osner15-Jul-03 5:36 
GeneralRe: Typos Pin
Jeremy Osner15-Jul-03 6:19
Jeremy Osner15-Jul-03 6:19 
GeneralRe: Storing a static dictionary of class instances Pin
Jeremy Osner15-Jul-03 6:34
Jeremy Osner15-Jul-03 6:34 
GeneralRule of Three for Managed C++ Pin
mond_m15-Jul-03 4:54
sussmond_m15-Jul-03 4:54 
GeneralRe: Rule of Three for Managed C++ Pin
Tom Archer18-Jul-03 7:38
Tom Archer18-Jul-03 7:38 
Generaldate class problem Pin
Forever8214-Jul-03 21:55
Forever8214-Jul-03 21:55 
QuestionHOW TO MAKE A SIMPLE C SOLUTION Pin
eggie513-Jul-03 14:50
eggie513-Jul-03 14:50 
AnswerRe: HOW TO MAKE A SIMPLE C SOLUTION Pin
leppie14-Jul-03 7:22
leppie14-Jul-03 7:22 
GeneralRe: HOW TO MAKE A SIMPLE C SOLUTION Pin
eggie514-Jul-03 10:17
eggie514-Jul-03 10:17 
GeneralRe: HOW TO MAKE A SIMPLE C SOLUTION Pin
John M. Drescher15-Jul-03 5:02
John M. Drescher15-Jul-03 5:02 
GeneralManaged DLL with unmanaged MFC application Pin
stub11-Jul-03 5:17
stub11-Jul-03 5:17 
GeneralRe: Managed DLL with unmanaged MFC application Pin
Nathan Blomquist11-Jul-03 5:31
Nathan Blomquist11-Jul-03 5:31 
GeneralRe: Managed DLL with unmanaged MFC application Pin
Heath Stewart11-Jul-03 5:51
protectorHeath Stewart11-Jul-03 5:51 
GeneralRe: Managed DLL with unmanaged MFC application Pin
rahtrow11-Jul-03 8:31
rahtrow11-Jul-03 8:31 

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.