answersLogoWhite

0

You can't integrate C++ source code directly into Visual Basic code. In order to make use of code written in another language, including C++, you must compile that source to produce a DLL. You can then link to that DLL via Visual Basic. The only caveat is that you must replace the C++ data types in the function declarations with the equivalent Visual Basic data types, such as 'Byte' for a C++ unsigned char, or 'Single' for a C++ float.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

Is there a C sharp or Visual basic or c plus plus code for webbrowser enable javascript?

Yes, but enabling Javascript programmatically presents a security threat, thus we cannot show you the code.


How do you make the password character in Microsoft visual basic c plus plus?

The password character is usually an asterisk. ASCII code 42 (hex:2a).


What is the difference between visual studio and visual c plus plus?

Visual Studio is a developement environment that can support many different languages like C++, j#, Basic, etc. "Visual" is added to the names because Microsoft has tweak the langauages a bit in order to integrate the .Net functionality and other features the would like to support. C++ is a stand alone languages that was incorperated into Visual Studio package.


Can visual basic compile a c plus plus program?

As much as your car can fly.


What is the Visual C plus plus 2008 Express Serial Code?

The Express edition of C++ does not require a serial code. It is free.


Does your computer have visual basic c plus plus?

Basic and C++ are two different languages. You can have them both, but you need to install them. By default Windows OSes do not have it. When Linux based have an option to install C++ compiler.


Where do you find the applications such as visual basic or visual C plus plus in visual studio 2010 there appears to be no actual applications?

Once you have the Visual Studio program open, go to File->New Project and select the language you want to write your program in. If one or more languages do not appear, you probably didn't choose to have them installed when you installed Visual Studio.


Why are some people good at C plus plus programming but terrible at Visual Basic programming?

Maybe they've never learnt/tried VB beforehand?


Compare c plus plus and visual basic?

Visual Basic is a Windows-specific programming language, developed by Microsoft. C++ is a standard, generic and cross-platform programming language. Microsoft's implementation is called Visual C++, but it is not standards-compliant. Visual Basic requires a runtime library. C++ does not. Visual Basic is 100% object-oriented. C++ is not 100% object-oriented, but gives programmers greater freedom of choice. C++ is efficient, compact and performs extremely well on a wide variety of hardware. Visual Basic programs are inefficient, generally large, and much slower than equivalent C++ programs, and only run on Windows.


Who developed visual c plus plus?

Microsoft developed Visual C++.


How visual c plus plus chance the basic function of c plus plus?

MSVC++ is a brand name (part of the Microsoft Visual Studio suite of programming tools). The only real difference is the inclusion of all the necessary headers and library files required to create programs specifically for the Microsoft Windows operating systems. There are some Microsoft-specific elements to some of the C++ implementations, but these are designed to augment rather than detract from standard C++. While there are some "visual" elements, such as forms and dialogue boxes and controls you can place on them, the majority of coding is still done by hand, in a standard code editor, using standard C++ coding methods. The MFC framework takes some of the hassle out of getting a Windows program physically started but after that you're on your own. By contrast, Visual Basic is a more visual experience, drawing forms and controls and clicking objects to "fill-in-the-gaps" with actual code. If only it had the level of control you get with C++...


What is the brief history of visual c plus plus?

The complete history of Visual C++ can be found in the "Visual C++" article in Wikipedia.