Can i use a dll in an activeX component?
-
Dear all, i'm developing an activex component to use in a web application. my task requires using a dll to do some work... When i try to add it to the references of the project i get the message of "can't add a reference to the specified file" I'm using Visual Studio 6 and vb6 as a language Any help or hints would be appreciated Thanks in advance :D
Best Regards 3ala2 :)
-
Dear all, i'm developing an activex component to use in a web application. my task requires using a dll to do some work... When i try to add it to the references of the project i get the message of "can't add a reference to the specified file" I'm using Visual Studio 6 and vb6 as a language Any help or hints would be appreciated Thanks in advance :D
Best Regards 3ala2 :)
just3ala2 wrote:
Dear all, i'm developing an activex component to use in a web application. my task requires using a dll to do some work... When i try to add it to the references of the project i get the message of "can't add a reference to the specified file" I'm using Visual Studio 6 and vb6 as a language
It sounds like you are trying to add a reference to a dll that isn't a COM dll. VB6 does provide a way to access them, but it involves creating a module file and writing code to import all the functions that you need to call in the dll. Nathan
-
just3ala2 wrote:
Dear all, i'm developing an activex component to use in a web application. my task requires using a dll to do some work... When i try to add it to the references of the project i get the message of "can't add a reference to the specified file" I'm using Visual Studio 6 and vb6 as a language
It sounds like you are trying to add a reference to a dll that isn't a COM dll. VB6 does provide a way to access them, but it involves creating a module file and writing code to import all the functions that you need to call in the dll. Nathan