error LNK2001: unresolved external symbol "extern "C" ...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi! How can I fix this error?

Error 1 error LNK2001: unresolved external symbol "extern "C" long __stdcall
SHFlushClipboard(void)" (?SHFlushClipboard@@$$J10YGJXZ) UnmanagedTest.obj


Basically I am calling the SHFlushClipboard method from "shlobj.h" (Win32)
in a managed c++ app.

~Matt
 
Back
Top