Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Import From Visual studio 6
Re: Import From Visual studio 6 [message #18503 is a reply to message #16590] Sat, 04 October 2008 14:51 Go to previous message
slashmais is currently offline  slashmais
Messages: 20
Registered: January 2007
Location: south africa
Promising Member
I also had this problem & the only way I found to do it currently is 'the hard way':

First:
Modularize and cleanup your vc-project:
split the win-api calls into their own modules from the more standard c/cpp code;
recompile your c/cpp code modules using the ANSI-standard (if you can, it would save you lots of pain later) replacing the microsoft specific function-calls until your vc-project compiles and runs correctly.

Second:
Create an empty Upp-project
unpack/copy your vc6 .h, .c/.cpp & .rc files to your new upp-project directory
In theide, right-click in the files-section of your new project, and select 'Insert package directory file(s)' on the popup. Select all your sources using shift+arrow-keys and hit enter.
(Don't compile unless you like to look at a gazillion errors Wink )
Use your .rc as guide to construct your layouts.
Fix your headers & sources to replace windows-api calls, etc...
The ANSI-standard code *should* be OK (?)

HTH


 
Read Message
Read Message
Previous Topic: Different results from same code&settings
Next Topic: TheIDE stuck in eternal build / run / build / run / etc cycle
Goto Forum:
  


Current Time: Mon May 13 23:06:24 CEST 2024

Total time taken to generate the page: 0.01709 seconds