Alexander Nicolaysen Sørnes wrote:
This will be useful for the file saving code.Regards, Alexander N. Sørnes
+ WCHAR wszCaption[MAX_PATH]; + + if(wszNewFileName) + { + lstrcpyW(wszCaption, wszNewFileName); + lstrcatW(wszCaption, wszSeparator); + lstrcatW(wszCaption, wszAppTitle); Looks like there are possible buffer overflow