Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

win32 assembly programming

Status
Not open for further replies.

asmnovice

Programmer
Jun 28, 2001
6
0
0
US
I am a newbie on win32 assembly programming. I am using old win32 assembly programms to learn. I got an error that I would like some explanion on:
The Error is "Syntax Error".
I got it on instructions like the following:
AbortDoc PROCDESC WINAPI :HDC
BitBlt PROCDESC WINAPI :HDC :DWORD :DWORD
PrintDlg PROCDESC WINAPI :LPRINTDLG
etc.
I know the error points to the word "PROCDESC" and I am aware that PROCDESC must be an obsolete instruction
Could someone put me on the right road to the correct instruction to use in place of PROCDESC?
Thanks for any help I can get.
 
Try using 'PROTO' instead of PROCDESC WINAPI.

And no PROCDESC prolly isn't an obsolete instruction, just an instruction prolly unique to a single assembler. What assembler system are you using, and what assembler is the source code intended for? 'PROTO' is for MASM. And to call a PROTO'ed function, use Invoke. "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top