9 Mar
2000
9 Mar
'00
11:15 a.m.
I tried converting this win32 hello.c program to pascal without success... #include <windows.h> int STDCALL WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) { MessageBox (NULL, "Hello, Windows!", "Hello", MB_OK); return 0; } I was getting undefined references to messagebox at the linking stage. To compile I did... gpc -mno_cygwin -mwindows whello.pas -o whello.exe Thanks, Mark. -- Mark Taylor, Department of Corporate Information & Computing Services, Extension 21145. (0114) 222 1145 http://www.shef.ac.uk/misc/personal/ad1mt The opinions expressed in this email are mine and not those of the University of Sheffield.
9675
Age (days ago)
9675
Last active (days ago)
4 comments
3 participants
participants (3)
-
Dr A Olowofoyeku -
Mark Taylor -
Peter Gerwinski