Including modules...

Just starting out? Need help? Post your questions and find answers here.
xSoNiCaSx
User
User
Posts: 15
Joined: Mon Dec 17, 2007 5:07 pm

Including modules...

Post 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:
superadnim
Enthusiast
Enthusiast
Posts: 480
Joined: Thu Jul 27, 2006 4:06 am

Post 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).
citystate
Enthusiast
Enthusiast
Posts: 638
Joined: Sun Feb 12, 2006 10:06 pm

Post 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...
there is no sig, only zuul (and the following disclaimer)

WARNING: may be talking out of his hat
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

I recommend http://ufmod.sourceforge.net/.
It's a fast and small playerlibrary.
Also available as pb userlib.

Best regards

Wolf
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

you can have a look at MxmModule

there is a CatchMXMModule().
Please correct my english
http://purebasic.developpez.com/
xSoNiCaSx
User
User
Posts: 15
Joined: Mon Dec 17, 2007 5:07 pm

Post by xSoNiCaSx »

I meant the sound files :roll:

Many thanks. ufmod works nice :D
Post Reply