Re: Routin_address

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

> -----Original Message-----
> Kondor Attila

> How can I know an address of routin?
> How can I pass on an address of routin?
> for example:

> procedure Read_Ok(integer lpRBuf)
> --.........
> end procedure

> --lpComplett=routine_id("Read_Ok") <--- it is not suitable

You need to use call_back( routine_id("Read_Ok") )

See the manual for more specifics on using call_back..

> fresult=c_func(xReadFileEx,{handle, lpRBuf, BytesToRead, lpBytesRead,
> lpOVERLAPPED,
>                  lpComplett})   -- the routin_address
> --------------------------------------------------

-- Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu