RE: define_c_var for Win32??? - Rob
- Posted by Ray Smith <smithr at ix.net.au> Feb 12, 2001
- 380 views
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