I used the Package Manager to download StarZen.LibXL.
I register the dll with below command:
RegAsm.exe szLibXL.dll /CODEBASE
When I run LibXLSample.exe, I got a COM Initialize error.
Is there anything I am missing? Thanks.
Printable View
I used the Package Manager to download StarZen.LibXL.
I register the dll with below command:
RegAsm.exe szLibXL.dll /CODEBASE
When I run LibXLSample.exe, I got a COM Initialize error.
Is there anything I am missing? Thanks.
[QUOTE=john-hyz;338806]I used the Package Manager to download StarZen.LibXL.
I register the dll with below command:
RegAsm.exe szLibXL.dll /CODEBASE
When I run LibXLSample.exe, I got a COM Initialize error.
Is there anything I am missing? Thanks.[/QUOTE]
did you copy all the dlls that come with it?
[QUOTE=starzen;338817]did you copy all the dlls that come with it?[/QUOTE]
DLLs, including szLibXL.dll, exist in multiple locations:
MyWorkplace\Programs\
MyWorkplace\Libraries\StarZen.LibXL\Programs\
MyWorkplace\Libraries\StarZen.LibXL\Programs\Manifest\
MyWorkplace\Libraries\StarZen.LibXL\Programs\Manifest\szLibXL\
MyWorkplace\Libraries\StarZen.LibXL\szLibXL.zip\
I tried all of them, and none of them work.
Actually, would you mind sending me your .Net project?
I plan to improve it to make it work side-by-side.
As the result, we do not need to use RegAsm to register it.
Thanks.