SerialPortAPIDlg.cpp
Linking...
SerialPortAPIDlg.obj : error LNK2001: unresolved external symbol "unsigned long __stdcall SerialPort1ThreadProcess(struct HWND__ *)" (?SerialPort1ThreadProcess@@YGKPAUHWND__@@@Z)
Debug/SerialPortAPI.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
 
在SerialPortControl.CPP文件中定义的,
在调用SerialPort1ThreadProcess的文件中#include "SerialPortControl.h"了头文件,并且SerialPortControl.h中申明了这个全局函数!
extern DWORD WINAPI SerialPort1ThreadProcess(HWND hWnd);