Re: [flexcoders] Re: Bug in C function caused AIR to crash

2011-12-27 Thread James Ong
Hi, someone just fixed my code, it working fine. But how do I inspect in Flex Builder where I have installed CDT and MingGW? On Tue, Dec 27, 2011 at 9:59 PM, Tomislav wrote: > ** > > > Did you try inspecting FREResut values from FREGetObjectAsUTF8 calls? > > FREREsult res = FRENewObjectFromUTF

[flexcoders] Re: Bug in C function caused AIR to crash

2011-12-27 Thread Tomislav
Did you try inspecting FREResut values from FREGetObjectAsUTF8 calls? FREREsult res = FRENewObjectFromUTF8(strlen(strAll)+1, (uint8_t *)strAll, &result); printf("%d", res ); --- In flexcoders@yahoogroups.com, "yanlilei64" wrote: > > No one know? > > > --- In flexcoders@yahoogroups.com, "ya

[flexcoders] Re: Bug in C function caused AIR to crash

2011-12-26 Thread yanlilei64
No one know? --- In flexcoders@yahoogroups.com, "yanlilei64" wrote: > > I want to pass the "James" string to getTestString function, the first > time, the string could return "This is James" without any error. > Subsequently after the button is click, the application will just > hang/crash (grey