Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interface VB and C

Status
Not open for further replies.
Jun 2, 2003
24
US
I have a project that envolve developement using VB for DOS and the C language.

The GUI is developed in DOS because it a DOS App being developed and the main functional code is in Turbo C.

How can I connect the two for example passing data from the C to VB and Vice Versa.

Thanks a Lot.
 
VB libraries aren't really compatible with TurboC.

A simple way around this is to use the file system. One program writes out a file and the other reads it. You can have two dummy files which can act as semaphores - when the file exists, there is new data. The writer is responsible for creating it and the reader for deleting it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top