www.digitalmars.com         C & C++   DMDScript  

c++.idde - Linking libs within IDDE

reply "Matthew Wilson" <dmd synesis.com.au> writes:
Sorry for the dumbness of this question, but I want to link in ADVAPI32.LIB
(and potentially others) and don't want to place an absolute path in the
project files. Obviously on the command line one would specify the name, and
it would pick up the path from within the LIB search paths. Is there a place
within the IDDE for simply specifying a name? (I have tried, but without
success)

Thanks

Matthew
Sep 22 2002
next sibling parent "Walter" <walter digitalmars.com> writes:
I believe you just add the .lib file to the project files.

"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:amlsrv$ibk$1 digitaldaemon.com...
 Sorry for the dumbness of this question, but I want to link in
ADVAPI32.LIB
 (and potentially others) and don't want to place an absolute path in the
 project files. Obviously on the command line one would specify the name,
and
 it would pick up the path from within the LIB search paths. Is there a
place
 within the IDDE for simply specifying a name? (I have tried, but without
 success)

 Thanks

 Matthew
Sep 23 2002
prev sibling next sibling parent Jan Knepper <jan smartsoft.cc> writes:
You can just add the name of the lib, such as ADVAPI32.LIB to the project. (you
do not have to browse to the file).
The IDDE should pickup the sc.ini settings (or scw.ini settings)



Matthew Wilson wrote:

 Sorry for the dumbness of this question, but I want to link in ADVAPI32.LIB
 (and potentially others) and don't want to place an absolute path in the
 project files. Obviously on the command line one would specify the name, and
 it would pick up the path from within the LIB search paths. Is there a place
 within the IDDE for simply specifying a name? (I have tried, but without
 success)

 Thanks

 Matthew
Sep 23 2002
prev sibling parent "Matthew Wilson" <dmd synesis.com.au> writes:
Walter, Jan

Thanks a lot. This works a treat.

Just goes to show how one gets conditioned by other tools (and how UIs are
only intuitive to those familiar with them), because I didn't realise that
the Edit Project dialog allows for the insertion of a file without locating
it on the file system.

I should now be able to get the STLSoft projects all working, including DMC
prj files, in a short space of time.

Thanks again, for the continuing responsive service. :)

Matthew

"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:amlsrv$ibk$1 digitaldaemon.com...
 Sorry for the dumbness of this question, but I want to link in
ADVAPI32.LIB
 (and potentially others) and don't want to place an absolute path in the
 project files. Obviously on the command line one would specify the name,
and
 it would pick up the path from within the LIB search paths. Is there a
place
 within the IDDE for simply specifying a name? (I have tried, but without
 success)

 Thanks

 Matthew
Sep 23 2002