-
Sep 23rd, 2024, 05:11 AM
#41
Re: VB6 Regfree-Usage of your own VB- and other COM-Dlls per DirectCOM-Helper
 Originally Posted by tmighty2
I am getting an error trying to use my ActiveX dll. The error I am getting is "No Permission (probably unregistered Types in the Interface-Def)".
I am using a tlb in this Dlll, and i expose an enum through that.
Nothing from the Dll-internal typelib should be exposed in Public Methods or Props of the Dll...
Also - if you have other Dll-References in your Dll-Project (as e.g. RC6 or RC6Widgets) -
Classes from those References need to be loaded regfree inside the Dll-Project as well...
Olaf
-
Dec 4th, 2024, 07:03 PM
#42
Re: VB6 Regfree-Usage of your own VB- and other COM-Dlls per DirectCOM-Helper
 Originally Posted by Schmidt
GetInstance(Ex) only scans the first TLB-resource-blob of a given Dll-file.
The (co)class-info for "regexp" is sitting in a secondary (or third) resource-blob.
So DirectCOM-dll will not work for the RegExp-Class in vbscript.dll ...
but why not use CreateObject in this case (it's a system-lib, where you don't need regfree loading).
Olaf
Can I add the function to specify the index?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|