mshahabuddin
Programmer
Hi,
I am trying to run my C code file with an essembly code file. In the header of my C file, I have written all the prototypes of the functions of which the implementation is present in the assembly code file. My C file compiles okay, but when I try to run it, it gives link error
<filename>.obj : error LNK2001: unresolved external symbol <name>
One thing that I dont know is that I defined the prototypes in my header file as
ReturnType FunctionName(Parameters);
and its implementation in the assembly code is such that there is an underscore before the function name, I dont know if it matters b/c I tried to make them similar and that didnt work either.
my C program is a DOS application and I am using Microsoft Visual C++ 6.0 compiler.
I will highly appreciate any help in this regard.
Thanks and best regards,
Shahabuddin Muhammad
I am trying to run my C code file with an essembly code file. In the header of my C file, I have written all the prototypes of the functions of which the implementation is present in the assembly code file. My C file compiles okay, but when I try to run it, it gives link error
<filename>.obj : error LNK2001: unresolved external symbol <name>
One thing that I dont know is that I defined the prototypes in my header file as
ReturnType FunctionName(Parameters);
and its implementation in the assembly code is such that there is an underscore before the function name, I dont know if it matters b/c I tried to make them similar and that didnt work either.
my C program is a DOS application and I am using Microsoft Visual C++ 6.0 compiler.
I will highly appreciate any help in this regard.
Thanks and best regards,
Shahabuddin Muhammad