Thread View: comp.os.os2.programmer
1 messages
1 total messages
Started by Jim Howe
Wed, 22 May 1991 19:27
Resource Question
Author: Jim Howe
Date: Wed, 22 May 1991 19:27
Date: Wed, 22 May 1991 19:27
15 lines
1294 bytes
1294 bytes
I have found a situation where I would like to make use of a user defined resource. I would like to be able to store a string of binary data as a resource and have my application be able to retrieve it from a DLL. I have no problem getting the data into the DLL as a user defined resource but I have a question about getting it out. The major problem I have is that the length of the resource can vary. I don't want to hard wire any values into my application. If I use the DosGetResource2 function to retrieve the resource I get a pointer to the resource data. Is there a way for me to determine the size of the resource? James W. Howe internet: jwh@citi.umich.edu University of Michigan uucp: uunet!mailrus!citi.umich.edu!jwh Ann Arbor, MI 48103-4943
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