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

12y 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.


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++...


Who developed visual c plus plus?

Microsoft developed Visual C++.


What has the author Namir Clement Shammas written?

Namir Clement Shammas has written: 'Visual Basic' -- subject(s): Windows (Computer programs), Microsoft Visual BASIC 'Applying Turbo Pascal library units' -- subject(s): Pascal (Computer program language), Turbo Pascal (Computer file) 'Visual J++ for dummies quick reference' -- subject(s): Java (Computer program language), Microsoft Visual J++ 'Turbo BASIC' -- subject(s): BASIC (Computer program language), Turbo BASIC (Computer file) 'The new BASICs' -- subject(s): BASIC (Computer program language) 'Windows 98 API programming for dummies quick reference' -- subject(s): Application software, Development, Microsoft Windows (Computer file), Operating systems (Computers) 'Teach yourself Visual C [plus plus] in 21 days' 'Teach yourself Borland C [plus plus] 4 in 21 days' 'Teach yourself Visual C++ 2 in 21 days' -- subject(s): C++ (Computer program language), Microsoft Visual C++ 'Visual Basic 5 for dummies' -- subject(s): BASIC (Computer program language), Microsoft Visual Basic for Windows 'C++ for dummies quick reference' -- subject(s): C++ (Computer program language) 'Introducing C to Pascal programmers' -- subject(s): C (Computer program language), Linguagem de programacao (outras), C (langage de programmation) 'Advanced C++' -- subject(s): C++ (Computer program language), C 'Crash course in Borland C plus plus 4' 'Dummies 101' -- subject(s): C++ (Computer program language) 'Object-oriented programming with Borland Pascal 7' -- subject(s): Borland Pascal, Object-oriented programming (Computer science), Pascal (Computer program language) 'Secrets of the Visual C++ masters' -- subject(s): C++ (Computer program language), Microsoft Visual C++ 'Teach yourself Visual C [plus plus] 2 in 21 days' 'Visual C++ generic programming' -- subject(s): C++ (Computer program language), Generic programming (Computer science), Microsoft Visual C++ 'Teach yourself Borland C [plus plus] 4.5 in 21 days' -- subject(s): Borland C 'Windows batch file programming' -- subject(s): Electronic data processing, Windows (Computer programs), Batch processing 'Teach yourself QBasic in 21 days' -- subject(s): QBasic (Computer program language) 'Visual J [plus plus] for dummies quick reference' -- subject(s): Java (Computer program language), Microsoft Visual J. 'Quickbasic' -- subject(s): BASIC (Computer program language), Microsoft QuickBASIC 'Teach yourself Visual C++ in 21 days' -- subject(s): C++ (Computer program language), Microsoft Visual C++ 'Windows programmer's guide to Microsoft foundation class library' -- subject(s): Microsoft Windows (Computer file), Microsoft foundation class library, Windows (Computer programs) 'The Turbo Pascal Toolbook' 'Object-oriented programming for dummies' -- subject(s): Object-oriented programming (Computer science) 'Visual Basic for DOS' -- subject(s): BASIC (Computer program language), MS-DOS (Computer file), Microsoft Visual Basic for MS-DOS 'Crash course in Borland C++ 4' -- subject(s): C++ (Computer program language), Turbo C++ 'Mathematical algorithms in Visual Basic for scientists & engineers' -- subject(s): Data processing, Mathematical statistics, Microsoft Visual Basic for Windows, Numerical analysis