|
Hi all,
In a program, I have a linked list of Dialogs. Upon some actions of the user, I select one and present it (using DoModal). All of a sudden, the system now crashes in the production compilation (the debug compilation of course has got no problem whatsoever, sigh....). I have built in some lines to a tracefile, and so far, this works fine all the way to the end of the "OnInitDialog" routine. After that, Windows asks me to send a message to mr. Gates.
Has anyone got an idea of how to trace this further down the events? I am of course doing something wrong which will appear to be highly trivial, but how do I get there (especially since the debug version of my program works fine...)
Thanks in advance for any suggestions.
William
|
|
|
|
|
Hi all,
In a program, I have a linked list of Dialogs. Upon some actions of the user, I select one and present it (using DoModal). All of a sudden, the system now crashes in production compilation (the debug compilation of course has got no problem whatsoever). I have built in some lines to a tracefile, and so far, this works fine all the way to the end of the "OnInitDialog" routine. After that, Windows asks me to send a message to mr. Gates.
Has anyone got an idea of how to trace this further down the events? I am of course doing something trivial wrong, but how do I get there (especially since the debug version of my program works fine...)
Thanks in advance for any suggestions.
William
|
|
|
|
|
Can you show code in OnInitDialog() ? Probably, you are using something, yet to initialize.
|
|
|
|
|
Prasad,
Thanks for the suggestion. I have already tried to comment-out every statement in the OnInitDialog (Except of course for the CDialog::OnInitDialog and the return statement): no change in the program's behaviour.
William
|
|
|
|
|
If possible, debug in release mode. May this link[^]is helpful to you.
|
|
|
|
|
I have added a library which i got from codeproject. when i am compiling my code its showin errors in the atlbase.h.
How can i solve my problem?
Thank you.
KIRAN PINJARLA
|
|
|
|
|
Whats d error ? can u send me
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
error C2039: 'RegisterClassImplCategories' : is not a member of '_NoAddRefReleaseOnCComPtr<struct ICatRegister>'
like these there are ten erros.
KIRAN PINJARLA
|
|
|
|
|
#include the header file of that file which u include in ur project ...in .cpp file ..may be this will help u
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
Are you sure RegisterClassImplCategories is member of NoAddRefReleaseOnCComPtr?
|
|
|
|
|
Hmm. Maybe it would help if you said
(a) Which project you're trying to build (since you say it's from CP)
(b) Which version of VC++ you have.
Bear in mind that ATL3.0 (VC6) and ATL8.0 (VS2005) are different animals, with different implementations. It's possible that the project makes use of ATL8 specific macros or such.
Steve S
Developer for hire
|
|
|
|
|
Hi!
how do i change color of a ListCtrl.
i want change color of "title" and "border" of list control, no BK color of List.
please help me
Zo.Naderi-Iran
|
|
|
|
|
Read This[^] article. The author has done exactly the same.
What the human eye observes causally and incuriously, the eye of the camera notes with relentless fidelity. - Berenice Abbott
|
|
|
|
|
Did you see List Controls on codeproject?
|
|
|
|
|
hi,
I have retrieved data from a edit Control box, now i need to send the data to the socket. how do i send the data?
Thank you,
yj
|
|
|
|
|
yijia_24 wrote: need to send the data to the socket
CAsyncSocket::Send() Sends data to a connected socket.
CAsyncSocket::SendTo() Sends data to a specific destination.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
You can see an example on codeproject I think it was not sure(Transfer files with socket)
|
|
|
|
|
Is there any function to get the current version number of the application(.exe)...?
thanks in before
James
|
|
|
|
|
|
Do you need to GetFileVersionInfo ?
|
|
|
|
|
i want the current version number in about dailog of the application..in another dailog....how to get the version number...from resource...?
thanks in before
james
|
|
|
|
|
did you have a look at the link i gave you ?
it does recover perfectly the resource version table, and in the OnInitDialog() of your AboutDlg you set it to be displayed...
|
|
|
|
|
kindly help me in my project
#sanroop#
|
|
|
|
|
View This Site /[^]
may be it will help u out
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
this is not a question. if you need help about aspecific point, explain it. otherwise, read the documentation/article provided with the lib...
|
|
|
|