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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Beginners questions

Status
Not open for further replies.

paramecula

Technical User
Nov 23, 2004
3
GB
Hi everybody

I normally programme in VB but I want to distribute an application without the large VB runtime files that VB requires. I thought I would re-write the application using the Visual C++ that I have on Visual Studio '97 discs (v 5.0), but would like to clarify a few points before I start writing/learning.

[1] when I complete the application, which file(s) do I distribute ? Just the .exe file or are there other DLL's that are required. Or would any extra files be loaded by default anyway on most platforms. I would like it to be used on Windows '98 through to XP.

[2] The application uses a WebBrowser control in VB. From what I can find out, this doesn't come as standard with Visual C++ 5.0. Do I have to upgrade to v6.0 or can I just add the necessary files to v5.0

[3] If I need to upgrade to v6.0 and have to distribute dependent files, do I need to have a certain edition of v6.0 ? eg. to distribute VB applications, you need an Enterprise edition. Is this the same for Visual C++ ?

Thanks
 
It depends on what your application uses/does and how it's linked. You could use dependency walker or something similar to check which dlls it's using but I think that if you statically link your application, you wont need to distribute any microsoft dlls. You will need to distribute any third party dlls you use though ;-)

I use VC6 but I don't think that VC5 will be much different in that respect because C++ source code compiles all the way down to machine code

I dont know about WebBrowser controls as I've never used one


"If it could have gone wrong earlier and it didn't, it ultimately would have been beneficial for it to have." : Murphy's Ultimate Corollary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top