-
1 Attachment(s)
Can't register LibXL
wherever I put it I get the dreaded
[ATTACH=CONFIG]14372[/ATTACH]
when I try to register it (using regsvr32 in a cmd window opened as administrator)
Seriously need coffee this morning...
I presume it's the 64 bit one I should be loading? or can I load both?
19.1/Win10
-
Re: Can't register LibXL
no need to register libxl
if you are using our libxl wrapper it needs to be registered using regasm but libxl itself does not
-
Re: Can't register LibXL
REGASM-ed szLibXL.dll and tried to run your example workspace and I get
[I][SIZE=2][COLOR=#0000cd]C:\DFDEV\Libraries\3rdparty\StarZen.LibXL\Programs\LibXLSample.exe
Unable to instantiate COM object. ActiveX component may not be properly installed or registered. Error code: 0x80040154
C:\DFDEV\Libraries\3rdparty\StarZen.LibXL\Programs\LibXLSample.exe
Unable to instantiate COM object. ActiveX component may not be properly installed or registered. Error code: 0x80040154
Error: 4398
MSG_END_CONSTRUCT_OBJECT (459) - oLibXL (225) - at address 71327
GET_ACTIVATE_OLIBXLSAMPLE_HANDLE (10426) - oClientArea (220) - at address 71357
MSG_ACTIVATE_OLIBXLSAMPLE (10427) - oClientArea (220) - at address 71347
MSG_ONEXECUTE (8103) - oLibXLSampleMenuItem (122) - at address 68065
MSG_EXECUTE (8102) - oLibXLSampleMenuItem (122) - at address 46729
MSG_ONCOMEXECUTE (7149) - oCommandBarSystem (83) - at address 45719
[start] - at address 71544
[/COLOR]
[/SIZE][/I][SIZE=2]I tried to follow the [url]https://support.dataaccess.com/Forums/showthread.php?63443-szLibXL-installation-strategy[/url] thread but [I][SIZE=2][/SIZE][/I]I suspect there is something basically wrong.[/SIZE][I][SIZE=2]
[/SIZE][/I]
-
Re: Can't register LibXL
you are mentioning REGASM but the thread you are linking to is about using sxs registration via manifest files
before you start trying to use sxs registration make sure you get it working without. Lots of things to be done incorrect with manifests and a pain to debug.
-
Re: Can't register LibXL
[QUOTE=starzen;363043]you are mentioning REGASM but the thread you are linking to is about using sxs registration via manifest files
before you start trying to use sxs registration make sure you get it working without. Lots of things to be done incorrect with manifests and a pain to debug.[/QUOTE]
Two separate statements in my response, I apologise if I ran them together and was unclear.
I was trying with regASM per your suggestion, and managed to register the szLibXL.dll in the example programs folder, but still got the COM error stated.
So I then looked at the manifest option, which might be a more teachable option for the future. I didn't use Sonny's program as it couldn't find a manifest fragment for szLibXL so cut&pasted from the thread. I get a sxs error which I haven't yet looked at. Juggling production work today so so working from my quiet home office.
-
Re: Can't register LibXL
first you need to make sure it is working. sxs registration can be a pain and if you dont have it working without it it will never work with it
you are dealing with two pieces
our szLibxl.dll which is a dot net DLL with COM interop that allows it to be called as an active x control from DF. it calls the libxl.dll
in order for all to work you need to have the proper files in the folder and the szlibxl.dll has to be registered via regasm.
once you have that working you can decide to unregister the szlibxl and try to get the manifest registration working
-
1 Attachment(s)
Re: Can't register LibXL
[QUOTE=starzen;363045]first you need to make sure it is working. sxs registration can be a pain and if you dont have it working without it it will never work with it
you are dealing with two pieces
our szLibxl.dll which is a dot net DLL with COM interop that allows it to be called as an active x control from DF. it calls the libxl.dll
in order for all to work you need to have the proper files in the folder and the szlibxl.dll has to be registered via regasm.
[/QUOTE]
Programs Folder contains...
[ATTACH=CONFIG]14373[/ATTACH]
File was RegASMed with
C:\Users\Dave.KIRKFREEPORT\Desktop\szLibXL.orig\Programs>c:\windows\microsoft.net\Framework\v4.0.30319\regasm szlibxl.dll
response was 'types registered successfully'
(and yes I tried it with the Framework64 version too)
workspace folder is on the desktop to keep it out of my main working environment.
I've bought LibXL but I'm trying to get it working with your example before I build on that.
-
Re: Can't register LibXL
Dave,
The [URL="https://www.dataaccess.eu/resources/downloads/download-category/download-subcategory-842?dagapsg=89"]LibXL implementation available through Data Access[/URL] is a DLL based version and not COM so registering the module is not possible.
-
Re: Can't register LibXL
[QUOTE=Vincent Oorsprong;363051]Dave,
The [URL="https://www.dataaccess.eu/resources/downloads/download-category/download-subcategory-842?dagapsg=89"]LibXL implementation available through Data Access[/URL] is a DLL based version and not COM so registering the module is not possible.[/QUOTE]
Vincent, I'm playing with the Starzen version, regASM is used
-
Re: Can't register LibXL
SOLVED
This VM didn't have dot net installed. It's a generated VM under my Windows Enterprise licence.
At least Mike Starzen's example now runs.
Dot Net should probably be listed as a prerequisite. Pretty obvious, but if Hyper-V VMs don't automatically include it...