|2006-05-20, 01:33 AM||#1|
Join Date: May 2006
double byte charactor break
I'm using SWFStudio 3.2 and WindowsXP.
I made a plugin and a dll like your sample V3 plugin, CallDLL and Hello.
Plugin is made with Visual C++ 6
DLL is made with Visual Studio 2005
The plugin call DLL function with LPCTSTR argument then DLL respond LPCTSTR back to plugin.
problem is some Japanese charactor is not sent properly to DLL.
Even just Flash pass a String to Plugin then Plugin back the LPCTSTR to Flash , string was broken.
Do you have any workaround for these case.
I use URLencoding and Decoding when transfer String, and it seems working so far, but not for sure.