|
-
Nov 10th, 2003, 11:52 AM
#1
Thread Starter
Frenzied Member
Lpstr
Hey,
In order to use LPSTR, what do I have to include?
I'm getting an undeclared identifier.
Thanks,
Don't anthropomorphize computers -- they hate it
-
Nov 10th, 2003, 02:31 PM
#2
probably <windows.h>
or you could do something like...
Code:
#ifndef LPSTR
typedef char* LPSTR;
#endif
since a LPSTR is just a char*
Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.
-
Nov 12th, 2003, 03:43 AM
#3
Or simply use char * and screw LPSTR
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 12th, 2003, 11:00 AM
#4
Thread Starter
Frenzied Member
So it is the same thing.
So what is windows.h good for?
Don't anthropomorphize computers -- they hate it
-
Nov 12th, 2003, 11:26 AM
#5
Frenzied Member
Originally posted by vbgladiator
So it is the same thing.
So what is windows.h good for?
You can't program Windows API without it
-
Nov 12th, 2003, 04:46 PM
#6
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
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|