Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ to VB6 conversion tools?

Status
Not open for further replies.

EwS

Programmer
Dec 30, 2002
398
US
I came across "Converting C Declarations to Visual Basic" on MSDN, but that's not enough. Can anyone, please, tell me if there are any good utilities that convert C++ code to VB6 code out there? I found very little and useless information on the web.

Thanks a lot, I would really appreciate any help.
 
all I can say is.....WHY WOULD YOU WANT TO DO SUCH A THING?

 
I don't know how to convert a C++ declaration into a VB declaration for a particular API. I explain this in
"How to declare CeRapiInvoke in VB?" thread posted yesterday.

Thanks.
 
hi EwS did my bodged code not work?? If somethings hard to do, its not worth doing - Homer Simpson
 
I'm getting an error -2147014795.

I think that the declaration you gave me is correct (I'm very grateful for that! Thanks a lot again!) because CeGetLastError returns 0 (it would give me some error, such as error 87 - invalid parameter). My guess is that I'm not passing the right values to the function in my dll. In other words, the syntax is right, but the contents is not.

I'm looking at a C++ program that works (I tried it). In my VB program I'm trying to call the DLL that the C++ pgm is calling, still getting the same error. I'm checking the values that are passed by the C++ pgm so that I'm passing the exact same ones...
 
hi EwS i have started another thread specifically linked to the RAPIInvoke section of the CeRAPIInvoke function.

the thread is thread222-506628

(im just trying to keep the relavant answer with the relavant question)

the original original CERAPIInvoke thread was

thread222-505842 If somethings hard to do, its not worth doing - Homer Simpson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top