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

C / C++ / MFC

 
GeneralRe: covert time_t ot LONG Pin
sach!!2-Aug-06 20:35
sach!!2-Aug-06 20:35 
GeneralRe: covert time_t ot LONG Pin
toxcct2-Aug-06 20:41
toxcct2-Aug-06 20:41 
GeneralRe: covert time_t ot LONG Pin
sach!!2-Aug-06 20:44
sach!!2-Aug-06 20:44 
GeneralRe: covert time_t ot LONG Pin
ThatsAlok2-Aug-06 22:03
ThatsAlok2-Aug-06 22:03 
AnswerRe: covert time_t ot LONG Pin
ThatsAlok2-Aug-06 21:29
ThatsAlok2-Aug-06 21:29 
GeneralRe: covert time_t ot LONG Pin
sach!!2-Aug-06 21:32
sach!!2-Aug-06 21:32 
AnswerRe: covert time_t ot LONG Pin
sach!!2-Aug-06 21:41
sach!!2-Aug-06 21:41 
QuestionPassing an array to statically linked lib Pin
kozu2-Aug-06 19:31
kozu2-Aug-06 19:31 
Hi,
I need to pass an array from a DLL to a static lib function in order to be filled (the DLL links against the static lib). Neither lib supports MFC.
Something like:

int* intArray=new int(3);
CallStaticAPI(intArray);//the API will just put 3 ints in the array
//do some processing with the array
delete intArray;

When I try to delete the array, the program crashes. I looked in dbgheap.c and the message I get is :"If this ASSERT fails, a bad pointer has been passed in. It may be totally bogus, or it may have been allocated from another heap. The pointer MUST come from the 'local' heap".

The pointer is definitelly good because I can read from it.
Any suggestions?
thanx
AnswerRe: Passing an array to statically linked lib Pin
PJ Arends2-Aug-06 19:48
professionalPJ Arends2-Aug-06 19:48 
GeneralRe: Passing an array to statically linked lib Pin
kozu2-Aug-06 20:00
kozu2-Aug-06 20:00 
QuestionwinCE DrawText API wrap text on hyphen Pin
anilksingh2-Aug-06 19:27
anilksingh2-Aug-06 19:27 
AnswerRe: winCE DrawText API wrap text on hyphen Pin
Naveen2-Aug-06 19:40
Naveen2-Aug-06 19:40 
GeneralRe: winCE DrawText API wrap text on hyphen Pin
anilksingh2-Aug-06 20:52
anilksingh2-Aug-06 20:52 
QuestionProblem in LButton Click and LButtonDoubleClick. Pin
uday kiran janaswamy2-Aug-06 19:12
uday kiran janaswamy2-Aug-06 19:12 
QuestionRe: Problem in LButton Click and LButtonDoubleClick. Pin
Hamid_RT2-Aug-06 19:31
Hamid_RT2-Aug-06 19:31 
AnswerRe: Problem in LButton Click and LButtonDoubleClick. Pin
uday kiran janaswamy2-Aug-06 19:46
uday kiran janaswamy2-Aug-06 19:46 
AnswerRe: Problem in LButton Click and LButtonDoubleClick. Pin
Naveen2-Aug-06 19:47
Naveen2-Aug-06 19:47 
GeneralRe: Problem in LButton Click and LButtonDoubleClick. Pin
uday kiran janaswamy2-Aug-06 19:48
uday kiran janaswamy2-Aug-06 19:48 
GeneralRe: Problem in LButton Click and LButtonDoubleClick. Pin
Naveen2-Aug-06 20:05
Naveen2-Aug-06 20:05 
GeneralRe: Problem in LButton Click and LButtonDoubleClick. Pin
uday kiran janaswamy2-Aug-06 20:42
uday kiran janaswamy2-Aug-06 20:42 
Questionerror message file(.mc) in event logging Pin
shekhawat2-Aug-06 18:58
shekhawat2-Aug-06 18:58 
QuestionEdit controls Pin
SandhyaSri2-Aug-06 18:31
SandhyaSri2-Aug-06 18:31 
AnswerRe: Edit controls Pin
Naveen2-Aug-06 18:35
Naveen2-Aug-06 18:35 
AnswerRe: Edit controls Pin
PJ Arends2-Aug-06 19:59
professionalPJ Arends2-Aug-06 19:59 
AnswerRe: Edit controls Pin
ThatsAlok2-Aug-06 21:30
ThatsAlok2-Aug-06 21:30 

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.