|
-
Jun 5th, 2000, 11:12 PM
#1
Thread Starter
New Member
Hello,
This is the first time I come here.
I need help on my final project...Can anyone tell me how I can use a Visual C++ routine in a Visual Basic application?
This would solve all my problems!!
Any help would be welcome!
Thank You!
Rui Goncalves
-
Jun 5th, 2000, 11:19 PM
#2
Here's an example
Public Declare Function RWTInitialize Lib "c:\rqt\dbacc.dll" (ByVal sQuoteID As String, ByRef nErrCode As Long, ByVal sErrText As String) As Long
lRC = RWTInitialize(txtQuoteNumber, lError, sErrText)
-
Jun 5th, 2000, 11:21 PM
#3
New Member
Hi Rui, the only way I know is adding your C++ routine to a DLL, that is, compile it into a DLL. After that, you can use it from VB.
If you compile it into a DLL, I can help you to set the VB routine declaration.
Good luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|