Article View: gnu.gcc.help
Article #49799GCC for OS/2, help!
From: Pineles Aviad
Date: Thu, 09 Dec 1993 19:05
Date: Thu, 09 Dec 1993 19:05
27 lines
1009 bytes
1009 bytes
I am using gcc for os/2, but i can't seem to open a window.
test.cpp::
#define INCL_WIN
#include <os2.h>
int main() {
HAB hab;
HMQ hmq;
hab=WinInitialize(0);
hmq=WinCreateMsgQueue(hab,0);
return 0;
}
::
The value returned from WinCreateMsgQueue is always 0!
I compile this program like this:
gcc test.cpp
and that's all..
Why doesn't it work?
A.P.
s3199686@t2.technion.ac.il
Technical Details
Message-ID:
<CHs7oG.L7p@discus.technion.ac.il>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!emory!europa.eng.gtefsd.com!uunet!olivea!news.bu.edu!wang!newsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,631da01387dd04a,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-12-11 08:40:15 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!emory!europa.eng.gtefsd.com!uunet!olivea!news.bu.edu!wang!news From: s3199686@techst02.technion.ac.il (Pineles Aviad ) Subject: GCC for OS/2, help! Organization: Technion, Israel Institue of Technology, Haifa Date: Thu, 9 Dec 1993 19:05:04 GMT Message-ID: <CHs7oG.L7p@discus.technion.ac.il> Sender: news@wang.com Lines: 28