Discuss Incompatible types: Array and PAnsiChar in the Delphi Programming forum on Dev Shed. Incompatible types: Array and PAnsiChar Delphi Programming forum discussing Delphi related topics including Kylix, C++ Builder, and more. Delphi is a high-performance language, originally based on the PASCAL language.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 496
Time spent in forums: 3 Days 21 h 59 m 29 sec
Reputation Power: 86
Damn it works with streams so what's with this com port thing ... hm ... Maybe there is a method like ReadChar there? You could use it two times to read a character in the worst case. You could probably define the buffer as PChar and Read(p^, 2) or is it Read(p, 2) ... but i'm not sure how you would get the bytes out of that damn pchar after that.