1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to? Swapping between versions via tcstart

Discussion in 'TCC/LE Support' started by tryforsure, Sep 17, 2013.

  1. tryforsure

    Joined:
    May 19, 2010
    Messages:
    2
    Likes Received:
    0
    Hi,

    I've been using tcc/le 32 bits for a while but now, on x64, I'm having a slight problem with redirection.
    So now that I notice there is a 64 bit version off tcc I can run this. problem solved

    Or it would be as now I realise that when I take my pen drive to a friends house and tcc x64 wont run on their x86 operating system.
    I know it is easy to just have 2 folders 1 each for the different versions but I'm quite lazy so I was wondering if it was possible to:
    A: install both versions in same folder and just rename the tcc/le x64 exe to tcc64.exe or similar
    and
    B:choose, via tcstart, which version to execute depending on operating system

    Regards
    Dazbo
     
  2. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    Sorry, neither method works.
    A: fails because not only TCC/LE is in the installation directory, but also several DLLs, and their name is the same in the 32b and 64b versions.
    B: fails because TCC/LE is loaded before TCSTART is executed.

    However, you can write a special batch file, executed by 32b TCC/LE, which loads the desired version (you can even use a dialog for dynamic user choice) and exits. This batch file can even be executed by the AUTORUN feature when you plug in your pen drive.

    BTW, what problem do you have with redirection when 32b TCC/LE is run on 64b Windows? And which version of Windows? Personally I have no redirection problems using 32b TCC (full version, not LE) on 64b Win7.
     
  3. tryforsure

    Joined:
    May 19, 2010
    Messages:
    2
    Likes Received:
    0
    Yes I expected some thing like this!

    I went looking for a solution when I was checking out why I could not access a file, I could clearly see, in the system32 directory.
    I came on the jpsoft website and found that, there was a x64 version and that there is an option to turn off"Win64 File redirection."

    Now that I have the x64 version I would prefer to use this on a x64 machine lest I run into some problem in the future.

    Thanks for your help Steve!

    Regards
    Dazbo
     
  4. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    You're welcome.
    BTW, against Rex' advice, I normally use 32b TC on my 64b Win7 system, because I like to utilize some of the 32b-only plugins. If there is a performance hit, it is so little my senses are too slow to observe it.
     

Share This Page