From: Malcolm Hoar on
In article <e0W5xr2gKHA.3792(a)TK2MSFTNGP02.phx.gbl>, "David Craig" <drivers(a)noemail.noemail> wrote:
>This is very simple debugging.

Heh, well it was eventually.

The environment structure was initially assembled in a
CString and then copied to a buffer.

Apparently, the handling of embedded nulls in a CString
changed from Visual Studio 6.0 and 9.0.

--
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Malcolm Hoar "The more I practice, the luckier I get". |
| malch(a)malch.com Gary Player. |
| http://www.malch.com/ Shpx gur PQN. |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~