1. Computing

Preserve The Value of a Pointer Type Value Parameter in Delphi Callbacks for Simple Types

By August 16, 2011

Follow me on:

in Delphi TIPS :: Oh, what a stupid title. :(

The title is about 4 lines of code - a trick when using simple types like integers for Pointer type value parameters in callback functions. Ha, again this makes no sense :(

Ok, let's try it this way: how to preserve the value of a simple type variable, like an integer, when the parameter of a function is a is a Pointer value parameter and the function will be called several times. Ha, that's better (I hope).

Read the full article to learn about Passing a Simple Type Variable (Integer) for a Pointer Parameter.


Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.