16-01-2011, 10:20 PM
السلام عليكم و رحمة الله
إضافة لما ذكره الأستاذ kachwahed
في الدلفي 2009 و + يجب إضافة
و إلا واجهت :
إضافة لما ذكره الأستاذ kachwahed
في الدلفي 2009 و + يجب إضافة
كود :
...
[COLOR=Green]UniqueString(DosApp);[/COLOR]
if CreateProcess(nil,
PChar(DosApp),
...إقتباس :Exception class EAccessViolation with message 'Access violation at address 7C82F284 in module 'kernel32.dll'. Write of address 004B21F2'
إقتباس :و السلام عليكم...
UniqueString is used only in cases where an application modifies the contents of a string after
- Casting the string to a PAnsiChar or PWideChar in Delphi ...

