General information
Category:
Coding, syntax & commands
>>>>What am I doing wrong?
>>>>
>>>>Stephane.
>>
>>>Have you tried declaring the paramater ByVal?
>>
>>>Is this DLL written in VB?
>>
>>This may seem like an obvious question, but do you have to register the DLL with windows?
>
>What kind of DLL is it?
>
>DLL that are to build on the COM specifications (like the ones build with VB) needs to be registered. Also, you can't «Declare» procedures from it, you need to set a reference to the component, to create an instance and use the instance:
>Dim X as new ComponentName.ClassName
>X.DoSomething
Ok, it's a dll written in straight C and it wasn't built on my computer. I tried registering the dll (using regsvr32) but I got the "no entry point" message. I almost always get this message to a point that I think that my "regsvr32" program is corrupted. So, I wouldn't mind the message.
Now, what do you mean when you say that I need to set a reference to the componenent?
Thanks again, Stephane.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only