Re: directsound help



On Wed, 13 Apr 2005 18:02:03 -0700, enz0 wrote:

> Hi I wrote a program to record data from the sound card and it compiles and
> runs fine on my computer and one other computer so far. But nearly every
> other computer i've tried to execute the program on, gives a windows error
> stating " application failed to initialize ..etc"
> all the computers were running windows xp pro sp2 with direct x 9. I tried
> running both the debug and release version of the program.
> any suggestion as to why this might be or what im doing wrong would be
> appreciated

If your application is dynamically linked to the VC runtime and/or MFC then
you need to ship those DLL's along with your application. For VC 6 this is
MSVCRT.DLL and if you used MFC MFC42.DLL. For VC 7.1 (.NET 2003) these are
MSVCR71.DLL, MSVCP.DLL and for MFC MFC71.DLL. Otherwise the easy solution
is to set your project to statically link to these libraries.

You haven't provided full details of the problem so I can't be sure that
this is what is happening, but give it a shot. Otherwise come back with
more detailed information.

.



Relevant Pages

  • directsound help
    ... Hi I wrote a program to record data from the sound card and it compiles and ... other computer i've tried to execute the program on, gives a windows error ... all the computers were running windows xp pro sp2 with direct x 9. ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: Problem in associating a file extension
    ... I'm working on a project built by Visual C++6.0 MFC and have to ... when it is installed in other machines, Windows error occurs when I ...
    (microsoft.public.vc.mfc)
  • Re: Problem in associating a file extension
    ... I'm working on a project built by Visual C++6.0 MFC and have to ... when it is installed in other machines, Windows error occurs when I ... Could somebody give me an suggestion? ...
    (microsoft.public.vc.mfc)
  • Problem in associating a file extension
    ... I'm working on a project built by Visual C++6.0 MFC and have to ... when it is installed in other machines, Windows error occurs when I ... Could somebody give me an suggestion? ...
    (microsoft.public.vc.mfc)