Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
Questionsystem.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries15-Jun-09 15:49
tjeffries15-Jun-09 15:49 
AnswerRe: system.io.filenotfoundexception from using WaveFormat structure Pin
Dave Kreskowiak15-Jun-09 16:31
mveDave Kreskowiak15-Jun-09 16:31 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries15-Jun-09 16:52
tjeffries15-Jun-09 16:52 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries15-Jun-09 18:39
tjeffries15-Jun-09 18:39 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
molesworth15-Jun-09 23:21
molesworth15-Jun-09 23:21 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries16-Jun-09 4:42
tjeffries16-Jun-09 4:42 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries16-Jun-09 7:12
tjeffries16-Jun-09 7:12 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
molesworth16-Jun-09 10:33
molesworth16-Jun-09 10:33 
tjeffries wrote:
Are you talking about release/debug version of DX or of the program I'm working on?


I meant your program. You'll be able to run a debug build on any machines that have the full SDK installed, but for machines with just the redistributable, you'll only be able to run release builds.

tjeffries wrote:
In theory it's a release version of the program, although I have had questions about that since it's the same size as the debug version and is created in the /bin/debug directory.


That sounds suspicious. It should definitely be smaller, and be in the "Release" directory. I'd have a good look at your build options to check.

tjeffries wrote:
How do I tell whether I'm using managed or unmanaged DX?


The managed interfaces are a bit different, although if you're accesing it directly from C# with something like "using Microsoft.DirectX.DirectSound" then it may be the managed version. The DLLs are different, and in a different place (which I can't remember t the moment).

tjeffries wrote:
I'm compiling for "any CPU", which I assume means X86.


You might need to also check the build target in the project properties build tab. As well as the overall configuration, there's a specific target option hidden there (I sometimes forget it as well, and get bitten by it). Make sure this is set to X86, and not "Any CPU" or X64. That might be what you need to change...

tjeffries wrote:
I should be able to define my own structure and use it.


It's possible, although the compiler might get picky about types and complain about it. If nothing else works, then it's worth a try... Smile | :)

There are three kinds of people in the world - those who can count and those who can't...

GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries16-Jun-09 12:50
tjeffries16-Jun-09 12:50 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries16-Jun-09 12:58
tjeffries16-Jun-09 12:58 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries16-Jun-09 13:43
tjeffries16-Jun-09 13:43 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
molesworth16-Jun-09 22:51
molesworth16-Jun-09 22:51 
GeneralRe: system.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries17-Jun-09 6:44
tjeffries17-Jun-09 6:44 
QuestionHow to improve .net app performance ? Pin
hdv21215-Jun-09 11:14
hdv21215-Jun-09 11:14 
AnswerRe: How to improve .net app performance ? Pin
Luc Pattyn15-Jun-09 11:38
sitebuilderLuc Pattyn15-Jun-09 11:38 
GeneralRe: How to improve .net app performance ? Pin
hdv21215-Jun-09 12:10
hdv21215-Jun-09 12:10 
GeneralRe: How to improve .net app performance ? Pin
Luc Pattyn15-Jun-09 12:30
sitebuilderLuc Pattyn15-Jun-09 12:30 
GeneralRe: How to improve .net app performance ? Pin
Christian Graus15-Jun-09 15:09
protectorChristian Graus15-Jun-09 15:09 
GeneralRe: How to improve .net app performance ? Pin
hdv21215-Jun-09 18:58
hdv21215-Jun-09 18:58 
GeneralRe: How to improve .net app performance ? Pin
N a v a n e e t h15-Jun-09 18:12
N a v a n e e t h15-Jun-09 18:12 
GeneralRe: How to improve .net app performance ? Pin
S. Senthil Kumar16-Jun-09 1:23
S. Senthil Kumar16-Jun-09 1:23 
GeneralRe: How to improve .net app performance ? Pin
N a v a n e e t h16-Jun-09 15:44
N a v a n e e t h16-Jun-09 15:44 
GeneralRe: How to improve .net app performance ? Pin
S. Senthil Kumar16-Jun-09 18:14
S. Senthil Kumar16-Jun-09 18:14 
AnswerRe: How to improve .net app performance ? Pin
Not Active15-Jun-09 11:48
mentorNot Active15-Jun-09 11:48 
AnswerRe: How to improve .net app performance ? Pin
Pete O'Hanlon15-Jun-09 12:09
mvePete O'Hanlon15-Jun-09 12:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.