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

    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
    Location
    Hanover Germany
    Posts
    20,396

    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
    Location
    England
    Posts
    7,822

    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 https://creativecommons.org/publicdomain/zero/1.0/ 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.6.5)

  4. #4
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    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
    Location
    Sweden
    Posts
    3,654

    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 https://www.visualstudio.com/en-us/p...munity-vs.aspx
    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
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

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

Featured