Hey, everyone. I developed some functionality into a few classes, and used them inside a test project of sorts, being able to test that the class works and does what it says. The set of classes rely on an external DLL on Windows, that happens to call another DLL to do its work. The only reason we're using two libraries for this class is REALbasic tends to not pass memory the way some libraries expect, so I abstracted the library a little. It works great in the test project, doing exactly what it is supposed to do.

The actual problem lies in integrating the class with the master project. While everything works to plan in the test project, putting it in the master project results in FunctionNotFound exceptions whenever I soft declare in the class. Other classes using other libraries seem to work just fine, but when I inspect the running application, the DLL is never loaded.

 * Both DLLs reside in the project/build folder
 * Copying them to \windows\system32 doesn't help a thing
 * Calling an absolute path to the library doesn't work either.
* Calling the library within the Declare instead of through a constant fails as well
 * [Hard] Declares just fail

This results in a few questions: Does REALbasic have a strange way of calling libraries that causes a limit to the number of libraries loaded? Should another method be called to preload libraries at the start of the application? Is there any way to trace why the failure is happening?

Any help would be very very appreciated. Thank you so much!

 - Nick
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to