|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How can I use these files in VB6?Hello,
I have a C++ project, but I don't know much C++. I would like to have the application in VB6 for better understability and debugging. The project consists of about 10 .dsw files (C++), and they compile to .lib. Can anybody please tell me if it's possible to use them in VB6, maybe like a DLL or so? The project is rather huge, and rewriting it would be an awful lot of work. Thank you. Tom
Show quote
Hide quote
"Tom Steinmeyer" <t.steinme***@hotmail.com> wrote in message You didn't say what kind of "lib" the project compiles to.news:u0cUJGP$JHA.4692@TK2MSFTNGP02.phx.gbl... > Hello, > > I have a C++ project, but I don't know much C++. I would like to have > the application in VB6 for better understability and debugging. The > project consists of about 10 .dsw files (C++), and they compile to .lib. > Can anybody please tell me if it's possible to use them in VB6, maybe > like a DLL or so? > The project is rather huge, and rewriting it would be an awful lot of work. > > Thank you. > Tom But yes, a VC++ programmer should be able to convert or wrap a ".lib" file into a regular 'WinAPI' Dll, or an ActiveX component either of which could be used from a VB application. -ralph Tom Steinmeyer wrote:
> Assuming the code structure is such it would be amenable to be contained > Hello, > > I have a C++ project, but I don't know much C++. I would like to have > the application in VB6 for better understability and debugging. The > project consists of about 10 .dsw files (C++), and they compile to .lib. > Can anybody please tell me if it's possible to use them in VB6, maybe > like a DLL or so? > The project is rather huge, and rewriting it would be an awful lot of work. in a DLL, there's no reason you couldn't recast that portion as a DLL, no. You would, I think (others can correct me if I'm overstepping my knowledge of C++ which is undoubtedly even less than yours :) ) have to build an interface C-style wrapper using stdcall to interface to VB or do that in the C++ code itself. Other than that, "piece o' cake"! :) -- "Tom Steinmeyer" <t.steinme***@hotmail.com> wrote in message Is this an open source project? If so, can you post the link?news:u0cUJGP$JHA.4692@TK2MSFTNGP02.phx.gbl... > Hello, > > I have a C++ project, but I don't know much C++. I would like to have the > application in VB6 for better understability and debugging. The project > consists of about 10 .dsw files (C++), and they compile to .lib. > Can anybody please tell me if it's possible to use them in VB6, maybe like > a DLL or so? > The project is rather huge, and rewriting it would be an awful lot of > work. What does this project do? Perhaps there is a VB equivalent. Do you have VC? If so, which version? Finally, open one of the DSW files with Notepad, and post the version number which is in the first line.
VB Express and VB files
Removing too many hyphens Remote-Desktop "client/ server" Is my VB6 app form open? Vista 64 and Visual Studio 6 Re: ADO: Deleting a table after it is loaded into Recordset ListBox - Limit Selection Rectangle Width In-Process and Out-of-Process Exporting a function from VB.net DLL Need help retrieving a udp response after sending a udp command |
|||||||||||||||||||||||