If memory serves, txt must be NUL terminated, even with the NameLen
paramter. Debugging may move some items around in memory that provide an
"invisible" NUL.
JamesS
Jonathan Carse wrote:
Hey folks.
A simple call to WinDrawChars() causes a fatal exception:
WinDrawChars((Char*)txt, NameLen, bounds->topLeft.x+nRightX-NameWidth,
bounds->topLeft.y );
I would post the values of the parameters, but first of all I must
mention that if I put a breakpoint at this line, and step through it, it
works fine.
When no debugger is attached a "Fatal Alert: Fatal Exception" is shown.
OS: Garnet 5.4.7, on a Tungsten E2
If anyone encountered this, I will appreciate it greatly if he/she
advises me on what to do.
Thanks
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/