[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

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.
0
fmufti
Asked:
fmufti
  • 2
1 Solution
 
ShadowHawk071998Commented:
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.
0
 
fmuftiAuthor Commented:
Can u mail me a sample using VC Dll wizard at :email: fmufti@softhome.net
0
 
ShadowHawk071998Commented:
Okay. Sent you the files... I hope this qualifies!

Ron.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now