🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1768

C Set/2 2.00 Bug? (was Re: Loading Bitmaps using GpiLoadBitMap?)

#1768
From: ghenniga
Date: Fri, 06 Nov 1992 19:43
19 lines
1566 bytes
In an artical harris@catt.ncsu.edu (Michael Harris) writes:
>Try putting the actual width and height into the last two parameters.  You
>shouldn't have to do that but maybe there is a bug.  Also, be absolutely
>sure that you are loading the proper resource number.

	Either I don't understand what's happening (quite possible)
or I've found a bug in the C Set/2 compiler that came on the DAP CD
(version 2.0?). It seems that the problem with GpiLoadBitMap I was having
only occurs when using the "optlink linkage". If you invoke the compiler
with the /Ms flag (which disables optlink) GpiLoadBitMap works fine
otherwise it always returns 0. Maybe someone can verify this and if it is
a bug then I'll see about reporting it to IBM.

Gary Hennigan
---------
PhD Student, Computational Electromagnetics
New Mexico State University
email: ghenniga@NMSU.Edu
Technical Details
Message-ID: <GHENNIGA.92Nov6124359@ampere.ampere>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!netsys!agate!ames!elroy.jpl.nasa.gov!usc!wupost!gumby!destroyer!fmsrl7!lynx!nmsu.edu!opus!ghenniga
References: <GHENNIGA.92Nov1150830@ampere.ampere> <harris.720712123@garfield.catt.ncsu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!netsys!agate!ames!elroy.jpl.nasa.gov!usc!wupost!gumby!destroyer!fmsrl7!lynx!nmsu.edu!opus!ghenniga
From: ghenniga@NMSU.Edu
Subject: C Set/2 2.00 Bug? (was Re: Loading Bitmaps using GpiLoadBitMap?)
In-Reply-To: harris@garfield.catt.ncsu.edu's message of Mon, 2 Nov 1992 13:48:43 GMT
Message-ID: <GHENNIGA.92Nov6124359@ampere.ampere>
Sender: usenet@nmsu.edu
Reply-To: ghenniga@NMSU.Edu
Organization: New Mexico State University - Electromagnetics Group
References: <GHENNIGA.92Nov1150830@ampere.ampere> <harris.720712123@garfield.catt.ncsu.edu>
Date: Fri, 6 Nov 1992 19:43:59 GMT
Lines: 19