>>>Hi All
>>>
>>>Is there a way to silently register the Cryptor dll from within VFP code? I can RUN REGSVR32 but is there a more elegant way?
>>>
>>>Thanks
>>>
>>>Jos
>>
>>
>>Jos,
>>
>>I have not tried it, but maybe you can have a go at this.
>>
>>An ocx, dll is able to register itself. REGSVR32.exe is just a wrapper that calls the code in the dll you are registering.
>>
>>Hence,
>>
>>
>>declare long DllRegisterServer IN cryptor.dll
>>
>>Success = empty( DllRegisterServer() )
>>
>>
>>
>>
>>declare long DllUnregisterServer IN cryptor.dll
>>
>>Success = empty( DllUnregisterServer() )
>>
>
>Hi Gregory. This solution works just great! Thanks for the feedback.
>
>Later
You're welcome, Jos
Gregory