User lib function not found

BlitzPlus Forums/BlitzPlus Programming/User lib function not found

Mimi(Posted 2006) [#1]
I have a problem with some userlibs: After copying the "*.decls" and the "*.dll" into the userlib directory, and restarting the Blitz editor all the commands are
recognized by the Blitz editor (marked in color), but none of the commands is found during execution. I always get the error message "User lib function not found". (Other userlibs work just fine like that.)

Most recently this happened with the BlitzPDF userlib from "Sub_Zero". (The author confirmed that it should work.) Previously with some commands of the BlitzPrinter userlib.

Has anybody experienced the same problem? I would be very grateful for some help.

rgds, Mimi


Grey Alien(Posted 2006) [#2]
you have to put the dll in your exe folder if you want to distribute it. If you get these errors in the IDE when running, then the function name is not correct, or possibly the parameters passed (incorrect quantity or type or parameters). Or the dll doesn't match the decls file, so it's looking for a user lib function that really doesn't exist!