Pointer contents

new topic     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

------=_NextPart_000_002A_01C0C92B.864DDB80
	charset="iso-8859-1"

Ok, what's the best way to access pointer contents?

For example:

  ptr =3D allocate_string( "              " )

and then I use this to pass on to a WINAPI function . . .  but then, how =
do I retrieve what the API function put into the pointer, I guess more =
appropriately, address of . . .?



------=_NextPart_000_002A_01C0C92B.864DDB80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Ok, what's the best way to access =
pointer=20
contents?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>For example:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3D"Courier New" =
size=3D2>&nbsp; ptr =3D=20
allocate_string(=20
"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
" )</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2><FONT face=3DArial>and then I =
use this to=20
pass on to a WINAPI function . . .&nbsp; but then, how do I retrieve =
what the=20
API function put into the pointer, I guess more appropriately, address =
of . .=20
.?</FONT></DIV>

------=_NextPart_000_002A_01C0C92B.864DDB80--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu