Link to home
Start Free TrialLog in
Avatar of fmufti
fmufti

asked on

Create Dll in Visual C++6 and Call in VB6

I wanted to create a dll in VC6 that receives a value from VB and assigns it to function in VC Dll that transmit that value to parallel port(outport()). In fact I wanted to know the steps to write a dll in VC and call in VB.
Avatar of ShadowHawk071998
ShadowHawk071998

Writing a DLL is easy. You can use a wizard that will do it for you (DLL Wizard). Just remember to define each function in the
DEF file (myproject.def, it's simple) and to use the correct calling convention (so that the VB program and the VC dll will speak in the 'same language').

Good luck,

Ron.
Avatar of fmufti

ASKER

Can u mail me a sample using VC Dll wizard at :email: fmufti@softhome.net
ASKER CERTIFIED SOLUTION
Avatar of ShadowHawk071998
ShadowHawk071998

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial