>
>
> Are you saying that the VB program works correctly without registering the
> DLL first?
>

You have to reference the DLL from the VB project.


> Now, regsvr32 does nothing except load the DLL and call DllRegisterServer.
>  So, you could, in fact, do this:
>     sdk = cdll.LoadLibrary(?PasSDK.dll?)
>     sdk.DllRegisterServer()
>
>
After doing this, when I then call Dispatch it fails with:
"Invalid class string"

And os.system("regsvr32...") probably won't work on later versions of
Windows if the script is not running with administrative privileges.

Guess I will have to be content with running regsvr32 as administrator as
part of the installation procedure for my script.
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to