Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Borland Delphi > Re: Typed Point...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 3667 of 3952
Post > Topic >>

Re: Typed Pointer Assignment via Untyped Pointer Parameter not possible ?!?!?!

by "Skybuck Flying" <spam@[EMAIL PROTECTED] > Mar 29, 2008 at 08:41 AM

Oh well then I probably don't need to modify my linked list...

Since it would probably still require typecasts from typed pointer, to 
untyped pointer if the list works with untyped pointers.

Might as well use the type checking feature of Delphi...

and make sure the external routines use the alias trick:

MyNode : PMyNode;
Node : Pnode absolute MyNode;

    then just do:

List.Add( Node );

Bye,
  Skybuck.
 




 4 Posts in Topic:
Typed Pointer Assignment via Untyped Pointer Parameter not possi
"Skybuck Flying"  2008-03-29 08:26:07 
Re: Typed Pointer Assignment via Untyped Pointer Parameter not p
"Skybuck Flying"  2008-03-29 08:36:05 
Re: Typed Pointer Assignment via Untyped Pointer Parameter not p
"Skybuck Flying"  2008-03-29 08:37:14 
Re: Typed Pointer Assignment via Untyped Pointer Parameter not p
"Skybuck Flying"  2008-03-29 08:41:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 6:59:59 CDT 2008.