Hello, i'm a newbie in c++ and need urgent help. I just started using VC++ a few days ago just because of the current situation i'm forced to deal with. I primarily use VB6, but because i stumbled upon a c++ lib file and header file that i need to use on vb6, i need crash course on how to create a dll wrapper for the lib file so that it's routines are callable on vb6. I don't have the source for the lib file.
On all the forums that i've read, they always say that a "wrapper" is needed but they don't even give a basic sample, a syntax specifically, on how to do it. The c++ dll that the lib is referenced to is not _stdcall so it can't be called directly from vb6, so i have to use the lib file instead.
I just need a step by step example on how to do it. let's say the lib file is named "mylibrary.lib" and the header file is named "myheader.h". How do i start? I'm using Visual C++. Pls be gentle, i'm a newbie on C++.