a-nlewis
Tue Jan 04 10:53:47 CST 2005
------=_NextPart_0001_284D743F
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hello Peter,
There seems to be something really wrong with that project. As far as I
know, the Windows Media Player SDK for Pocket PC is supported by the same
group that supports the SDK for the desktop. I suggest you post this
question in the "microsoft.public.windowsmedia.sdk" and/or
"microsoft.public.pocketpc.multimedia" newsgroups to see if anyone there
has found a solution to these problems. In fact, I just found the
following:
> Re: Where can I download "Microsoft Windows Media Player for Pocket PC
Software Development Kit"?
> From: naveenu@tataelxsi.co.in (NVP)
> To: microsoft.public.pocketpc.multimedia
> Subject: Re: Where can I download "Microsoft Windows Media Player for
Pocket PC Software > Development Kit"?
> Sent: 6/2/2004 6:58:08 PM
>
>
> Add atlce300.dll in Settings, under Link->category->Input, Object\Library
> Modeuls.
>
> Change Entry point to WinMain under same drop dowm menu.
>
> It should work now.
> Naveenu
I hope this helps!
---
Nathan Lewis
Microsoft Mobile and Embedded Devices Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Peter Reiter" <reiter_peter@gmx.at_NOSPAMHERE>
References: <Oo3mpGo7EHA.3696@TK2MSFTNGP10.phx.gbl>
<pjjvUCq7EHA.3440@cpmsftngxa10.phx.gbl>
Subject: Re: SHMENUBARINFO not defined says compiler - aygshell.h defined
Date: Thu, 30 Dec 2004 21:53:07 +0100
Hi Nathan,
I didn't know that, thanks for this information.
As you might be able to guess, I don't develop mainly in cpp.
But now I have got another error, a pretty weird one i might add.
"LINK : fatal error LNK1561: entry point must be defined"
After I add "/c" to the compiler options, i get the following and i have no
idea what it means:
CMediaBookmarker.obj : error LNK2019: unresolved external symbol "long
__cdecl ATL::wce_ATL_CreateStreamOnHGlobal(void *,int,struct IStream * *)"
(?wce_ATL_CreateStreamOnHGlobal@ATL@@YAJPAXHPAPAUIStream@@@Z) referenced in
function "long __cdecl ATL:
:AtlAxWindowProc(struct HWND__ *,unsigned int,unsigned int,long)"
(?AtlAxWindowProc@ATL@@YAJPAUHWND__@@IIJ@Z)
CMediaBookmarker.obj : error LNK2019: unresolved external symbol "long
__cdecl ATL::wce_ATL_CLSIDFromProgID(unsigned short const *,struct _GUID
*)"
(?wce_ATL_CLSIDFromProgID@ATL@@YAJPBGPAU_GUID@@@Z) referenced in function
"long __cdecl ATL::CreateNo
rmalizedObject(unsigned short const *,struct _GUID const &,void * *,bool
&)"
(?CreateNormalizedObject@ATL@@YAJPBGABU_GUID@@PAPAXAA_N@Z)
emulatorDbg/MediaBookmarker.exe : fatal error LNK1120: 2 unresolved
externals
I really appreciate you helping me
peter
"Nathan Lewis" <a-nlewis@online.microsoft.com> wrote in message
news:pjjvUCq7EHA.3440@cpmsftngxa10.phx.gbl...
> Hello Peter,
>
> Keep in mind that the "newres.h" file is used when compiling the RC file
> for your project, and not the source files. So although <aygshell.h> is
> included from your "newres.h", it is *not* included for the
> "CMediaBookmarker.cpp" source file. The easiest and best way to correct
> this would be to simply add an #include <aygshell.h> in your project's
> "stdafx.h" file, which is used when compiling the source files.
>
>
> ---
>
> Nathan Lewis
> Microsoft Mobile and Embedded Devices Developer Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>
> --------------------
> From: "Peter Reiter" <reiter_peter@gmx.at_NOSPAMHERE>
> Subject: SHMENUBARINFO not defined says compiler - aygshell.h defined
> Date: Thu, 30 Dec 2004 16:10:15 +0100
>
> Hi
>
> Can someone please help me
>
> I've downloaded MediaBookmarker Sample, and now I try to compile it, but i
> always get the message SHMENUBARINFO is not defined, although aygshell.h
> is
> loaded.
>
> SHMENUBARINFO: CMediaBookmarker.cpp, line 128
>
> please also look at newres.h, everything necessary is defined, therefore
> it
> should work
>
>
> Could someone please look at the project and source code?
>
http://rw-shanghai.com/temp/MediaBookmarker.zip
>
> Requirements:
> eVC4 and SP4
> PPC03 SDK
>
>
> Thanks
> peter
>
>
>
------=_NextPart_0001_284D743F
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hello Peter,
\par
\par There seems to be something really wrong with that project. As far as I know, the Windows Media Player SDK for Pocket PC is supported by the same group that supports the SDK for the desktop. I suggest you post this question in the "microsoft.public.windowsmedia.sdk" and/or "microsoft.public.pocketpc.multimedia" newsgroups to see if anyone there has found a solution to these problems. In fact, I just found the following:
\par
\par > Re: Where can I download "Microsoft Windows Media Player for Pocket PC Software Development Kit"?
\par > From: naveenu@tataelxsi.co.in (NVP)
\par > To: microsoft.public.pocketpc.multimedia
\par > Subject: Re: Where can I download "Microsoft Windows Media Player for Pocket PC Software > Development Kit"?
\par > Sent: 6/2/2004 6:58:08 PM
\par >
\par >
\par > Add atlce300.dll in Settings, under Link->category->Input, Object\\Library
\par > Modeuls.
\par >
\par > Change Entry point to WinMain under same drop dowm menu.
\par >
\par > It should work now.
\par > Naveenu
\par
\par
\par I hope this helps!
\par
\par ---
\par
\par Nathan Lewis
\par Microsoft Mobile and Embedded Devices Developer Support
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par \pard\li720 --------------------
\par From: "Peter Reiter" <reiter_peter@gmx.at_NOSPAMHERE>
\par References: <Oo3mpGo7EHA.3696@TK2MSFTNGP10.phx.gbl> <pjjvUCq7EHA.3440@cpmsftngxa10.phx.gbl>
\par Subject: Re: SHMENUBARINFO not defined says compiler - aygshell.h defined
\par Date: Thu, 30 Dec 2004 21:53:07 +0100
\par
\par Hi Nathan,
\par
\par I didn't know that, thanks for this information.
\par As you might be able to guess, I don't develop mainly in cpp.
\par
\par But now I have got another error, a pretty weird one i might add.
\par "LINK : fatal error LNK1561: entry point must be defined"
\par
\par After I add "/c" to the compiler options, i get the following and i have no
\par idea what it means:
\par
\par CMediaBookmarker.obj : error LNK2019: unresolved external symbol "long
\par __cdecl ATL::wce_ATL_CreateStreamOnHGlobal(void *,int,struct IStream * *)"
\par (?wce_ATL_CreateStreamOnHGlobal@ATL@@YAJPAXHPAPAUIStream@@@Z) referenced in
\par function "long __cdecl ATL:
\par :AtlAxWindowProc(struct HWND__ *,unsigned int,unsigned int,long)"
\par (?AtlAxWindowProc@ATL@@YAJPAUHWND__@@IIJ@Z)
\par
\par CMediaBookmarker.obj : error LNK2019: unresolved external symbol "long
\par __cdecl ATL::wce_ATL_CLSIDFromProgID(unsigned short const *,struct _GUID *)"
\par (?wce_ATL_CLSIDFromProgID@ATL@@YAJPBGPAU_GUID@@@Z) referenced in function
\par "long __cdecl ATL::CreateNo
\par rmalizedObject(unsigned short const *,struct _GUID const &,void * *,bool &)"
\par (?CreateNormalizedObject@ATL@@YAJPBGABU_GUID@@PAPAXAA_N@Z)
\par
\par emulatorDbg/MediaBookmarker.exe : fatal error LNK1120: 2 unresolved
\par externals
\par
\par
\par I really appreciate you helping me
\par
\par
\par peter
\par
\par
\par "Nathan Lewis" <a-nlewis@online.microsoft.com> wrote in message
\par news:pjjvUCq7EHA.3440@cpmsftngxa10.phx.gbl...
\par > Hello Peter,
\par >
\par > Keep in mind that the "newres.h" file is used when compiling the RC file
\par > for your project, and not the source files. So although <aygshell.h> is
\par > included from your "newres.h", it is *not* included for the
\par > "CMediaBookmarker.cpp" source file. The easiest and best way to correct
\par > this would be to simply add an #include <aygshell.h> in your project's
\par > "stdafx.h" file, which is used when compiling the source files.
\par >
\par >
\par > ---
\par >
\par > Nathan Lewis
\par > Microsoft Mobile and Embedded Devices Developer Support
\par >
\par > This posting is provided "AS IS" with no warranties, and confers no
\par > rights.
\par >
\par >
\par >
\par > --------------------
\par > From: "Peter Reiter" <reiter_peter@gmx.at_NOSPAMHERE>
\par > Subject: SHMENUBARINFO not defined says compiler - aygshell.h defined
\par > Date: Thu, 30 Dec 2004 16:10:15 +0100
\par >
\par > Hi
\par >
\par > Can someone please help me
\par >
\par > I've downloaded MediaBookmarker Sample, and now I try to compile it, but i
\par > always get the message SHMENUBARINFO is not defined, although aygshell.h
\par > is
\par > loaded.
\par >
\par > SHMENUBARINFO: CMediaBookmarker.cpp, line 128
\par >
\par > please also look at newres.h, everything necessary is defined, therefore
\par > it
\par > should work
\par >
\par >
\par > Could someone please look at the project and source code?
\par >
http://rw-shanghai.com/temp/MediaBookmarker.zip
\par >
\par > Requirements:
\par > eVC4 and SP4
\par > PPC03 SDK
\par >
\par >
\par > Thanks
\par > peter
\par >
\par >
\par >
\par
\par
\par \pard
\par
\par }
------=_NextPart_0001_284D743F--