Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to simulate DoEvents() in Visual C++? Pin
WithPointer13-Apr-06 22:48
WithPointer13-Apr-06 22:48 
AnswerRe: How to simulate DoEvents() in Visual C++? Pin
nguyenvhn13-Apr-06 23:26
nguyenvhn13-Apr-06 23:26 
GeneralRe: How to simulate DoEvents() in Visual C++? Pin
WithPointer13-Apr-06 23:35
WithPointer13-Apr-06 23:35 
AnswerRe: How to simulate DoEvents() in Visual C++? Pin
Branislav13-Apr-06 23:38
Branislav13-Apr-06 23:38 
QuestionCannot throw my own exception from dll (not exactly true, but please read) Pin
toxcct13-Apr-06 22:39
toxcct13-Apr-06 22:39 
AnswerRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
Cedric Moonen14-Apr-06 4:17
Cedric Moonen14-Apr-06 4:17 
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
toxcct14-Apr-06 4:25
toxcct14-Apr-06 4:25 
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
Cedric Moonen14-Apr-06 4:35
Cedric Moonen14-Apr-06 4:35 
v2.0 wrote:
hum, so you suggest me to have a Destroy() function in each my classes exported by the DLL ?


No, sorry, you misunderstood what I was saying (I took that just as an example).

I'm still thinking hard about what's happening here. One thing is almost sure: the string allocates memory dynamically for its own purpose. Now, as it is a template, I think (but at this point, my brain give me headache Poke tongue | ;-P ) that the memory will be freed by your application when destructor is called. But at this point, I'm not sure. But if this is the case, this is what is causing the crash.

Can you tell me at which point the program breaks (I know it will be in a specific file). So give me the file and the line number. I have VC2005 installed so chances are that the files will be different. Can you post some code around the crashing point ?
That will help me to check if I'm right or not.

Otherwise I'm thinking of a solution but I don't find one right now. I'll keep searching Wink | ;)
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
toxcct14-Apr-06 4:35
toxcct14-Apr-06 4:35 
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
Cedric Moonen14-Apr-06 4:38
Cedric Moonen14-Apr-06 4:38 
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
toxcct14-Apr-06 4:46
toxcct14-Apr-06 4:46 
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
Cedric Moonen14-Apr-06 4:52
Cedric Moonen14-Apr-06 4:52 
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
toxcct15-Apr-06 1:14
toxcct15-Apr-06 1:14 
Generalat last, solvedn thanks to you ! Pin
toxcct15-Apr-06 8:33
toxcct15-Apr-06 8:33 
GeneralRe: at last, solvedn thanks to you ! Pin
Cedric Moonen16-Apr-06 1:45
Cedric Moonen16-Apr-06 1:45 
AnswerRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
Cedric Moonen14-Apr-06 4:43
Cedric Moonen14-Apr-06 4:43 
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
toxcct14-Apr-06 4:45
toxcct14-Apr-06 4:45 
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
Cedric Moonen14-Apr-06 4:49
Cedric Moonen14-Apr-06 4:49 
GeneralRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
Cedric Moonen14-Apr-06 4:54
Cedric Moonen14-Apr-06 4:54 
AnswerRe: Cannot throw my own exception from dll (not exactly true, but please read) Pin
Stephen Hewitt14-Apr-06 21:28
Stephen Hewitt14-Apr-06 21:28 
QuestionWhy VC++? Pin
HakunaMatada13-Apr-06 22:36
HakunaMatada13-Apr-06 22:36 
AnswerRe: Why VC++? Pin
toxcct13-Apr-06 22:42
toxcct13-Apr-06 22:42 
GeneralRe: Why VC++? Pin
HakunaMatada13-Apr-06 23:10
HakunaMatada13-Apr-06 23:10 
AnswerRe: Why VC++? Pin
David Crow14-Apr-06 2:50
David Crow14-Apr-06 2:50 
Questioninclude files Pin
uriblum13-Apr-06 22:35
uriblum13-Apr-06 22:35 

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.