From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6844e52c100fb549 X-Google-Attributes: gid103376,public From: pontius@btv.ibm.com (Dale Pontius) Subject: Re: How to create OS/2 PM applications? (Leonid Dulman) Date: 1996/07/29 Message-ID: <4tibfl$tda@mdnews.btv.ibm.com>#1/1 X-Deja-AN: 170827962 references: <4tcqla$293k@news-s01.ny.us.ibm.net> organization: IBM Microelectronics Division newsgroups: comp.lang.ada Date: 1996-07-29T00:00:00+00:00 List-Id: In article <4tcqla$293k@news-s01.ny.us.ibm.net>, dulman@ibm.net writes: > I had no any problems with Os/2 PM applications in GNAT 2.0 >After RC .res .exe I got program to PM. >But in GNAT 3.x I can't create this file and by RC (SYS3175 A program >generated an access violation at 1bd32dfa PMMERGE.DLL) >and by commands (adae.cmd): >@echo Creation Pm exe file >call gnatbl -o %1.exe %1.ali >call emxbind -bp -d%1.def -r%1.res d:\gnat30\bin\emxl.exe %1.exe >emxbind:The input and output files have the same name >after command >call emxbind -bp -d%1.def -r%1.res d:\gnat30\bin\emxl.exe %1.exe new.exe >emxbind: invalid a.out file (header) >How to create OS/2 PM application ? I used PM bindings from the contrib section of the gnat libraries to compile a few sample programs. I only did straight 'gcc', 'gnatbl' and didn't fiddle with resources or anything. I had to fiddle with some source in the demo that worked with 2.04, but not with 3.01, but once I did that every- thing worked just fine. Back when fiddling with 2.04 I tried some of the examples with resources and didn't get them to work. I haven't had time to fiddle further. If I can I'll let you know. Dale Pontius (NOT speaking for IBM)