Alaska Software Inc. - dllPrepareCall()
Username: Password:
AuthorTopic: dllPrepareCall()
Jorge LdllPrepareCall()
on Tue, 09 Sep 2008 11:19:58 -0300
Hello to all

i have a dll that i use 3 function into a loop

i want make this, it is possible ?

     ::xEnv :=dllPrepareCall( ::nDll, DLL_STDCALL, "MandaPaqueteFiscal" )
     ::xRta :=dllPrepareCall( ::nDll, DLL_STDCALL, "UltimaRespuesta" )
...............................
     For i :=1 To 400
....
          dllExecuteCall( ::xEnv, ::nHandle, cStr )
          RET :=Space( 100 )
          dllExecuteCall( ::xRta, ::nHandle, @RET )
............
     Next i

regards
Hannes ZieglerRe: dllPrepareCall()
on Tue, 09 Sep 2008 22:34:32 +0200
Jorge,

yes, this should work (why do you ask?)

I miss the third function in your code, though

Regards,
--
Hannes

"Jorge L" <jlborlando@way.com.ar> schrieb im Newsbeitrag 
news:1363057$72b5a28d$392@news.alaska-software.com...
> Hello to all
>
> i have a dll that i use 3 function into a loop
>
> i want make this, it is possible ?
>
>     ::xEnv :=dllPrepareCall( ::nDll, DLL_STDCALL, "MandaPaqueteFiscal" )
>     ::xRta :=dllPrepareCall( ::nDll, DLL_STDCALL, "UltimaRespuesta" )
> ...............................
>     For i :=1 To 400
> ....
>          dllExecuteCall( ::xEnv, ::nHandle, cStr )
>          RET :=Space( 100 )
>          dllExecuteCall( ::xRta, ::nHandle, @RET )
> ............
>     Next i
>
> regards
>
>