Question regarding Visual Basic.
I was wondering if it was possible to have C++ functions to be able to be used in anyway in Visual Basic. There''s a game that I just got that has a C++, Header file and .obj file to let you do various things with the game. I am wanting to use Visual basic to use this functionality in some way, by DLL or anything, does anyone know of a way? Thank you in advance.
quote:Original post by caffeineaddict
I was wondering if it was possible to have C++ functions to be able to be used in anyway in Visual Basic. There's a game that I just got that has a C++, Header file and .obj file to let you do various things with the game. I am wanting to use Visual basic to use this functionality in some way, by DLL or anything, does anyone know of a way? Thank you in advance.
Make the C++ functions into a DLL and you can call the functions from VB.
Take this call for example:
Public Declare Function GetCurrentProcessId Lib "kernel32" () As Long
it make call to the function GetCurrentProcessId which is held in kernal32.dll
[edited by - prh99 on March 2, 2003 3:24:58 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement