Hi All,

I am writinga media (Camera streaming) driver. The driver works fine on
WinXP but I can't build it for Win2000. It encounters this error,
unresolved external symbol _MEDIASUBTYPE_RGB32. I was unable to find the lib
which exports this symbol.

Using the XP driver on WIn2000 leads to the crash of System.I know
strmiids.lib exports this symbol in WinXP DDK.

Has someone encountered this problem earlier?
How to overcome it?
Please help

Re: unresolved external symbol _MEDIASUBTYPE_RGB32 by Ian

Ian
Wed Sep 13 11:20:02 CDT 2006

On 13/09/2006 10:35, Ashish Dabhikar wrote:
> Hi All,
>
> I am writinga media (Camera streaming) driver. The driver works fine on
> WinXP but I can't build it for Win2000. It encounters this error,
> unresolved external symbol _MEDIASUBTYPE_RGB32. I was unable to find the lib
> which exports this symbol.
>
> Using the XP driver on WIn2000 leads to the crash of System.I know
> strmiids.lib exports this symbol in WinXP DDK.
>
> Has someone encountered this problem earlier?
> How to overcome it?
> Please help

Maybe you could use a local copy of the GUID with the same value,
instead of the one exported by the library.

Re: unresolved external symbol _MEDIASUBTYPE_RGB32 by AshishDabhikar

AshishDabhikar
Thu Sep 14 03:36:02 CDT 2006

Thanks for the reply.

But I get this error message while linking. All this symbols are defined in
uuids.h


"Ian Abbott" wrote:

> On 13/09/2006 10:35, Ashish Dabhikar wrote:
> > Hi All,
> >
> > I am writinga media (Camera streaming) driver. The driver works fine on
> > WinXP but I can't build it for Win2000. It encounters this error,
> > unresolved external symbol _MEDIASUBTYPE_RGB32. I was unable to find the lib
> > which exports this symbol.
> >
> > Using the XP driver on WIn2000 leads to the crash of System.I know
> > strmiids.lib exports this symbol in WinXP DDK.
> >
> > Has someone encountered this problem earlier?
> > How to overcome it?
> > Please help
>
> Maybe you could use a local copy of the GUID with the same value,
> instead of the one exported by the library.
>

Re: unresolved external symbol _MEDIASUBTYPE_RGB32 by Tim

Tim
Fri Sep 15 01:04:11 CDT 2006

Ashish Dabhikar <AshishDabhikar@discussions.microsoft.com> wrote:
>
>Thanks for the reply.
>
>But I get this error message while linking. All this symbols are defined in
>uuids.h

Right. MEDIASUBTYE_RGB32 is an external reference to a 16-byte constant.
Someone has to define that constant. You can hope to find it in a library,
or you can define them yourself by adding
#include <initguid.h>
before you include <uuid.h>.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Re: unresolved external symbol _MEDIASUBTYPE_RGB32 by AshishDabhikar

AshishDabhikar
Fri Sep 22 05:15:01 CDT 2006

Thanks a lot!
That really helped me.

Ashish

"Tim Roberts" wrote:

> Ashish Dabhikar <AshishDabhikar@discussions.microsoft.com> wrote:
> >
> >Thanks for the reply.
> >
> >But I get this error message while linking. All this symbols are defined in
> >uuids.h
>
> Right. MEDIASUBTYE_RGB32 is an external reference to a 16-byte constant.
> Someone has to define that constant. You can hope to find it in a library,
> or you can define them yourself by adding
> #include <initguid.h>
> before you include <uuid.h>.
> --
> - Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.
>