Can anyone help me? I'm very new at VB and I'm having trouble using the Cards.dll file with VB6. I know that I can't use the 16-bit version of the dll, but when I try to use the 'Cards32.dll' library I get a 'Invalid entry point' error on my function calls. Anybody know what I'm doing wrong?

'This is declared in a module
Declare Function CdtInit Lib "CARDS32.DLL" (nWidth As Long, nHeight As Long) As Long

'Called from my Form_Load Event
x% = CdtInit(nWidth, nHeight)

Any help would be greatly appreciated