DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 14 of 14

Thread: VC++ - updating .dsp file?

  1. #1
    Join Date
    May 2010
    Posts
    9

    VC++ - updating .dsp file?

    i wrote a program in vc++ 6 years ago. i am trying to make some changes to it. i download visual c++ 2010 express. when i tried to load it, it tells me the .dsp file cannot be loaded.

    do i need to use an older compiler like years ago, or is this problem fixable?

    thanks.

  2. #2
    Join Date
    Dec 2003
    Posts
    3,366
    too many versions between them. You can migrate from version to version with the professional (paid for) versions, but even so I wonder if a 6 could be moved to 10 directly, thats like 5 versions and many of the things that 6 allowed are now illegal (and always were, but it allowed them).

    If you have access to them, try running it from 6 to 2002, 2002 to 2005, and 2005 to 2010. Even if that means borrowing someones machine. The finaly professional 2010 should make a file the express version can read; expreass may be able to read 2005 files as well.

    However, again, many of the things in 6 probably are broken in 2010 anyway, unless the program is quite simple, or non-gui based (straight up c++ or the like).

    I still have 2002 installed and 2005 is what I still use. If you want me to try it, pack up a zip file and post it somewhere. At the very least, it cant hurt to get it into a "solutionlolbuzzword" file (.SLN) instead of the oldschool dsw/dsp versions. I am willing to bet that once its in sln format, it will work in the express.

  3. #3
    Join Date
    May 2010
    Posts
    9
    i don't have access to those older versions. what files would i need to compress to send to u? all cpp and h files, and resources? is there a good place to post large files?

  4. #4
    Join Date
    Dec 2003
    Posts
    3,366
    I dont know. probably project and source files yes, resource too sigh. There are free places to post files like google. Or make a ftp server on your machine and send me a login to it.

    Define large, its more than like 20 mb??

  5. #5
    Join Date
    May 2010
    Posts
    9
    i collected the files. they are 4.6 mb in total. should i e-mail them?

  6. #6
    Join Date
    Dec 2003
    Posts
    3,366
    yes, but make sure you removed the debug and release folders, the intermediate files (most start with the letter 'i' like ilk) any browser file (sbr?) etc.

    Ill send you a working email address tomorrow from work. I cant do anything with it from home anyway.

  7. #7
    Join Date
    Dec 2003
    Posts
    3,366
    Update:
    VS 2005 bought version is able to convert the project from .dsw format into .sln format, did not have to step from 2002 to 2005.

  8. #8
    Join Date
    May 2010
    Posts
    9
    do u have a sense if visual studio .net (2003) has a good shot at working since 2005 apparently does?

  9. #9
    Join Date
    Dec 2003
    Posts
    3,366
    anything in between, except possibly the freebie express versions, should work. All I have are 6, 2002, and 2005 at this time, so I just started with the newest of those.

  10. #10
    Join Date
    May 2010
    Posts
    9
    i tried to recompile my program on a friend's machine with vc++ 6. i get the following error:

    Loaded 'C:\Documents and Settings\Owner\Desktop\New Folder (3)\project files\Release\game.exe', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\ntdll.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\mfc42.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\MSCTFIME.IME', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\apphelp.dll', no matching symbolic information found.
    The thread 0xA70 has exited with code 0 (0x0).
    The thread 0xC30 has exited with code -1073741819 (0xC0000005).
    The program 'C:\Documents and Settings\Owner\Desktop\New Folder (3)\project files\Release\game.exe' has exited with code -1073741819 (0xC0000005).

    any idea why?

    thanks.

  11. #11
    Join Date
    Dec 2003
    Posts
    3,366
    operating system may be wrong for version 6. Remember, 6 is from windows 2k or earlier OS, thats a Millenium, xp, vista, and 7 versions ago.

    You can copy those dlls and it may work, depends on what the code did though.

    It could just be the path to those files has changed. I am unsure.

    Those are not errors, it just says no symbols so you cannot debug it*

  12. #12
    Join Date
    May 2010
    Posts
    9
    i misspoke. i did compile successfully. the errors showed up as the program crashed halfway through. unfortunately, i can't seem to figure out how to create a debug version.

    i went to project settings and in the debug window i put the path name of the debug executable. nothing else. under tools/options, i'm not sure what should be set there. anyway, no debug executible is built.

    could u tell me how to do it?

    thanks.

  13. #13
    Join Date
    Dec 2003
    Posts
    3,366
    There should be a drop down in the configuration to swap to debug. If that has been removed, you can do it by hand but its a pain.

    You have to find and change the mfc dll setting to debug version of the dlls. You have to change the debug info to database w/ edit and continue. You have to change it to debug in a couple of places. You have to figure out how to get the debug define in and the release define out.

    There are about 10 settings that relate to debug directly or indirectly that you probably need to swap. The best way to figure them out is to start a new project, and it will have both a debug and release setup. Flip between them and write down every difference on every setting and go back to this real project , make the changes you wrote down to debug. If a setting seems to not effect debug, look up what it actually does in your help.

  14. #14
    Join Date
    Jan 2008
    Posts
    100
    How complex was the program?

    It is usually easier to create a new project and just import the .h, .c, .cpp files.

    That way all the configuration / compilation settings will be fresh and targeted at your current environment.

Similar Threads

  1. Replies: 1
    Last Post: 02-14-2006, 08:04 AM
  2. updating xml file from VB6
    By smithg22 in forum VB Classic
    Replies: 9
    Last Post: 04-12-2005, 06:23 PM
  3. How long before the next version??
    By _CAG in forum .NET
    Replies: 146
    Last Post: 08-12-2002, 10:40 PM
  4. Replies: 12
    Last Post: 05-18-2001, 04:05 AM
  5. Test a file to see if it's open
    By JohnN in forum VB Classic
    Replies: 12
    Last Post: 05-08-2001, 04:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center