Re: call_back ?

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

Alexander Toresson wrote:
> 
> Mario Steel wrote:
> > procedure RasDialFunc(integer unMsg, atom rasconnstate, atom dwError)
> >     ... Your handling of the Data that is returned to you ....
> > end procedure
> > c_proc(xRasDialFunc,{call_back(routine_id("RasDialFunc"))})
> 
> Call-back routines must be functions.
> That is actually strange.
> One should be able to get a machine address of a procedure.

I agree...

> Another restriction is that call-backs cannot be used in DOS,
> which also is strange.

Why?  Are you trying to wrap a DOS lib that has callbacks?  Just curious...

-- Brian
 
> Regards, Alexander Toresson
> 
> Shhh! Be vewy quiet! I'm hunting wuntime ewwows!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu