Re: Eu 2.4, c funcs and ExoticaX

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

Thank you!
Hopefully I should be able to fix it now

>NULL is defined as 0 in dll.e, and it is *not*
>a valid argument type. I suspect what the author
>meant to say here was:
>
>WINVER = link_c_func2(edx, "WINDOWS_VERSION", {}, C_UINT)
>
>i.e. that the C function WINDOWS_VERSION takes no arguments
>and returns a C_UINT as a result.
>
>Later in the code, when he calls WINDOWS_VERSION,
>he probably passes it a dummy argument. You'll have to
>remove that dummy argument from each call to WINDOWS_VERSION.
>
>I guess the author just didn't realize that he should
>define a function of no arguments by using {} rather than 
{NULL}.
>Apparently this worked without crashing, so he didn't
>have to correct it in 2.3.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu