Page 1 of 1

Including modules...

Posted: Sun Dec 23, 2007 4:47 pm
by xSoNiCaSx
Is there any way to include modules in executable file? Something like CatchModule() or anything.... Or maybe there is a function in win32 API... Dumb question, eh? :lol:

Posted: Mon Dec 24, 2007 4:26 am
by superadnim
You mean a DLL?, please explain exactly what you mean by modules :) to me a module is a piece of code (kind of a class).

Posted: Mon Dec 24, 2007 5:56 am
by citystate
usually a module is (as superadnim says) an add-in, like a DLL
and PureBasic can utilise them quite well - there are a few examples of creating DLLs both in the forum and included with the PB installation - however you will only be able to try them out with a full version of PB

if you mean a MOD file (music file), PB doesn't have an inbuilt CatchMod() capability as yet...

Posted: Mon Dec 24, 2007 6:05 am
by Hroudtwolf
I recommend http://ufmod.sourceforge.net/.
It's a fast and small playerlibrary.
Also available as pb userlib.

Best regards

Wolf

Posted: Mon Dec 24, 2007 9:56 am
by Comtois
you can have a look at MxmModule

there is a CatchMXMModule().

Posted: Mon Dec 24, 2007 12:13 pm
by xSoNiCaSx
I meant the sound files :roll:

Many thanks. ufmod works nice :D