I cannot link the CreateILockBytesOnHGlobal() method in my Visual Studio project. I get an unresolved token error while linking. My project is a plain Windows Forms Project. Any ideas how to fix that?
I cannot link the CreateILockBytesOnHGlobal() method in my Visual Studio project. I get an
Share
As it is said in the table at the bottom of the page, you should link with the
Ole32.liblibrary. Add it to Linker + Input + Additional Dependencies setting.