define_c_func .e file... Question

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

I also have a confusing one... having to put those stupid define_c_func,
and not knowing what to put in and expect. So, I planned on having an .e
file, with object definitions to take care of it. basically, like this:

(global?) object BeginPaint
BeginPaint = define_c_func(user32, "BeginPaint", {C_INT, C_POINTER},
C_INT)

^
and in the program, it would probably look like:     |

user32 = open_dll("user32.dll")                              |
BeginPaint = BeginPaint - - - - - - - - - - - - - - - - - -

Would this be correct? (doesn't to me. would I have to label it
something else in the .e file?)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu