|
Wow!! So nice to get a reply from you after a looonnggggg time
Code-Frog:So if this is Pumpkinhead. Time for him to run and hide. It's an interesting thought really.
|
|
|
|
|
VuNic wrote: Wow!! So nice to get a reply from you after a looonnggggg time
Check winuser.h
|
|
|
|
|
To get the OS version, I used the sample code from http://msdn2.microsoft.com/en-gb/library/ms724429.aspx
I am getting
Error C2039: 'wProductType' : is not a member of '_OSVERSIONINFOEXA' on compile.
Error C2065: 'VER_NT_WORKSTATION' : undeclared identifier
I saw that wProductType not a member of OSVERSIONINFOEX. & VER_NT_WORKSTATION not define in winbase.h
The PSDK version i am using is 5.2.3790.1830
How to solve this issue. I want the code should work in Vista also
|
|
|
|
|
Which IDE you are using ? There should not be problem with VS2K5 .
|
|
|
|
|
|
You need to change include directories path to point to inlcudes in latest platform SDK.
Use Tools-->Options-->Directoies .
|
|
|
|
|
Thanks Prasad, It worked when i pointed to new PSDK
|
|
|
|
|
|
hi,
I'm trying to create a Form from a dialog box template whithout Document/View Architecture. Can any one help me?
Thanks.
|
|
|
|
|
Can you be more clear , about what you want to achieve?
|
|
|
|
|
Actually I'm trying to design a resizable form from a dialog box resource. I don't want to use document view architechture. How can I create a CFormView object that uses the dialog box I designed in the resource editor.
|
|
|
|
|
Humayun Kabir Himu wrote: How can I create a CFormView object that uses the dialog box I designed in the resource editor.
Why you want CFormView ? You can use CDialog instead.
|
|
|
|
|
Humayun Kabir Himu wrote: ...a dialog box template whithout Document/View Architecture.
This is the default behavior for dialog-based applications. Now if you have an SDI or MDI application, see here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I just need it
|
|
|
|
|
hi ,
this is ramya. In ntgraph, i can set the x coordinate label value to date thru properties page. but, i can't locate a method to change or to input any of my date value to the control.
CAN ANY ONE OF U HELP ME?.
THANK YOU.
ramya murugesh
-- modified at 2:10 Tuesday 9th January, 2007
|
|
|
|
|
Do you want to set values for controls?
|
|
|
|
|
i want to set the coordinate values in x-axis.
|
|
|
|
|
ramya_murugesh wrote: i want to set the coordinate values in x-axis.
is it come with Microsoft Visual Studio or some other Vendor
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
hi i want to develop an application in vc++ using which i can complete system hardware information.can anyone help me?i got one way to use wmi(windows management instrumentation) but i don't know how to apply it efficiently.so can anyone provide me some coding guidance?
Thanking you.
|
|
|
|
|
Try GetSystemMetrics() , SystemParametersInfo() and look at the System Information Functions[^] in msdn.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
|
i have a little idea that it is a Long pointer to a wide string ( string consisting of unicode char's)
my doubt is about long pointer. why and where it is used. would like to know more about long pointers
thanks in advance.
|
|
|
|
|
Back in the DOS/Win16 era, there were near pointers and far pointers, the difference being that a near pointer could only point within the same 64K segment. Far pointers were denoted by the Hungarian prefix LP (not sure how the term "long" came into use, but that's the prefix). In Win32/64, there is just one type of pointer, and the prefixes P and LP are used. APIs and types that were carried over from Win16 tend to use LP for backcompat.
|
|
|
|
|
Michael Dunn wrote: (not sure how the term "long" came into use, but that's the prefix).
Since it's not a normal pointer but a far one hence long. int was two bytes and long was four bytes. Maybe that's the reason.
|
|
|
|
|
Nibu babu thomas wrote: Since it's not a normal pointer but a far one hence long
Its normal pointer(In fact there is no concept of normal pointer, pointer is pointer , thats all. It was there on 16 bit OS as 'near', 'far' and normal pointer). As Michael pointed out, difference was with win16 . And its there for backword compatibility.
Nibu babu thomas wrote: int was two bytes and long was four bytes.
int is 4 bytes as well, isn't it ?
|
|
|
|