Re: function handle numbering
- Posted by Bernie Ryan <xotron at bluefrog.c??> Sep 26, 2007
- 581 views
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