.exe

DR00ME

Well-known member
Joined
Feb 6, 2004
Messages
169
Location
Finland
q1 . Am I able to save some of my program settings inside the .exe file instead of doing an external e.g. config.ini or using the registry ? The application should remember the changed settings next time it is started... I think this sounds impossible to save data in the application.exe file itself ?

q2. Am I able to save .wav files inside the exe so I could play them from the .exe code ? (I think this should be possible)
 
Last edited by a moderator:
Oh yeah thx for the info (q2)

q1. Why not ? I remember there was a bug once in windows e.g. u played .avi and you could execute something same time...the exe was associated with the .avi file somehow...so I was thinking if you could somehow attach .ini / .txt or whatever with .exe file. And you would be also able to modify it(save .exe settings in it)..... Just a thought...
 
I made a new folder and added existing item .wav inside it....


So how do I play the .wav file ?


Private Const SND_FILENAME As Integer = &H20000

PlaySound(_WHAT COMES HERE_, 0, SND_FILENAME)

And how do I import the resourcemanager or is that even possible ?
 
Last edited by a moderator:
Back
Top