Thread View: rec.games.programmer
2 messages
2 total messages
Started by Steven W. Macbeth
Mon, 13 Apr 1992 19:44
Re: Getimage() question?
Author: Steven W. Macbeth
Date: Mon, 13 Apr 1992 19:44
Date: Mon, 13 Apr 1992 19:44
13 lines
799 bytes
799 bytes
I was having problems using getimage() in borland C++. It can not get images that are greater than 64K-1. When you use imagesize to determine the size it will return -1 when there is not enough heap, and 0 when the image is greater that 64K-1. -- Steven W. Macbeth Macbeth Development Corp. Vancouver NeXT User Group Executive SMacbeth@mindlink.bc.ca (Internet) 72520,3055 (Compuserve) (604) 299-2186 (Phone)
Re: Getimage() question?
Author: --SeebS--
Date: Tue, 14 Apr 1992 09:22
Date: Tue, 14 Apr 1992 09:22
19 lines
1120 bytes
1120 bytes
In article <11408@mindlink.bc.ca> SMacbeth@mindlink.bc.ca (Steven W. Macbeth) writes: >I was having problems using getimage() in borland C++. It can not get images >that are greater than 64K-1. When you use imagesize to determine the size it >will return -1 when there is not enough heap, and 0 when the image is greater >that 64K-1. That's completely fair. ANSI won't let you assume that you can allocate more than 64k at once. -s >Steven W. Macbeth -s -- Peter Seebach, using my fiancee's acount. (Please use "SEEBS" in the subject line, so we know who it's for.) Polygamy: "There can be more than one." I use an amiga because it works better than all the other machines I tried. har@ux.acs.umn.edu (Love Incarnate)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads