You're not going to believe this. I skeptically added the one line
#include <windows.h>
immediately above the offending code, and every one of the 233 compile errors went away.
A one line fix, and you found it.
Now the only problem is there is one unresolved external symbol. Want to take a chance on this one?
seti_boinc error LNK2019: unresolved external symbol "unsigned int * __cdecl read_rgb_texture(char const *,int *,int *,int *)" (?read_rgb_texture@@YAPAIP
Any idea about that one?
Main Topics
Browse All Topics





by: jaime_olivaresPosted on 2005-10-08 at 12:25:00ID: 15045627
Maybe you need
#include "windows.h"
at the beginning of your source file, to HINSTANCE to be recognized.