error LNK2019: unresolved external symbol imc_timed_status_line referenced in function trnMoveItem
Posted on 2006-05-30
I have inherited an old C application that we ran on a handheld barcode scanner (dos os). We just bought new barcode scanners that have the Windows CE OS on them and I am upgrading the old C code to be compatible with the CE environment. I am receiving the above error when I try to build the project. I think I am just missing the library or something. I am using Microsoft eMbedded Visual C++ 4.0 to do the conversion. Below are code snipets. I'm not real sure why this won't work and any help would be greatly appreciated!!!
Here is the definition in a header file called imscreen.h
int far imc_timed_status_line(char far * pszStatusLine,IM_USHORT iTimeout, IM_USHORT iLine);
I am including the header file in my main C program:
Here is where the variable is being set within the function trnMoveItem:
if ( iTranStatus == TRXEX_OK )
im_status_line ( EmptyString, IM_FALSE, IMgiStatusLine );
imc_timed_status_line ( "Move accepted...", IMgiStatusTime, IMgiStatusLine );
iReturnValue = trnCopyMove( );
All the pieces seem to be there so that is why I am thinking it could be a library issue??? Any help would be great.