Pascal Game Development
>
Programming
>
General
> Convert ansistring to pchar
Log in
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!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.