Re: SHMENUBARINFO not defined says compiler - aygshell.h defined

From: Nathan Lewis (a-nlewis_at_online.microsoft.com)
Date: 01/04/05


Date: Tue, 04 Jan 2005 16:53:47 GMT

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
>
>
> 


Relevant Pages

  • Re: ASP .NET 2.0 Unanswered questions...
    ... in both 1.1 and 2.0 there are two types of source files. ... version 1.1 of asp.net in order to support inline server script, generated source code for the page, then called the desired compiler to build a dll. ... if the aspx pages are all empty then your site was precompiled for all the aspx pages and has been batched into dll's. ... again in version 2.0 the only difference between web sites and web application is the handling of the code behind files compilation and in the case of a web applications the existence of a project file. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Request for feedback: proposed new modules to aid VHDL projects
    ... Performs a minimal recompile of a VHDL project using ModelSim, ... only those design units which have changed, and those which depend on them. ... * Feeds source files through a preprocessor if wanted (preprocessors are ... References any compiler errors back to the correct source file and line ...
    (comp.lang.perl.modules)
  • Re: Problems with GetOpenFileName and GetSaveFileName
    ... > OK I've tested your program with VC6 SP6. ... what version of the Platform SDK are you using? ... even offered them free upgrades to 98SE but they didn't go for it). ... > SDK installed and available to the VC compiler.. ...
    (microsoft.public.win32.programmer.ui)
  • Re: Platform Manager API and build directories
    ... The SDK installed for a given *device* knows what processorthe device ... To achieve this, given a compiler I ... Then retrieve the environment parameters. ... I have talked about the "target ...
    (microsoft.public.windowsce.platbuilder)
  • Request for feedback: proposed new Perl modules to aid VHDL projects
    ... Performs a minimal recompile of a VHDL project using ModelSim, ... only those design units which have changed, and those which depend on them. ... * Feeds source files through a preprocessor if wanted (preprocessors are ... References any compiler errors back to the correct source file and line ...
    (comp.lang.vhdl)