PDA

View Full Version : Convert ansistring to pchar



T-Bear
19-04-2012, 06:48 PM
Is it possible to convert ansistring to pchar? I need this to pass a string to a procedure, but i dont know how.

Any tips? TY! ;)

User137
19-04-2012, 07:00 PM
Would this simply work?
PChar(YourStringVariable)

T-Bear
19-04-2012, 07:04 PM
Yes that works :) Thank you!