• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • Last Modified:

Make VC ++ 6.0 project work in win 7 and later

I need to find out the least expensive way to have my projects (setup.exe and .exe) created with VC ++ 6.0 in win xp pro enviroment working well in Windows 7.. install and run 'm smoothly

thanks in advance,experts
0
khlauster
Asked:
khlauster
  • 2
  • 2
  • 2
2 Solutions
 
fridomCommented:
You'd probably use an external builder for installations. I'm using InnoSetup  and am quite content with it.
0
 
OrcbighterCommented:
The short answer is "Don't do it".
You need to convert the project. I am currently using VS 2008 which can convert VC6 projects via a wizard.
There will be minor problems because a lot of the C code is deprecated, but the compiler usually gives you the name of the replacement functions, eg strcpy -> strcpy_s.
You have to explicitly declare ints rather than allowing default typing, and so on.

VC6 is a decade-old compiler. Is there a reason you can't go to VS 2005 or VS 2008, or even VS2010?
0
 
khlausterAuthor Commented:
Orcbighter!

Your projects built or converted with VS 2008 are running smoothly in Win xp, win 7, win server 8 and backwards compatible?

fridom!

Have you tried to run your VC++ 6.0 project setup.exe (built with InnoSetUp) in win 7 environment?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
OrcbighterCommented:
fridom??

No!
Just open up the VC6 project inside VS2008 and the wizard will do the conversion and provide a report if there was a problem (even if there wasn't).
It should not matter to InnoSetUp, an exe is an exe, it should just install your exe without trouble.
I think the only issue is whether your version of InnoSetUp supports Win7.
0
 
khlausterAuthor Commented:
thank you, experts!
0
 
fridomCommented:
Well I'm using InnoSetup with an Access based solution. but what do you do with an installer. You use it to place the files at the proper place, do  the  registration as need is and do whatever is needed to integrate your program.

It does not matter with what the end-program was written. E.g you can still use VC 6 if you like (and indeed I bet a lot of people still are using Visual Basic 6 (the last "normal" Visual Basic", after that there just is VB.NET).  Of course one can migrate to a more actual development environment but this has nothing to do with an installation.

Installation means. Getting all the things installed at the proper place. And for that InnoSetup works great.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now