Borland/CC3250MT.DLL

This is a discussion on Borland/CC3250MT.DLL within the Windows Programming forums, part of the Platform Specific Boards category; Hello! I recently compile a simple app for windows (actually it dows nothing....is just an interface with buttons doing nothing) ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    26

    Borland/CC3250MT.DLL

    Hello!
    I recently compile a simple app for windows (actually it dows nothing....is just an interface with buttons doing nothing) and, when I run in other machine, an error appears (CC3250MT.DLL missing).

    the CC3250MT.DLL is in the \bin directory of the borland compiler.
    What causes this dependency?
    How can I compile the program without this dependecy?
    Thanks

    Jester

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    Try a release version or static linking.
    "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

  3. #3
    andy668
    Guest
    To ensure a static build, go the Options page of your project and :

    Packages - turn off 'Build with Runtime Packages'
    Linker - turn off 'Use Dynamic RTL'

    Personally, I would build all apps as static to ensure compatability. However, there may be occasions when it is desirable to link them at runtime. If you intend to do this, you must distribute the required Borland runtime libraries with your app.

    Andy

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    26

    Command line

    And how do I do it using command line options?????
    #pwd
    Brazil

  5. #5
    Unregistered
    Guest
    Use a makefile with 'make.exe'

    If you are using the bcc5.5 cmd line tools then here are a couple of useful places to get you started:

    http://www.pharo.onlinehome.de/Bcc55.html

    That one will walk you through a very straightforward 'how-to'

    http://www.foosyerdoos.fsnet.co.uk

    That one will provide more concrete examples and also uses a generic makefile for windows apps.

    If later on, you decide to use dynamic linking then just make sure you link with CC3250MT.DLL.


    BTW The system looks for dll's in a preferred way. It looks in the 'system' directory of your windows install. If it doesn't find it there it looks in the directory of the calling process (that's the program you are trying to run). It also looks in any dir specified in the PATH command if you included it in your autoexec.bat

    So a 'quick fix' to avoid recompilation is to copy the CC3250MT.DLL into the same directory as your program.

  6. #6
    Registered User
    Join Date
    Dec 2001
    Posts
    26

    Thanks

    All right!! I'll take a look! thanks a lot!!

    Jester
    #pwd
    Brazil

Popular pages Recent additions subscribe to a feed

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