Thursday, April 30, 2009

Solve the porting UNICODE from VC6 to VS2008

Some MS functions i.e, GetPrivateProfileInt or GetCurrentDirectory, may fail to compile if porting from VC6 to VS2008. The reason is the VS2008 is using the UNICODE as default setting. The solution is by changing the system setting options from "Use Unicode Character Set" replacing with "Use Multi-Byte Character Set".

No comments: