|
Nah, I was just joking. (Perhaps you didn't note the joke icon in my post)
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
And fourth point, this is the wrong forum: this is a C++ forum, not a VB forum
|
|
|
|
|
Wrong forum C++ or VB
|
|
|
|
|
There's a VB forum?
|
|
|
|
|
while complining i keep getting this error :-
"unexpected end of file while looking for precompiled header directive
Generating Code..."
could someone suggest what to do to rectify..
thanks ..
vikram
|
|
|
|
|
Add #include "StdAfx.h" to the file before all other includes.
Steve
|
|
|
|
|
|
|
Why i am geeting an error
"error C2146: syntax error : missing ';' before identifier 'xd_len'"
when including the header x25.h
|
|
|
|
|
maybe its because the definition of xd_len's type is not available...you may need to include some other headers....
|
|
|
|
|
Thanks
can you mention the headers plz
|
|
|
|
|
show the code where it crashes...
also, where does x25.h come from ?
|
|
|
|
|
Its minumum information for an error.
|
|
|
|
|
Hi,
I am starting a dialog based application from system's account.
The application is alive after my first logoff.
But when i try to logoff the user for the second time, the machine is not logging off..I could be able to logoff only after closing my application.
Why it happens..How can i log off the user for the second time without closing my application.
Thanks .
~ Selva
|
|
|
|
|
Dialog based application in system account?? Got my 1.
Never display or use windows in a desktop you can't control. At least so I understood the notions of HWINSTA and HDESK.
Nuclear launch detected
|
|
|
|
|
Hi,
What message will be sent to a running dialog based application when the user logs off the machine?
any help is appreciated.
Thanks.
~ Selva
|
|
|
|
|
|
Thanks 4 the reply steve.
But the dialog based application doesnt have WM_QUERYENDSESSION. I think SDI/MDI app has it.
Please correct me if i m wrong.
Thanks.
~ Selva
|
|
|
|
|
I use MSVC 6. In the ClassWizard select the "Class Info" tab and change the "Message filter" from "Dialog" to "Window". Then switch back to the "Message Maps" tab and add a handler for the WM_QUERYENDSESSION message. The following will be added to your message map: ON_WM_QUERYENDSESSION() . I have verifed that it works. The steps may be slightly different in later versions of MSVC.
Steve
|
|
|
|
|
Ya I got it. Thanks steve.
~ Selva
|
|
|
|
|
I want to get the following system information on a MessageBox in my VC++ (.exe) project.
1) Hard Disk : Serial No. and Manufacturer Name.
2) Motherboard : Serial No. and Manufacturer Name.
bijumon mathew
kattappana
|
|
|
|
|
|
bijumon Mathew wrote: 1) Hard Disk : Serial No. and Manufacturer Name.
Try here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi,
i have two view CMyViewOne,CMyViewTwo both derived from CBaseView and CBaseView is derived from CView.I have a function named "OnComplete" in CMyViewOne,in this function i want to send a Message to CMyViewTwo,by using SendMessage function.How to do it..? Like i want to establish a communication between both the views..
Thanks in before.
James
|
|
|
|
|
In document-view architectures views don't directly communicate; all communication occurs via the document. If view 1 needs to “talk” to view 2 then view 1 should update the document and the document will notify all applicable views, in this case view 2.
Steve
|
|
|
|