View Single Post
  #5 (permalink)  
Old 06-19-2008, 08:45 AM
hansen hansen is offline
Novice
Join Date: Jun 2008
Posts: 2
iTrader: (0)
hansen is on a distinguished road
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

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote