Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
52 user(s) are online (43 user(s) are browsing Forums)

Members: 0
Guests: 52

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: library auto init code (solved)

Subject: Re: library auto init code (solved)
by Hans on 2019/4/12 3:41:42

@Hans

As it turns out, the autoinit code was being called, but it was silently failing.

BE WARNED, assert() seems to do nothing. So, if your library's autoinit stubs rely on assert() for error handling then I highly recommend you change it, because it will fail silently. Better print an error using IDOS->PutErrStr() (or pop up an info requester) and then call abort().

Hans

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project