|
|
|
date: Thu, 17 Jul 2008 11:11:16 -0700 (PDT),
group: microsoft.public.win32.programmer.directx.video
back
Re: An uspecified error occured (0x80004005)
I run it on the WinXP, not Vista. I tried to put sleep (30 seconds) in
the begining of this application, but I got the same error. Maybe I
make some simple application, which runs DShow application after a
preset time. But it's an ugly workaround.
On 18. Júl, 08:05 h., "The March Hare [MVP]"
<themarchh...@alice.in.wonderland> wrote:
> On Thu, 17 Jul 2008 22:41:08 -0700 (PDT), Builder wrote:
> > But we don't use audio in our application.
>
> It's not essential to know which component. With Vista it could be that
> D3D9 is not initialized fully when your app starts. Does using a loop and
> sleeping when you get the failed HRESULT help?
>
> > What is the OP?
>
> Original poster (a good newsreader, like Dialog, will let you know what
> these abbreviations mean).
>
> --
> Please read this before replying:
> 1. Dshow & posting help: http://tmhare.mvps.org/help.htm
> 2. Trim & respond inline (please don't top post or snip everything)
> 3. Benefit others: follow up if you are helped or you found a solution
date: Thu, 17 Jul 2008 23:55:35 -0700 (PDT)
author: Builder
Re: An uspecified error occured (0x80004005)
[ Please trim and quote inline as requested ]
On Thu, 17 Jul 2008 23:55:35 -0700 (PDT), Builder wrote:
> I run it on the WinXP, not Vista. I tried to put sleep (30 seconds) in
> the begining of this application, but I got the same error. Maybe I
> make some simple application, which runs DShow application after a
> preset time. But it's an ugly workaround.
What is the source snippet of the code that is failing?
I use variants on this macro to trace the line number and file in release
builds:
#define HR_MESSAGE(id, hr, xx) { CString s; s.Format(id, __FILE__ ,
__LINE__, hr, CUtility::GetDirectXError(hr), xx); ::AfxMessageBox(s,
MB_ICONWARNING); }
or, if the application pauses when the message box shows up, you can use a
debug build and connect to the process at that point with Visual Studio.
--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution
date: Fri, 18 Jul 2008 01:21:07 -0600
author: The March Hare [MVP] erland
Re: An uspecified error occured (0x80004005)
"Builder" wrote:
> I run it on the WinXP, not Vista. I tried to put sleep (30 seconds) in
> the begining of this application, but I got the same error. Maybe I
> make some simple application, which runs DShow application after a
> preset time. But it's an ugly workaround.
>
>
> On 18. Júl, 08:05 h., "The March Hare [MVP]"
> <themarchh...@alice.in.wonderland> wrote:
> > On Thu, 17 Jul 2008 22:41:08 -0700 (PDT), Builder wrote:
> > > But we don't use audio in our application.
> >
> > It's not essential to know which component. With Vista it could be that
> > D3D9 is not initialized fully when your app starts. Does using a loop and
> > sleeping when you get the failed HRESULT help?
> >
> > > What is the OP?
> >
> > Original poster (a good newsreader, like Dialog, will let you know what
> > these abbreviations mean).
> >
> > --
> > Please read this before replying:
> > 1. Dshow & posting help: http://tmhare.mvps.org/help.htm
> > 2. Trim & respond inline (please don't top post or snip everything)
> > 3. Benefit others: follow up if you are helped or you found a solution
>
>
date: Fri, 22 Aug 2008 12:26:16 -0700
author: supoch14
Re: An uspecified error occured (0x80004005)
"The March Hare [MVP]" wrote:
>
> [ Please trim and quote inline as requested ]
>
> On Thu, 17 Jul 2008 23:55:35 -0700 (PDT), Builder wrote:
>
> > I run it on the WinXP, not Vista. I tried to put sleep (30 seconds) in
> > the begining of this application, but I got the same error. Maybe I
> > make some simple application, which runs DShow application after a
> > preset time. But it's an ugly workaround.
>
> What is the source snippet of the code that is failing?
>
> I use variants on this macro to trace the line number and file in release
> builds:
>
> #define HR_MESSAGE(id, hr, xx) { CString s; s.Format(id, __FILE__ ,
> __LINE__, hr, CUtility::GetDirectXError(hr), xx); ::AfxMessageBox(s,
> MB_ICONWARNING); }
>
> or, if the application pauses when the message box shows up, you can use a
> debug build and connect to the process at that point with Visual Studio.
>
> --
> Please read this before replying:
> 1. Dshow & posting help: http://tmhare.mvps.org/help.htm
> 2. Trim & respond inline (please don't top post or snip everything)
> 3. Benefit others: follow up if you are helped or you found a solution
>
date: Fri, 22 Aug 2008 12:27:00 -0700
author: supoch14
|
|