1. Getting structs from DLLs

Could someone give me an example of taking a returned C struct from a 
dll function?

Later,
Jeremy Peterson
Life is real, games are for fun.

new topic     » topic index » view message » categorize

2. Re: Getting structs from DLLs

On Tue, 22 Nov 2005 11:58:34 -0800, "Jeremy Peterson"
> Could someone give me an example of taking a returned C struct from a 
> dll function?
I can't think of an example that does that. Many routines pass a struct
they have allocated to a c_func and then peek results from that, eg
getWindowRect. Others deliberately call the c_func with a zero-length
buffer to find out how big it is, then allocate that space, call the
func to fill it, peek stuff, and deallocate the buffer (eg
getDriveStrings)

Pete
-- 
  
  petelomax at fastmail.fm

-- 
http://www.fastmail.fm - Access your email from home and the web

new topic     » goto parent     » topic index » view message » categorize

3. Re: Getting structs from DLLs

Jeremy Peterson wrote:
> 
> Could someone give me an example of taking a returned C struct from a 
> dll function?
> 
> Later,
> Jeremy Peterson
> Life is real, games are for fun.


Could you give an example of the function to which you are referring?

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu