Hello,

I'm trying to use a dll in a VB app. This dll as been written in C and can be used with a GUI made in Visual C++.

The fact is that I want to use only part of the dll's function in my app, so I don't want to be obliged to launch the GUI.

In my app, I've got a .bas with :
Public declare MyFunction lib "MyDll" (...)

In one of the function, I need to declare a variable which correspond in c to a cardinal, so :
- can someone tell me which is the corresponding variable in VB of a cardinal in c
- is declare ... lib "path of the dll" the right way to call for a dll

Thanks