I have had a number of problems recently with certain functions and GUIDs not being defined properly/not being read properly by the compiler. My guess is that eithor a windows library is corrupt, or I need to change a setting in my compiler...
Anyway, the problem is that when I tried using the GetOpenFileName(OPENFILENAME) function, the compiler comes back saying something like "Undefined Symbol __stdcall(4) GetOpenFileName(OPENFILENAME) ... ". I am interpreting this as being the compiler's way of saying it doesn't recognize the function. MSDN says to include windows.h to use it, and so I have, but it still doesn't seem to recognize it.
The compiler I am using is Metrowerks Codewarrior.
Any ideas?
Anyway, the problem is that when I tried using the GetOpenFileName(OPENFILENAME) function, the compiler comes back saying something like "Undefined Symbol __stdcall(4) GetOpenFileName(OPENFILENAME) ... ". I am interpreting this as being the compiler's way of saying it doesn't recognize the function. MSDN says to include windows.h to use it, and so I have, but it still doesn't seem to recognize it.
The compiler I am using is Metrowerks Codewarrior.
Any ideas?