Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Visual C++ and Visual Basic

Status
Not open for further replies.

Sputnik

Full Member level 3
Full Member level 3
Joined
Oct 19, 2004
Messages
150
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
South Africa
Activity points
1,667
Is it possible to incorporate VC++ into a VB program? I'm wondering cause I can oddly read data from the serial port in VC++ without causing an error in Windows XP. If so, are there any indepth tutorials available.

Sputnik :idea:
 

Yes you can call function VC ... but not directly!

The method is to create a DLL with VC ... with the functions that you want to use in VB ... and then you can call the eported function from your VB program.


How to call a DLL function from VB:

h**p://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_Calling_DLL_Functions_from_Visual_Basic_Applications.asp

m!k27
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top