RE: define_c_var for Win32??? - Rob

new topic     » goto parent     » topic index » view thread      » older message » newer message

mabrown at SENET.COM.AU wrote:
> "define_c_var"? Is there a "define_c_var" that I missed? 
> 
> Is your need for this to avoid all the peeking / poking, type conversion
> stuff when calling dll functions? If it is then I would also like this.

No sorry Mark,

This is used to get the address of an exported variable in a DLL.

For instance Allegro has dozens of exported variables for things like
screen / font structure address.  What I did was write my own DLL
and created simple functions which returned these static variables.
I could have (if I had known) just used define_c_var!

The Euphoria doco says define_c_var ss Linux only so I never looked 
further.

Ray Smith
http;//www.geocities.com/ray_223

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu