Debug works, release not...

  • Thread starter Thread starter Christian Wallukat
  • Start date Start date
C

Christian Wallukat

Hi NG,


I have a problem with a component written in VC6.0 SP5.
The componnet shares Data over pointer: (PVOID)pData = (PVOID)some data...

The debug version works fine...

But I have compiled the release version, and now it does not work ...


I do the following:

AddSomeData: pData = pDataToADD;

where pData is from type PVOID and pDataToADD from type char* wich is casted
to (PVOID)


I return the pointer pData and cast it to (char*)....


As I told, the debug-version works ....


What can I do ?


Thanks for any remarks...


Kind regards


Christian
 
I have a problem with a component written in VC6.0 SP5.
The componnet shares Data over pointer: (PVOID)pData = (PVOID)some data...
The debug version works fine...
But I have compiled the release version, and now it does not work ...

Christian,

Have a look at "Common Problems Switching from Debug to Release Build"
in your VC++ help.

If those don't help you'll need to debug your release version to
locate the cause - see "Turn on Generation of Debug Information for
the Release Build" in your VC++ help.

Dave
 
Back
Top