Sunday, July 12, 2009

Can c++ and perl included in VB code?

Can i include C++ code and a script written using Perl in my Visual Basic Program..If so..How?

Can c++ and perl included in VB code?
In the case of Perl, this is true. Not with C++.


You would have to download and install the ActiveX Scripting Perl Engine.


Then you would:


1) create an instance of the engine


2) setup the objects from your application that the script may refer to


3) send the perl script to be run





Then turn on the mixer!
Reply:i don't believe you can include the actual "code" in your vbcode, since the compiler wouldn't understand it. You can create dll's with C++ and then make references to the dll's with vb. With PERL you can create CGI's and then make references to them via vb.


No comments:

Post a Comment