Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am working on code given in insid

Status
Not open for further replies.

pranavjosh

Programmer
Apr 12, 2001
30
IN
I am working on code given in inside com.I am creating
a DLL on command line how to pass the object files to the
dll that also more than two
 
pranavjosh -

I'm having a hard time understanding your question.

I think you're asking, when compiling/linking a DLL, how to overcome the command-line length limit of about 120 characters? If so, what you do is supply a command file:
[tt]
CL /Ob2 @RESP MYAPP.C
[/tt]
where the file RESP contains:
[tt]
/Og /link LIBC.LIB
[/tt]
which results in:
[tt]
CL /Ob2 /Og MYAPP.C /link LIBC.LIB
[/tt]

Hope this is what you were asking. You can find out more on the MSDN website (msdn.microsoft.com), and by running the CL.EXE with the /? switch.

Chip H.




 
have u tried to compile the registry.cpp file given in
the book "INSIDE COM". IT gives errors unsesolved external
symbols,the functions are defined in the objbase.h but i dont know which lib file the functions are defined
 
No, I don't have a copy of the book. Sorry.

Have you checked the publisher's website? Sometimes they post updates to the software that was published in the book.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top