Re: Where is my DLL?
- Posted by "Juergen Luethje" <j.lue at gmx.de> Oct 19, 2005
- 539 views
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?