well i try compiling my c++ project in visual c++ 6.0 ans get the following error.
-------------------Configuration: MainWnd - Win32 Debug--------------------
Linking...
MainWndDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl SetHooks(struct HHOOK__ *,struct HHOOK__ *,struct HHOOK__ *,struct HWND__ *)" (__imp_?SetHooks@@YAXPAUHHOOK__@@00PAUHW...
MainWndDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall MouseProc(int,unsigned int,long)" (__imp_?MouseProc@@YGJHIJ@Z)
MainWndDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall KeyProc(int,unsigned int,long)" (__imp_?KeyProc@@YGJHIJ@Z)
Debug/MainWnd.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
MainWnd.exe - 4 error(s), 0 warning(s)
please someone help me i need to complete this project everything is depenent on this project.
Plzz please help me??
An unresolved external symbol means that you are trying to use classes / objects without properly linking to or including the right header files or declaring the proper namespaces.
It is also possible that you are executing the program with a different set of COM objects or DLLs than your version of Visual C++ supports.
Check your code to make sure you have called the correct header files and namespaces. Otherwise, you are probably better served installing Visual C++ 6 on a clean install of Windows 98 or the like, to ensure you are working with the proper libraries.
UPDATE:
Please do not communicate follow-ups to me privately via e-mail. Provide additional details here and then ask me to revisit the question.
I have explained this problem to you as succinctly as I can. You told me in your e-mail that you have copied some keylogger code from the Web and have tried to modify it.
The code you copied is clearly using libraries that either do not exist on your machine or you have failed to include in your code.
If you do not know what that means or you cannot figure out how to solve that yourself, then I cannot help you further.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment