CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2016

    How to convert a program to 64 bit?

    I use TCWIN45 for coding and i have made a small program on my pc windows7 32 bit, but its exe file that generated is not running on windows 8.1 64 bit. What should i do to run it on windows 8.1 64 bit. Its working fine on my windows7 PC.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: How to convert a program to 64 bit?

    Define "is not running".
    Victor Nijegorodov

  3. #3
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012

    Re: How to convert a program to 64 bit?

    What type of program is it? Does it use any 3rd party libraries? Have you tried running it on 8.1 in compatibility mode? Have you installed the correct CRT on the Windows 8.1 computer?
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.3.5)

  4. #4
    Join Date
    May 2005

    Re: How to convert a program to 64 bit?

    If your exe and all dependent dll are built in 32 bit then it will work fine on 32 bit as well.As other mentioned this is a dependency issue .Did you tried checking dependency of your program and check for redistributed etc as well.

  5. #5
    Join Date
    Oct 2006

    Re: How to convert a program to 64 bit?

    A quick search indicates that tcwin45 creates 16 bit applications and those will not run in a 64 bit Windows.

    Download a more up to date compiler instead. Visual Studio for instance
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    and before posting

    Refresh your memory on formatting tags here

    Get your free MS compiler here

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width