Thread: Executable with unwanted dll dependency (Borland)

  1. #1
    Registered User Mario's Avatar
    Join Date
    May 2002
    Posts
    317

    Executable with unwanted dll dependency (Borland)

    How can I get rid of CC3250.DLL (single threaded) or CC3250MT.DLL (multi threaded) dependencies over a built executable under Borland 5 Professional?

    I just noticed this by chance. It's a simple console project. No VCL, no nothing. With just iostream and iomanip includes and using the std namespace.

    I tried to build it again as a release version and still nothing.
    Looked at BCB 5 documentation, and if I read it correctly, need to include the corresponding .bpl package in the compiler options. But I couldn't find it under the lib folder (or I don't know which package it is).

    Please don't tell me this DLL will have to go with all final release applications. It's a ~1.4Mb file and completely defeats the idea of a small sized app.
    Regards,
    Mario Figueiredo
    Using Borland C++ Builder 5

    Read the Tao of Programming
    This advise was brought to you by the Comitee for a Service Packless World

  2. #2
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    make sure you check both the library and include directories...beyond that i suggest writing borland/checking their FAQ...perhaps you need to download the .bpl package from their site (i only have the command line version of bcc55) sorry i couldn't be of more help
    PHP and XML
    Let's talk about SAX

  3. #3
    Davros
    Guest
    Goto the Project options page

    Deselect 'Use Dynamic RTL' on Linker tab
    Deselect 'Build with Runtime Packages' on Package tab'

    Rebuild your exe

  4. #4
    Registered User Mario's Avatar
    Join Date
    May 2002
    Posts
    317
    Thanks Davros

    That did it.
    This will off course bring yet a batch of new questions... but when the time comes I'll be asking them if I didn't figure it out myself by then.

    For now I'm happy
    Regards,
    Mario Figueiredo
    Using Borland C++ Builder 5

    Read the Tao of Programming
    This advise was brought to you by the Comitee for a Service Packless World

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Loading a DLL that is not in the same directory as the executable
    By starcatcher in forum Windows Programming
    Replies: 10
    Last Post: 12-13-2008, 07:05 AM
  2. Borland C++ V3 DLL Creation
    By jamez05 in forum C++ Programming
    Replies: 0
    Last Post: 09-22-2005, 06:55 AM
  3. dll communicating between each other
    By cloudy in forum C++ Programming
    Replies: 5
    Last Post: 06-17-2005, 02:20 AM
  4. .lib vs .h vs .dll
    By Shadow12345 in forum C++ Programming
    Replies: 13
    Last Post: 01-01-2003, 05:29 AM
  5. how to compile a dll with free borland compiler.
    By richgi in forum C Programming
    Replies: 0
    Last Post: 10-13-2001, 09:04 AM