How to use a DLL in VC 6.0 created in VB 6.0

Hello Everybody,

i want to register and use a dll which has been created in VC 6.0 and use one of its function.

i don't know the syntax to use it.

Pls help me.

Thanks and Regards

Munish Gupta

[229 byte] By [MunishGupta] at [2007-12-24]
# 1

How to use a DLL in VC 6.0 created in VB 6.0

i want to register and use a dll which has been created in VC 6.0 and use one of its function.

These two are contradictory. Please state your problem without ambiguities.

MariusBancila at 2007-8-31 > top of Msdn Tech,Visual C++,Visual C++ Language...
# 2

Hello Sir,

i have created a Dll in Visual Basic for compression of wave files.

i want to use the same in VC ++ 6.0 Code.

Munish Gupta

MunishGupta at 2007-8-31 > top of Msdn Tech,Visual C++,Visual C++ Language...
# 3
OK. You can load the DLL with LoadLibrary() and get the address of functions to call with GetProcAddress(). Take a look at these functions in MSDN.
MariusBancila at 2007-8-31 > top of Msdn Tech,Visual C++,Visual C++ Language...
# 4
In addition you can make use of View Depends Application to get the function signatures of the DLL.
Sarath. at 2007-8-31 > top of Msdn Tech,Visual C++,Visual C++ Language...
# 5
Since he created the DLL in VB he should already know the signatures...
MariusBancila at 2007-8-31 > top of Msdn Tech,Visual C++,Visual C++ Language...
# 6

A VB6 dll is a COM dll. It's called in a different manner.

Please see this thread : http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=388578&SiteID=1

For any further questions related to VC6 or VB6 please use the newsgroups at http://msdn.microsoft.com/newsgroups

Regards

Sahir Shah

SahirShah at 2007-8-31 > top of Msdn Tech,Visual C++,Visual C++ Language...