Solved

dos

Posted on 2000-05-17
10
229 Views
Last Modified: 2010-04-02
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
0
Comment
Question by:ralph78
10 Comments
 
LVL 22

Expert Comment

by:nietod
Comment Utility
What is a .xm file?
0
 
LVL 1

Expert Comment

by:zoushen
Comment Utility

Sorry,I don't know what is *.xm .
0
 
LVL 5

Expert Comment

by:laeuchli
Comment Utility
we can't help out unless you tell us what type of file you are trying to load!
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
Comment Utility
xm file: one of sound files.
see
http://www.gshome.com/mods/readme.html
for DLL, that support it.
0
 
LVL 1

Accepted Solution

by:
mortonsw earned 50 total points
Comment Utility
You can use modplug dll to play all modules including .xm (for details visit:)

http://www.jps.net/olivierl/devs.htm
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:ralph78
Comment Utility
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
0
 
LVL 22

Expert Comment

by:nietod
Comment Utility
DOS programs can't use DLLs.

A Win32 console program can use DLLs though.
0
 

Author Comment

by:ralph78
Comment Utility
yes, i mean win32 console mode but i cannot get any handles, so i can't use npmod32.dll
0
 
LVL 22

Expert Comment

by:nietod
Comment Utility
A console progrm has full access to the windows API.  it can use handles just like any other windows program.
0
 

Author Comment

by:ralph78
Comment Utility
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

0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now