M
mp
Hi,
I have a Static library application in vc++ which generates
Parser.lib.
I have written a exe application in vc++ that links to Parser.lib.
This does some processing. (This project generates processor.exe) I
have given the path to Parser.lib in the additional library resources
in the linker settings and included a header file Parser.h. This
works perfectly.
But the actual requirement is that I should have processor.lib instead
of processor.exe so that I can call it from another project. So I
created a Static library and followed the same steps (including the
header and giving the path to the Parser.lib) THis generated
Processor.lib
NOW THE PROBLEM IS WHEN I link PROCESSOR.LIB from a exe project
(caller). I gave the include files and path to Processor.lib, but I
get the error:
unresolved external symbol "int __cdecl check(void)
(check() is a function in the Static Library Processor.lib )
Why does this happen?
It works when I have a Parser.lib and Processor.exe
But when I call Parser.lib <- Processor.lib <- caller (exe project) it
fails. Why is that ?
PLEASE HELP!
I have a Static library application in vc++ which generates
Parser.lib.
I have written a exe application in vc++ that links to Parser.lib.
This does some processing. (This project generates processor.exe) I
have given the path to Parser.lib in the additional library resources
in the linker settings and included a header file Parser.h. This
works perfectly.
But the actual requirement is that I should have processor.lib instead
of processor.exe so that I can call it from another project. So I
created a Static library and followed the same steps (including the
header and giving the path to the Parser.lib) THis generated
Processor.lib
NOW THE PROBLEM IS WHEN I link PROCESSOR.LIB from a exe project
(caller). I gave the include files and path to Processor.lib, but I
get the error:
unresolved external symbol "int __cdecl check(void)
(check() is a function in the Static Library Processor.lib )
Why does this happen?
It works when I have a Parser.lib and Processor.exe
But when I call Parser.lib <- Processor.lib <- caller (exe project) it
fails. Why is that ?
PLEASE HELP!