Archived

This topic is now archived and is closed to further replies.

strings between C++ & VB6

This topic is 5525 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m trying to get a C++ DLL to pass a string of characters over to a VB6 interface, after doing some manipulations to it, this is very simple with numbers and the likes, but proving much more difficult with character strings, any one know a way of doing it simply? currently I''m trying to pass byte arrays back and forth, it''s terribly messy . ShalRath.

Share this post


Link to post
Share on other sites
Hi.
I dont have to to reply right now.
If nobody answers you send me email at <removed> and I will explain it to you later. Sorry

byez

[Edited by - Milos on September 7, 2004 7:24:05 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Use an invisible ActiveX control. You wont have to worry about types.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You have to use BStr, they come with the VARIANT type

Share this post


Link to post
Share on other sites