[ros-bugs] [Bug 2484] _tcschr (and others) don't work.

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Fri Jul 27 14:56:28 CEST 2007


http://www.reactos.org/bugzilla/show_bug.cgi?id=2484





------- Comment #4 from carlo.bramix at libero.it  2007-07-27 14:56 CET -------
anyways, here there is the disasm of the code taken directly from MSVC:

11:       TCHAR str[256];
12:       TCHAR *ptr;
13:
14:       ptr = _tcschr(data, TEXT('.'));
0040103E   push        2Eh
00401040   push        offset _data (00414410)
00401045   call        @ILT+0(__tcschr) (00401005)
0040104A   add         esp,8
0040104D   mov         dword ptr [ebp-104h],eax

In one way or another, _tcschr() function exists, and it's an inline function
declared into TCHAR.H.
Internally, it calls _mbschr().
Perhaps you compiled with full optimization and you didn't see it.
I'm just sure of one thing: this executable doesn't work in ROS.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.


More information about the Ros-bugs mailing list