Re: function handle numbering

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

ChrisBurch2 wrote:
> 
> Hi
> 
> If I'm linking to some functions in a shared library, what does the nembering
> start at, is it 0 or 1.
> 
> eg
> x = define_c_proc(shared_lib_handle, "Function that doesn't exist",
> {arguments}
> )
> x = -1, error
> 
> y = define_c_proc(shared_lib_handle, "Function that does exist", {arguments}
> )
> y = 0
> is this valid - is this a real handle?
> 
> next in line define
> z = define_c_proc(shared_lib_handle, "another Function that does exist",
> {arguments}
> )
> z = 1
> this looks like a valid handele - is it?
> 

Chris:

It returns a routine_id .

routine_id's start at zero.
 

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

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

Search



Quick Links

User menu

Not signed in.

Misc Menu