Hai,

I have written a DLL in VC++ and accessing it in VB. It works fine when
the program runs within VB-IDE. But, when I created an EXE, it didn't work.
What might be the problem. Please help me in this.

Thanks in advance.

Kiran Kumar

Re: Exporting DLLs to Visual Basic by lallous

lallous
Mon Jul 25 01:43:56 CDT 2005

Hello

What is the calling convention of your exported C++ routines?

AFAIK, VB calls external DLLs using stdcall convention.

Regards,
Elias
"Kiran Kumar" <kirankumar@nannacomputers.com> wrote in message
news:eX94QFOkFHA.1480@TK2MSFTNGP10.phx.gbl...
> Hai,
>
> I have written a DLL in VC++ and accessing it in VB. It works fine when
> the program runs within VB-IDE. But, when I created an EXE, it didn't
> work. What might be the problem. Please help me in this.
>
> Thanks in advance.
>
> Kiran Kumar
>