I have some modules written in "C" and they take parameters. Please take
the following example and inform how to code it ?
::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
#pragma BEGINDUMP
XA_FUNC( XAROUTINE )
{
int result;
result = MyRoutine( iAmount );
hb_reti( result );
}
#pragma ENDDUMP
TIA.
Regards,
David Fung
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
XA_FUNC interface
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
XA_FUNC interface
Got it
hb_param()..., Sorry for the trouble.
david fung wrote:
> I have some modules written in "C" and they take parameters. Please take
> the following example and inform how to code it ?
>
>
> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>
>
>
> #pragma BEGINDUMP
>
> XA_FUNC( XAROUTINE )
> {
> int result;
>
> result = MyRoutine( iAmount );
>
> hb_reti( result );
> }
>
> #pragma ENDDUMP
>
> TIA.
>
> Regards,
> David Fung
hb_param()..., Sorry for the trouble.
david fung wrote:
> I have some modules written in "C" and they take parameters. Please take
> the following example and inform how to code it ?
>
>
> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>
>
>
> #pragma BEGINDUMP
>
> XA_FUNC( XAROUTINE )
> {
> int result;
>
> result = MyRoutine( iAmount );
>
> hb_reti( result );
> }
>
> #pragma ENDDUMP
>
> TIA.
>
> Regards,
> David Fung
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
XA_FUNC interface
Got it
hb_param()..., Sorry for the trouble.
david fung wrote:
> I have some modules written in "C" and they take parameters. Please take
> the following example and inform how to code it ?
>
>
> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>
>
>
> #pragma BEGINDUMP
>
> XA_FUNC( XAROUTINE )
> {
> int result;
>
> result = MyRoutine( iAmount );
>
> hb_reti( result );
> }
>
> #pragma ENDDUMP
>
> TIA.
>
> Regards,
> David Fung
hb_param()..., Sorry for the trouble.
david fung wrote:
> I have some modules written in "C" and they take parameters. Please take
> the following example and inform how to code it ?
>
>
> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>
>
>
> #pragma BEGINDUMP
>
> XA_FUNC( XAROUTINE )
> {
> int result;
>
> result = MyRoutine( iAmount );
>
> hb_reti( result );
> }
>
> #pragma ENDDUMP
>
> TIA.
>
> Regards,
> David Fung
XA_FUNC interface
David,
Mayby will be helpful... In www.capelblog.com there are some articles that
explains in a easy way how to make 'C' functions for (x)Harbour. The
articles are in spanish but I think that translators can help you. Look for
'Aprender a restar','Aprender a sumar' and 'Aprender a multiplicar'
articles.
Regards,
José Luis Capel
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:453dc163$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Got it
>
> hb_param()..., Sorry for the trouble.
>
>
> david fung wrote:
>> I have some modules written in "C" and they take parameters. Please take
>> the following example and inform how to code it ?
>>
>>
>> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>>
>>
>>
>> #pragma BEGINDUMP
>>
>> XA_FUNC( XAROUTINE )
>> {
>> int result;
>>
>> result = MyRoutine( iAmount );
>>
>> hb_reti( result );
>> }
>>
>> #pragma ENDDUMP
>>
>> TIA.
>>
>> Regards,
>> David Fung
Mayby will be helpful... In www.capelblog.com there are some articles that
explains in a easy way how to make 'C' functions for (x)Harbour. The
articles are in spanish but I think that translators can help you. Look for
'Aprender a restar','Aprender a sumar' and 'Aprender a multiplicar'
articles.
Regards,
José Luis Capel
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:453dc163$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Got it
>
> hb_param()..., Sorry for the trouble.
>
>
> david fung wrote:
>> I have some modules written in "C" and they take parameters. Please take
>> the following example and inform how to code it ?
>>
>>
>> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>>
>>
>>
>> #pragma BEGINDUMP
>>
>> XA_FUNC( XAROUTINE )
>> {
>> int result;
>>
>> result = MyRoutine( iAmount );
>>
>> hb_reti( result );
>> }
>>
>> #pragma ENDDUMP
>>
>> TIA.
>>
>> Regards,
>> David Fung
XA_FUNC interface
David,
Mayby will be helpful... In www.capelblog.com there are some articles that
explains in a easy way how to make 'C' functions for (x)Harbour. The
articles are in spanish but I think that translators can help you. Look for
'Aprender a restar','Aprender a sumar' and 'Aprender a multiplicar'
articles.
Regards,
José Luis Capel
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:453dc163$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Got it
>
> hb_param()..., Sorry for the trouble.
>
>
> david fung wrote:
>> I have some modules written in "C" and they take parameters. Please take
>> the following example and inform how to code it ?
>>
>>
>> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>>
>>
>>
>> #pragma BEGINDUMP
>>
>> XA_FUNC( XAROUTINE )
>> {
>> int result;
>>
>> result = MyRoutine( iAmount );
>>
>> hb_reti( result );
>> }
>>
>> #pragma ENDDUMP
>>
>> TIA.
>>
>> Regards,
>> David Fung
Mayby will be helpful... In www.capelblog.com there are some articles that
explains in a easy way how to make 'C' functions for (x)Harbour. The
articles are in spanish but I think that translators can help you. Look for
'Aprender a restar','Aprender a sumar' and 'Aprender a multiplicar'
articles.
Regards,
José Luis Capel
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:453dc163$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Got it
>
> hb_param()..., Sorry for the trouble.
>
>
> david fung wrote:
>> I have some modules written in "C" and they take parameters. Please take
>> the following example and inform how to code it ?
>>
>>
>> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>>
>>
>>
>> #pragma BEGINDUMP
>>
>> XA_FUNC( XAROUTINE )
>> {
>> int result;
>>
>> result = MyRoutine( iAmount );
>>
>> hb_reti( result );
>> }
>>
>> #pragma ENDDUMP
>>
>> TIA.
>>
>> Regards,
>> David Fung
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
XA_FUNC interface
Thank you for the reference, any resource could be helpful.
So many questions to be asked. I'll take a look of them. I've been
searching the web and NG to find answers.
Few of my yesterday questions still outstanding ! I guess I just have to
wait a little longer.
Thanks.
David
José Luis Capel wrote:
> David,
>
> Mayby will be helpful... In www.capelblog.com there are some articles that
> explains in a easy way how to make 'C' functions for (x)Harbour. The
> articles are in spanish but I think that translators can help you. Look for
> 'Aprender a restar','Aprender a sumar' and 'Aprender a multiplicar'
> articles.
>
> Regards,
> José Luis Capel
>
> "david fung" <davfung@yahoo.com> escribió en el mensaje
> news:453dc163$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> Got it
>>
>> hb_param()..., Sorry for the trouble.
>>
>>
>> david fung wrote:
>>> I have some modules written in "C" and they take parameters. Please take
>>> the following example and inform how to code it ?
>>>
>>>
>>> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>>>
>>>
>>>
>>> #pragma BEGINDUMP
>>>
>>> XA_FUNC( XAROUTINE )
>>> {
>>> int result;
>>>
>>> result = MyRoutine( iAmount );
>>>
>>> hb_reti( result );
>>> }
>>>
>>> #pragma ENDDUMP
>>>
>>> TIA.
>>>
>>> Regards,
>>> David Fung
>
>
So many questions to be asked. I'll take a look of them. I've been
searching the web and NG to find answers.
Few of my yesterday questions still outstanding ! I guess I just have to
wait a little longer.
Thanks.
David
José Luis Capel wrote:
> David,
>
> Mayby will be helpful... In www.capelblog.com there are some articles that
> explains in a easy way how to make 'C' functions for (x)Harbour. The
> articles are in spanish but I think that translators can help you. Look for
> 'Aprender a restar','Aprender a sumar' and 'Aprender a multiplicar'
> articles.
>
> Regards,
> José Luis Capel
>
> "david fung" <davfung@yahoo.com> escribió en el mensaje
> news:453dc163$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> Got it
>>
>> hb_param()..., Sorry for the trouble.
>>
>>
>> david fung wrote:
>>> I have some modules written in "C" and they take parameters. Please take
>>> the following example and inform how to code it ?
>>>
>>>
>>> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>>>
>>>
>>>
>>> #pragma BEGINDUMP
>>>
>>> XA_FUNC( XAROUTINE )
>>> {
>>> int result;
>>>
>>> result = MyRoutine( iAmount );
>>>
>>> hb_reti( result );
>>> }
>>>
>>> #pragma ENDDUMP
>>>
>>> TIA.
>>>
>>> Regards,
>>> David Fung
>
>
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
XA_FUNC interface
Thank you for the reference, any resource could be helpful.
So many questions to be asked. I'll take a look of them. I've been
searching the web and NG to find answers.
Few of my yesterday questions still outstanding ! I guess I just have to
wait a little longer.
Thanks.
David
José Luis Capel wrote:
> David,
>
> Mayby will be helpful... In www.capelblog.com there are some articles that
> explains in a easy way how to make 'C' functions for (x)Harbour. The
> articles are in spanish but I think that translators can help you. Look for
> 'Aprender a restar','Aprender a sumar' and 'Aprender a multiplicar'
> articles.
>
> Regards,
> José Luis Capel
>
> "david fung" <davfung@yahoo.com> escribió en el mensaje
> news:453dc163$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> Got it
>>
>> hb_param()..., Sorry for the trouble.
>>
>>
>> david fung wrote:
>>> I have some modules written in "C" and they take parameters. Please take
>>> the following example and inform how to code it ?
>>>
>>>
>>> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>>>
>>>
>>>
>>> #pragma BEGINDUMP
>>>
>>> XA_FUNC( XAROUTINE )
>>> {
>>> int result;
>>>
>>> result = MyRoutine( iAmount );
>>>
>>> hb_reti( result );
>>> }
>>>
>>> #pragma ENDDUMP
>>>
>>> TIA.
>>>
>>> Regards,
>>> David Fung
>
>
So many questions to be asked. I'll take a look of them. I've been
searching the web and NG to find answers.
Few of my yesterday questions still outstanding ! I guess I just have to
wait a little longer.
Thanks.
David
José Luis Capel wrote:
> David,
>
> Mayby will be helpful... In www.capelblog.com there are some articles that
> explains in a easy way how to make 'C' functions for (x)Harbour. The
> articles are in spanish but I think that translators can help you. Look for
> 'Aprender a restar','Aprender a sumar' and 'Aprender a multiplicar'
> articles.
>
> Regards,
> José Luis Capel
>
> "david fung" <davfung@yahoo.com> escribió en el mensaje
> news:453dc163$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> Got it
>>
>> hb_param()..., Sorry for the trouble.
>>
>>
>> david fung wrote:
>>> I have some modules written in "C" and they take parameters. Please take
>>> the following example and inform how to code it ?
>>>
>>>
>>> ::oEdit2:Value := XAROUTINE( val(::oEdit1:Value) )
>>>
>>>
>>>
>>> #pragma BEGINDUMP
>>>
>>> XA_FUNC( XAROUTINE )
>>> {
>>> int result;
>>>
>>> result = MyRoutine( iAmount );
>>>
>>> hb_reti( result );
>>> }
>>>
>>> #pragma ENDDUMP
>>>
>>> TIA.
>>>
>>> Regards,
>>> David Fung
>
>