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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top