|
Oh yes.. Sorry..
Thank you
|
|
|
|
|
Well, your crash is gone? Please don't hesitate to ask for further help, if it's not solved yet.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
Hi Jio,
I had still Crash in the release build @ below statement. Please help me
38: // Perform specific initializations
39: if (!pThread->InitInstance())
5F433518 mov ecx,dword ptr [pThread]
5F43351B mov edx,dword ptr [ecx] 5F43351D mov </b> //CRASH
ecx,dword ptr [pThread]
5F433520 call dword ptr [edx+58h]
5F433523 test eax,eax
5F433525 jne AfxWinMain+0C3h (5f433563)
40: {
41: if (pThread->m_pMainWnd != NULL)
5F433527 mov eax,dword ptr [pThread]
5F43352A cmp dword ptr [eax+20h],0
5F43352E je AfxWinMain+0B3h (5f433553)
42: {
43: TRACE0("Warning: Destroying non-NULL m_pMainWnd\n");
5F433530 push offset string "Warning: Destroying non-NULL m_p"... (5f4af280)
modified on Monday, September 8, 2008 7:04 AM
|
|
|
|
|
Hi all,
I have use Datetimepicker, i want to know how can i compare two dates.
How can check 1st date is greater of less than 2nd date and Vice versa.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
The CDateTimeCtrl::GetTime() method returns a COleDateTime object, and COleDateTime() class has the relational operators overloaded[^], which means you can use the relational operators to determine if a given date is greater than the other.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
I dont understand please explain with example.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
I am not sure if you are using CDateTimeCtrl or CMonthCalCtrl. I'll assume that you are using CMonthCalCtrl:
COleDateTime cdt1, cdt2;
m_cal1.GetCurSel(cdt1);
m_cal2.GetCurSel(cdt2);
if(cdt1 > cdt2)
;
else if(cdt1 == cdt2)
;
else
;
Similarly, if you are using CDateTimeCtrl, you can use the GetTime() member function.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
It help me thanks.
I m using CDateTimeCtrl ,now i want to check 2nd date shall be greater than 10 years 1st date .
how can i do this.
please tell me .
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
"_$h@nky_" wrote: how can i do this.
Get the year, add 10 to it, compare.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
You can also use difftime() .
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hi all,
Please help me..
I want that event When popup Block Information bar will be appeared in Internet Explorer browser, actually I want to do some operation in my Toolbar plugin at that event.
Do I get any Dispatch ID after occuring this event or some thing else
So please let me know some solution to over come this problem.
Thanks You in advance.
|
|
|
|
|
Hi All,
while i am try to close the Application, at that time i am getting an error message. The Error message is displayed in popup Message Box.
"Windows has triggered a breakpoint in PlantView.exe.
This may be due to a corruption of the heap, which indicates a bug in PlantView.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while PlantView.exe has focus.
The output window may have more diagnostic information."
I am dubegging my application in Visula studio 2008.
Please any one can help me...
|
|
|
|
|
Bernaad wrote: This may also be due to the user pressing F12 while PlantView.exe has focus
Why is a crash an expected/allowed behaviour if the user presses F12?
I would track down what happens when the user presses F12.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Hi Roger,
What i need to do to avoid that error message.
could you explain me in detail why the error occurs while closing the application.
|
|
|
|
|
Bernaad wrote: What i need to do to avoid that error message.
Simple: fix the error!
The message box with the error message is, to my knowledge, something unique to your application. There's no way for anybody else to explain to you why the error occurs.
To me it's clear that the application comes equipped with a bug that some developer could not solve that happens e.g. when the user presses F12. The developer also "explained" it to be quite normal behaviour since he/she put it in the error message text.
It could be a way to end/terminate the application by pressing F12, but in that case there should not be an error message popping up, so I assume this is a bug.
You have to debug your application.
A good starting point would be a message handler called when the user presses F12 and work your way down. Find out what happened that made this message box pop up by asking the user what he/she did and particularly whether F12 was pressed or not.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Hi,
Thanks, i found out wht that error occurs.
The Problem is due to the buffer size which i declared to store the path.
Thanks for your solution.
|
|
|
|
|
Hello there - I need to know that how can i get WM = Window message when user drag and drop a file on msn chat window(ideally any messenger window).
I have hooked WM_DROPFILES message system wide by using SetWindowsHookEx() function. It works fine for all other application like notepad, MS word. But not working with messengers.
Hopelessly waiting for any response.
Thanks in advance.
Sohaib
|
|
|
|
|
Hi
I am developing a module of software in which I have to find out the source and destination paths of files and folders when they are being copied from one location to another.
|
|
|
|
|
MsmVc wrote: I am developing a module of software in which I have to find out the source and destination paths of files and folders when they are being copied from one location to another.
ICopyHook COM interface is one option, but not sure if it catches file copying using dos commands.
Nibu babu thomas
Microsoft MVP for VC++
Code must be written to be read, not by the compiler, but by another human being.
Programming Blog: http://nibuthomas.wordpress.com
|
|
|
|
|
Thx's for reply but i am useing MFC Application and idon't know Com.So plz help me in MFC
|
|
|
|
|
|
i don't want to use COM becouse i am useing MFC.And i hope it will create more problem step by step.So i think MFC is a better way to go for this project...
Plz help me
|
|
|
|
|
To answer your query, with MFC alone, you cannot do something like that. And ICopyHook as such does not work with files, but only with folders. So you'd better off be doing a little more research on it.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Can you tell me what you want to say?Which type and which direction i do research..
|
|
|
|
|