Vote UpVote

CreateProcess Declaration

JEDI Windows API – If you look at the MSDN documentation of CreateProcess you might notice the following remark for the lpCommandLine parameter: The Unicode version of this function, CreateProcessW, can modify the contents of this string. Therefore, this parameter cannot be a pointer to read-only memory (such as a const variable or a literal string). If this parameter is a constant string, the function may cause an access violation. This means that when you move over to Unicode (Delphi 2009/2010) existing code might produce an Access Violation. This code for example will produce an Access Violation: ...
Favorite? Off-Topic? Remko @ 2009-11-11 22:40


Visits: 689
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)