user lib function not found

Blitz3D Forums/Blitz3D Userlibs/user lib function not found

patmaba(Posted 2007) [#1]
user lib function not found

I'm trying dll into blitz3d.
I receive the following error message "user lib function not found".
The dll source code is write in blitzmax.
I think that the problem is due of a bad type blitzmax String conversion into B3dn, but i'm not sure.
Can you help me to found the solution of my problem , please ?

I'have a test case where you can found on the following link :

http://hedgehog.team.free.fr/folder_public/TestCaseDll.zip

Thanks


Danny(Posted 2007) [#2]
Nope sorry, not a clue. I tried all kinds of stuff but didn't get it to work. WHICH is no surprise since I've got no clue or knowledge about BlitzMax or making your own dll's..

Your .decls, function name, spelling, etc. seems to be ok. So my only guess is that you need to compile that dll in some other way for blitz to be able to work with it ?!?!?

sorry :)

d.


Danny(Posted 2007) [#3]
By the way, 1.2 MEGABYTES for a dll that's supposed to only add 'Salut' to a string seems a bit heavy no?!
So i stick to my guess that the dll wasn't properly compiled (or at least contains a huge amount of rubbish that shouldn't be there??!??)..

d.


patmaba(Posted 2007) [#4]
yes is too big but i have no control about the size


OJay(Posted 2007) [#5]
compiling DLLs with blitzmax? did i miss something?!? o.O


patmaba(Posted 2007) [#6]
It's true.
Now you can create dll with blitzmax.

And my goal is to use a blitzmax dll with b3d :)


LAB[au](Posted 2007) [#7]
It's historical ... you are the first one to attempt it ;)


skidracer(Posted 2007) [#8]

yes is too big but i have no control about the size



Check out the framework command which limits the modules included in the resulting build.


patmaba(Posted 2007) [#9]
thanks Lab and skidracer

the first i don't think. :)

About the framework command have you a sample.