renam00
asked on
Wav file inside a DLL ??
Hi,
I'm using BC++Builder 4.0.
I would like to have a dll with :
- A Wav file INSIDE it
- A function to save it to disk
The best thing would be a function like:
SaveWavTo("C:\tmp\MyWav.wa v");
Is it possible ? How should I do ? Any code example ?
Thanks to all,
renam00
I'm using BC++Builder 4.0.
I would like to have a dll with :
- A Wav file INSIDE it
- A function to save it to disk
The best thing would be a function like:
SaveWavTo("C:\tmp\MyWav.wa
Is it possible ? How should I do ? Any code example ?
Thanks to all,
renam00
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
With MSVC you can "import" a WAV file into the resource editor. I guess the BCB resource editor has something similar.
It doesn't matter if the resorce resides in a DLL or in an EXE file.
Two remarks:
1) You should use a custom resource type (e.g., "WAVE") instead of what I suggested earlier.
2) Windows-specific questions (such as this) are better asked in the windows programming area, not C++.
It doesn't matter if the resorce resides in a DLL or in an EXE file.
Two remarks:
1) You should use a custom resource type (e.g., "WAVE") instead of what I suggested earlier.
2) Windows-specific questions (such as this) are better asked in the windows programming area, not C++.
ASKER
any detail to the way to put the wav into a raw binary data (I'am not use to work with Dll)