home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6265 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.5 KB  |  33 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: 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
  3. From: ghenniga@NMSU.Edu
  4. Subject: C Set/2 2.00 Bug? (was Re: Loading Bitmaps using GpiLoadBitMap?)
  5. In-Reply-To: harris@garfield.catt.ncsu.edu's message of Mon, 2 Nov 1992 13:48:43 GMT
  6. Message-ID: <GHENNIGA.92Nov6124359@ampere.ampere>
  7. Sender: usenet@nmsu.edu
  8. Reply-To: ghenniga@NMSU.Edu
  9. Organization: New Mexico State University - Electromagnetics Group
  10. References: <GHENNIGA.92Nov1150830@ampere.ampere> <harris.720712123@garfield.catt.ncsu.edu>
  11. Date: Fri, 6 Nov 1992 19:43:59 GMT
  12. Lines: 19
  13.  
  14.  
  15. In an artical harris@catt.ncsu.edu (Michael Harris) writes:
  16. >Try putting the actual width and height into the last two parameters.  You
  17. >shouldn't have to do that but maybe there is a bug.  Also, be absolutely
  18. >sure that you are loading the proper resource number.
  19.  
  20.     Either I don't understand what's happening (quite possible)
  21. or I've found a bug in the C Set/2 compiler that came on the DAP CD
  22. (version 2.0?). It seems that the problem with GpiLoadBitMap I was having
  23. only occurs when using the "optlink linkage". If you invoke the compiler
  24. with the /Ms flag (which disables optlink) GpiLoadBitMap works fine
  25. otherwise it always returns 0. Maybe someone can verify this and if it is
  26. a bug then I'll see about reporting it to IBM.
  27.  
  28. Gary Hennigan
  29. ---------
  30. PhD Student, Computational Electromagnetics
  31. New Mexico State University
  32. email: ghenniga@NMSU.Edu
  33.