On 2005/04/03, Thomas Frieden wrote:
What you see is an oversight in Exec: Normally, old libraries provide a main interface with all the previous functionality, named "main". When calling OpenLibrary, it automatically executes GetInterface(.., "main", ...), since this is used by legacy jump tables.
ahh okey
To prevent this from happening, add the tag item
CLT_NoLegacyIFace, TRUE,
to the CreateLibrary tag list.
Added and it did the trick
I'm not sure, though, if that's already in the released kernel. You might want to add the tag nontheless (it's not rejected because of this). If it's not part of your header files, it's defined as
#define CLT_NoLegacyIFace (TAG_USER + 12)
Yep its in my realease
If in doubt, give the interface a meaninngful name. In the case of libusb, "usb" might be a good idea.
I prepeare 'main'
I know I have been a pain in the butt so many thanks fore your and your brothers help, now I can get back to porting (I hope)
Regards Rene W. Olsen