Hey,
In order to use LPSTR, what do I have to include?
I'm getting an undeclared identifier.
Thanks,
Printable View
Hey,
In order to use LPSTR, what do I have to include?
I'm getting an undeclared identifier.
Thanks,
probably <windows.h>
or you could do something like...
since a LPSTR is just a char* :DCode:#ifndef LPSTR
typedef char* LPSTR;
#endif
Or simply use char * and screw LPSTR :)
So it is the same thing.
So what is windows.h good for?
You can't program Windows API without it ;)Quote:
Originally posted by vbgladiator
So it is the same thing.
So what is windows.h good for?
windows.h? You don't need it. Go ahead, you can write every single protoype yourself and Windows won't notice.
However, your fingers will notice :)