I can not seem to create an object created in powerbasic in any of the above languages.
I am using this
I compile this, once compiled I use regsvr32.exe to import (I checked the registry and nothing is there) and then try to use in vb/vba using the tlb and I can not create the object. OLEVW lists this as not creatable.
Any help would be appreciated.
I am using this
Code:
#COMPILE DLL "TESTITEM.DLL #DIM ALL #COM NAME "IITEM" #COM GUID GUID$("{1594918F-1131-488C-A11E-CFAFB4A17D31}") #COM TLIB ON $MyClassGuid = GUID$("{00000099-0000-0000-0000-000000000008}") $MyIfaceGuid = GUID$("{00000099-0000-0000-0000-000000000009}") CLASS MyClass $MyClassGuid AS COM INTERFACE MyInterface $MyIfaceGuid INHERIT dual METHOD Method1(parm AS LONG) 'CALL abc(parm) END METHOD END INTERFACE END CLASS
Any help would be appreciated.
Comment