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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From C to VB and back 1

Status
Not open for further replies.

Namlop

Programmer
Nov 8, 2002
36
0
0
NL
Hey,

I've got the following problem.

I've got a program written in C that receives a character buffer and i've got a Visual Basic program that can transform plain tekst into an image (an .tif file ).

The buffer that my C program receives needs to be converted to an image file so want my C program to us my VB program to do that.

Can anyone help me with that?

(Or more simpler: how does the communication between C en VB work?)

I love work.
I can just sit and look at it for hours.
 
There are at least two easy ways:
1. Make ActiveX from VB - code and use it in C/C++ program (in a dialog, for example)
2. Make a dll from C/C++ code and use it's exports in VB - program
You can use COM - Objects too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top