I have a MFC application developed using VC++ 5. Recently I ported that
to VC++ 7.1 and now I am trying to compile the MFC application with
/CLR under VC++ 7.1. And I get linker errors referring to one of the
libraries that the project uses. Without the /CLR, the project compiles
and runs well.
There is some library by name task.lib and the code refers to that lib,
in the linker step i get the following linker errors:-
Task.lib : error LNK2019: unresolved external symbol _write_stdout
referenced in function _main
Task.lib : error LNK2019: unresolved external symbol _read_stdin
referenced in function _main
Task.lib : error LNK2019: unresolved external symbol
_enable_signal_ catcher referenced in function _main
Task.lib : error LNK2019: unresolved external symbol _keymatch
referenced in
function _parse_switches
I have searched the project for the symbols that i see in the errors.
It seems that the symbols are inside the lib, and with the /CLR option
it gives out the error.
Please help me in fixing the errors, and enlighten me what happens in
the dark.
to VC++ 7.1 and now I am trying to compile the MFC application with
/CLR under VC++ 7.1. And I get linker errors referring to one of the
libraries that the project uses. Without the /CLR, the project compiles
and runs well.
There is some library by name task.lib and the code refers to that lib,
in the linker step i get the following linker errors:-
Task.lib : error LNK2019: unresolved external symbol _write_stdout
referenced in function _main
Task.lib : error LNK2019: unresolved external symbol _read_stdin
referenced in function _main
Task.lib : error LNK2019: unresolved external symbol
_enable_signal_ catcher referenced in function _main
Task.lib : error LNK2019: unresolved external symbol _keymatch
referenced in
function _parse_switches
I have searched the project for the symbols that i see in the errors.
It seems that the symbols are inside the lib, and with the /CLR option
it gives out the error.
Please help me in fixing the errors, and enlighten me what happens in
the dark.