Link to home
Start Free TrialLog in
Avatar of ralph78
ralph78Flag for France

asked on

dos

hi!
i want to play some modules (*.xm) in a console mode program.
i suppose i could use a dll but wich one and how?
thanks for help...
Ralph
Avatar of nietod
nietod

What is a .xm file?

Sorry,I don't know what is *.xm .
we can't help out unless you tell us what type of file you are trying to load!
xm file: one of sound files.
see
http://www.gshome.com/mods/readme.html
for DLL, that support it.
ASKER CERTIFIED SOLUTION
Avatar of mortonsw
mortonsw

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ralph78

ASKER

of course i could use npmod32.dll but i want ta create a dos program, so i can't get a handle of a window where modplug should be displayed. (and the npmod32.dll don't work if u don't specifie any handle...)
i've often seen midas.dll with some dos programs but i don't know how to use it.
could anyone help me?

regards

      Ralph
DOS programs can't use DLLs.

A Win32 console program can use DLLs though.
Avatar of ralph78

ASKER

yes, i mean win32 console mode but i cannot get any handles, so i can't use npmod32.dll
A console progrm has full access to the windows API.  it can use handles just like any other windows program.
Avatar of ralph78

ASKER

ok but how can i get a handle with my console mode program? however, i don't wan't to see the modplug interface.


thanks