Thread: Unicode
View Single Post
Old 6th November 2009, 16:01   #325
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,946
Noooooooooo, we don't need a IsUnicodeNSIS() function or any kind of pluginapi helpers to do both.

It has already been done with the unicode layer for win9x, just use that.

I'm with Jim on this, plugin devs should use TCHAR and compile two versions. There is also my CallAnsiPlugin plugin for older stuff with no source.

@Wizou: well, I'm sure it can be done without checking the import table. The IsBadReadPtr usage was just a big hack and I never finished that type of detection.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote