| errors in compilation Hi
I am using Visual Studio 2005 v8.0. and I have some errors in the routine -> OpenFileDialog(char FileName[])
Here is the errors
Warning 1 warning C4018: '>' : signed/unsigned mismatch 58
Error 2 error C2440: '=' : cannot convert from 'char [512]' to 'LPWSTR' 178
Error 3 error C2440: '=' : cannot convert from 'const char [10]' to 'LPCWSTR' 180
Error 4 error C2664: 'GetCurrentDirectoryW' : cannot convert parameter 2 from 'char [512]' to 'LPWSTR' 183
Error 5 error C2664: 'SetCurrentDirectoryW' : cannot convert parameter 1 from 'char [512]' to 'LPCWSTR' 193
Error 6 error C2664: 'SetCurrentDirectoryW' : cannot convert parameter 1 from 'char [512]' to 'LPCWSTR' 197
The comments in the code mention to not ask you how it works, but I would like to know if it works for you, what version do u have and where did you get that code,
thanks a lot in advance |