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

C#

 
AnswerRe: Datetime problem Pin
SeMartens15-Jun-09 21:01
SeMartens15-Jun-09 21:01 
AnswerRe: Datetime problem Pin
Vikram A Punathambekar15-Jun-09 21:36
Vikram A Punathambekar15-Jun-09 21:36 
Questionwhat does a Object value return? Pin
svt gdwl15-Jun-09 19:32
svt gdwl15-Jun-09 19:32 
AnswerRe: what does a Object value return? Pin
SeMartens15-Jun-09 21:46
SeMartens15-Jun-09 21:46 
QuestionNode.Tag Pin
LTMKH15-Jun-09 19:24
LTMKH15-Jun-09 19:24 
AnswerRe: Node.Tag Pin
DaveyM6915-Jun-09 21:01
professionalDaveyM6915-Jun-09 21:01 
GeneralRe: Node.Tag Pin
LTMKH16-Jun-09 0:26
LTMKH16-Jun-09 0:26 
Questionsystem.io.filenotfoundexception from using WaveFormat structure Pin
tjeffries15-Jun-09 15:49
tjeffries15-Jun-09 15:49 
This is bizarre!

I've got an app in C# that uses DirectSound. I set up the SecondaryBuffer in the normal way, using a WaveFormat struct. It runs fine on my machine and on other machines that have downloaded and installed the latest version of DirectX (DirectX 9.0c (4.09.0000.0904)).

However, on machines that show the exact same DirectX version number, when I run the program, if there is so much as a declaration that there is the slightest chance that I might possibly be considering using a WaveFormat structure, I get a file not found dialog box which tells me there was a "system.io.filenotfoundexception". Nothing in the detailed error report tells me what file was not found.

If I download and install the latest DirectX install, everything is fine. If I UNINSTALL DirectX from the machine, the program STILL WORKS!!! I've been comparing installed DLLs, looking for something that might account for the problem, but so far no luck.

I'm gonna get some pushback from my client if I tell him that all of his customers have to download and install the latest DirectX even if they already think they have it installed. Heck, I'd be pretty annoyed if somebody told me that! But, so far, that's the only solution I've found. I hope somebody else has run into this, or has an idea about tracking down the missing file.

In case it's not clear, all I have to do is have the following line in my code, and the program will not run on a computer that has not had DX re-downloaded and installed:

WaveFormat wFormat;

That's all it takes. And, as I'm sure many of you know, the WaveFormat structure has been around since before the last ice age, it's not something new.
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 
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 

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.