Re: Where is my DLL?

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

Matt Lewis wrote:

> Juergen Luethje wrote:

<snip>

>> Could one of our experts please tell me whether this can be considered
>> safe?
>
> That should work, since you're guaranteed to have a valid 31-bit integer.

Fine.

> You could alternatively do this (which is what make_atom does):
>
> if( (unsigned)hDLL > (unsigned)0x7fffffff)
>   {  _9DLL_Instance = NewDouble( (double)(unsigned long) hDLL ); Ref(hDLL);}

I was not sure how to exactly use make_atom in this context. Now I see.
Thanks Matt!!!

Happy,
   Juergen

-- 
Have you read a good program lately?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu