This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with dlopen


The following code returns Win32 error 126 - this is the same error
I get if I try a file which does not exist.

What is going wrong (operator malfunction - I'm sure!)
please help
            strncat(mod_file_name, LIB_EXT, LIB_EXT_LEN + 1);
            // FJM handle = dlopen(mod_file_name, (RTLD_NOW | RTLD_GLOBAL));
            handle = dlopen(mod_file_name, (DLOPEN_MODE));
            if ((err = dlerror()) == NULL) { break; }


-- 
Frank Motta
fmotta@embedded-guru.com

If you cannot recognize divinity in your fellow man, then you will not
realize the devine within yourself...





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]