GerryQuinn
Dec 8th, 1999, 03:16 AM
I've created a function. I want to create the DLL so it can be called within another project at run-time. It's an ActiveX DLL in VB5 SP3.
Private Declare Function DisplayText Lib "c:\ProjGerry.dll" (ByVal r As String) As Boolean
r = DisplayText("gerry")
It's just a small thing to display text. I'm just trying to get it to work.
Now, the functin is inside a Class object. The object is set to GlobalMultiUse. So the object should be created automatically. So I can just reference function like normal.
Can someone help please!
I get this error. Seems common, but doesn't really answer my problem..
Run-time Error '453'
Can't find DLL entry point DisplayText in c:\ProjGerry.dll.
Help!!
Thanks,
Gerry
Private Declare Function DisplayText Lib "c:\ProjGerry.dll" (ByVal r As String) As Boolean
r = DisplayText("gerry")
It's just a small thing to display text. I'm just trying to get it to work.
Now, the functin is inside a Class object. The object is set to GlobalMultiUse. So the object should be created automatically. So I can just reference function like normal.
Can someone help please!
I get this error. Seems common, but doesn't really answer my problem..
Run-time Error '453'
Can't find DLL entry point DisplayText in c:\ProjGerry.dll.
Help!!
Thanks,
Gerry