<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>17 Oct 2015 16:17:00 Z</lastBuildDate><pubDate>16 Oct 2015 15:48:00 Z</pubDate><description>Hi,&#13;
I am working on a dll file in Windev.&#13;
I have a callback function which has one parameter returned by system.&#13;
I can only get the address of this variable (the third parameter: nResponseAddress), it keeps a unsigned long variable in C. I used system int to keep the address.&#13;
How do I get the value in this address?&#13;
&#13;
I read some document from Windev website.&#13;
I saw there is a function&#13;
Transfer( , , )&#13;
However, from the document about my callback function the value in here is supposed to be either 1 or 2. But Windev returns 16.&#13;
&#13;
Did I missed something? Here is my code:&#13;
&#13;
PROCEDURE CallBackControl(sMyConext is string, nStateMask is system int, nResponseAddress is system int, nSignal is system int, nBitmapAddress is system int)&#13;
&#13;
nResponseValue is int&#13;
nResponseTempAddress is system int = &amp;nResponseValue&#13;
&#13;
Transfer(&amp;nResponseValue,nResponseAddress,4)&#13;
&#13;
After I run this function, nResponseValue is 16.&#13;
&#13;
Thank you.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this/read.awp</link><title>Get an integer value which only has address of this variable (transfer() function)</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this-54515/read.awp</comments><pubDate>17 Oct 2015 16:17:00 Z</pubDate><description>Hi Bruce,&#13;
&#13;
nResponse is int on 4 bytes (If the DLL you are calling is a 32 bit DLL otherwise is int on 8 bytes)&#13;
Trace(&amp;nRespo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this-54515/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this-54515/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this/read.awp">Get an integer value which only has address of this variable (transfer() function)</source><title>Re: Get an integer value which only has address of this variable (transfer() function)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this-54513/read.awp</comments><pubDate>17 Oct 2015 00:30:00 Z</pubDate><description>Hi Michael,&#13;
&#13;
Thank you for your reply.&#13;
It is my fault that I didn't describe my question very well.&#13;
I am using WD20, latest …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this-54513/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this-54513/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this/read.awp">Get an integer value which only has address of this variable (transfer() function)</source><title>Re: Get an integer value which only has address of this variable (transfer() function)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this-54511/read.awp</comments><pubDate>16 Oct 2015 20:54:00 Z</pubDate><description>I think the reason you're not getting any replies is the lack of detail here. For example, what is returning the pointer? And wh…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this-54511/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this-54511/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54505-get-integer-value-which-only-has-address-this/read.awp">Get an integer value which only has address of this variable (transfer() function)</source><title>Re: Get an integer value which only has address of this variable (transfer() function)</title></item></channel></rss>
