1. Home
  2. Computing & Technology
  3. Delphi Programming
Zarko Gajic
Zarko's Delphi Programming Blog

By Zarko Gajic, About.com Guide to Delphi Programming

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

Tuesday September 22, 2009

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.

Related:

Comments

No comments yet. Leave a Comment

Leave a Comment

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

Explore Delphi Programming
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.