I'm getting this output from the linker:
I've seen references to this in ole32 stuff but I'm not using any of those libraries. Any ideas before I start trying to hunt this down?
mind.obj : error LNK2001: unresolved external symbol _CoTaskMemFree@4
mind.exe : fatal error LNK1120: 1 unresolved externals
I've seen references to this in ole32 stuff but I'm not using any of those libraries. Any ideas before I start trying to hunt this down?
It is strange. Maybe the obj file. Create again the obj file.
rdaneel,
You must include the INCLUDE file and the LIBRARY file for OLE32.
include \masm32\include\ole32.inc
includelib \masm32\lib\ole32.lib
There is a toy in the latest release of MASM32 to find these for you, it is called LIBLIST.EXE. Just type in the name and double click or press enter on the name and it will tell you which linrary it is in.
Regards,
hutch@movsd.com
You must include the INCLUDE file and the LIBRARY file for OLE32.
include \masm32\include\ole32.inc
includelib \masm32\lib\ole32.lib
There is a toy in the latest release of MASM32 to find these for you, it is called LIBLIST.EXE. Just type in the name and double click or press enter on the name and it will tell you which linrary it is in.
Regards,
hutch@movsd.com
I'm not putting ole32.inc or ole32.lib in and now it is doing this with all of my programs.