Windows 2000 Professional Compatability Question ...

This is a discussion on Windows 2000 Professional Compatability Question ... within the Windows Programming forums, part of the Platform Specific Boards category; Hey, thanks for reading. Maybe you have an answer. I know I haven't posted a new thread on here in ...

  1. #1
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question Windows 2000 Professional Compatability Question ...

    Hey, thanks for reading. Maybe you have an answer. I know I haven't posted a new thread on here in quite a while, but oh well. Anyhow, I am wondering if my applications (pre-compiled on Windows 98 and/or ME) would work correctly if re-compiled on a Windows 2000 Professional machine. Any help is appreciated.

    Thanks,
    Matt U.

  2. #2
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    Depends on what your program does. If it follows the windows specifications, then it should work without recompiling. However, if it's "naughty" (eg. accessing reserved structures, using undocumented functions, etc) then it most likely will not work even with a recompile.

  3. #3
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question Another question :)

    Ok, thanks for the information . So if I created a simple Notepad-like text editor, then it should work without a problem? I also noticed that specific functions (like selecting a font using the CFontDialog w/ MFC to make a text editor) created on my Windows 98 machine, it would cause an error in MFC42.DLL on my Windows ME machine, unless I recompiled.

  4. #4
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    How about compatability mode?

  5. #5
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    Programs like a Notepad-like editor using MFC should run on any current Windows system without modification. To be most compatible however, make the MFC statically linked rather than dynamic so you know you have the right version.

  6. #6
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    I've had MFC progs run on one version of windows and crash on another.....it's probably due to an error in your coding that your developement platform isnt flagging for some reason, but sticks out like a sore thumb on another. I found that a few errors in GDI code are punished severely on some versions and ignored on others....run through your code

  7. #7
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question Statically linking MFC library/libraries

    I have heard a lot about statically linking the MFC library/libraries DLL(s). Could you please explain how to do that. I can't figure out how.

    Thanks,
    Matt U.
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  8. #8
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    It's in the project options, right click your project in the solution explorer, goto options, and then select "Use MFC in a static library"

  9. #9
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    >>I've had MFC progs run on one version of windows and crash on another.....

    Same here, not only MFC.
    Usually Win2000 is stricter than Win98.

    Some things will work on one OS and not on the other. All of these point to an error in your code.

    Be more careful in going theother way ie WIn2000 -> Win98 as some functions in the Win32 API only work (or work differently) depending on the age of the OS.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  10. #10
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question Solution Explorer ... ??

    Where exactly is the "Solution Explorer"?

  11. #11
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    here
    Attached Images Attached Images  

  12. #12
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Unhappy I don't have a Solution Explorer tab ...

    I do not have that tab in my workspace window. I am using MSVC++ 6.0. Is there anywhere I will need to customize the workspace view to show the tab?

  13. #13
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Solutions in VC++ 7 are the same as workspaces in VC++ 6.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  14. #14
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Unhappy That tab isn't there ...

    That tab isn't in my workspace. I can't find anywhere that will make the tab show up.

  15. #15
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    It's already been said that the "Solution Explorer" is only available on Microsoft Visual Studio .Net, so if your using 6.0, it will not be there.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 08-16-2006, 03:05 PM
  2. FlashWindowEx not declared?
    By Aidman in forum Windows Programming
    Replies: 3
    Last Post: 05-17-2003, 03:58 AM
  3. Windows question (NOT MS)
    By Music_Man in forum Game Programming
    Replies: 2
    Last Post: 12-31-2001, 02:15 PM
  4. Windows 2000 Problem
    By DISGUISED in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 12-19-2001, 09:43 PM
  5. Networking Windows 2000 and Windows Me
    By FCP in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 08-29-2001, 10:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21