RE: QWORD (int64) question

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

> From: Elliott Sales de Andrade [mailto:quantum_analyst at hotmail.com]

> Thanks, it looks great. I'd like to know a few other things 
> first though. 
> First off, to get the first param for that function, I'm using 
> GetProcAddress(). I'm using the value returned from 
> open_dll(). I'm not sure 
> if that is right, so I'd like to know. 

Using GetProcAddress() is the correct method, although it's actually pretty
easy to get a pointer to a dll function without explicitly calling
GetProcAddress().  Just use define_c_variable() instead of define_c_func().


> Second, I have a few 
> functions that 
> need to pass floats. So, how would I do this exactly? Just 
> atom_to_float32() 
> and then bytes_to_int() ?  TIA

Yep.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu