Erik N
asked on
The use of GetWindowsDirectory..
I tried to use it like this...
Procedure Button1.Click...
Var Test:PChar;
BufferS:Integer;
Begin
BufferS:=255;
GetWindowsDirectory(test,B ufferS);
ShowMessage(Test);
End;
However, I get some message like "Access Violation"...
Is there somebody outthere who knows how to use it?
Please give me a syntax example....
Thanx!
Erik N.
Procedure Button1.Click...
Var Test:PChar;
BufferS:Integer;
Begin
BufferS:=255;
GetWindowsDirectory(test,B
ShowMessage(Test);
End;
However, I get some message like "Access Violation"...
Is there somebody outthere who knows how to use it?
Please give me a syntax example....
Thanx!
Erik N.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for this, ronit!
Erik N.
Erik N.
ASKER