Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement