Problem calling DLL
-
I compiled a DLL using Visual Basic 6. I am unable to call this DLL in OMNIS. I was told that if a DLL is compiled in VB 6, it is highly likely to be compiled as a COM object. Omnis functions will not work with COM objects. How do I compile a DLL in VB 6 as a normal DLL? Can somebody help me out?? Regards, Vick
-
I compiled a DLL using Visual Basic 6. I am unable to call this DLL in OMNIS. I was told that if a DLL is compiled in VB 6, it is highly likely to be compiled as a COM object. Omnis functions will not work with COM objects. How do I compile a DLL in VB 6 as a normal DLL? Can somebody help me out?? Regards, Vick
This cannot be done using VB6 alone, which creates only stand-alone EXEs or COM components. Desaware, however, has a product called SpyWorks, that will create Win32 exports of VB DLLs. http://www.desaware.com/SpyWorksL2.htm
-
I compiled a DLL using Visual Basic 6. I am unable to call this DLL in OMNIS. I was told that if a DLL is compiled in VB 6, it is highly likely to be compiled as a COM object. Omnis functions will not work with COM objects. How do I compile a DLL in VB 6 as a normal DLL? Can somebody help me out?? Regards, Vick
vicknesh wrote: I was told that if a DLL is compiled in VB 6, it is highly likely to be compiled as a COM object. That is correct. -Nick Parker