Re: Porting to 5.0, bad libraries

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Does your platform include MFC?

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"Russ Bakke" <russ.bakke@xxxxxxxxx> wrote in message
news:%23GKqwJoqFHA.3720@xxxxxxxxxxxxxxxxxxxxxxx
>I think you're on to something, it makes sense.
>
> The template I used is "WCE Application"; the only other template that
> seemed reasonable was "WCE Console Application", but that sounded like
> something running from a DOS prompt, which this is not.
>
> These errors are from the "hello" sample (NOT the "hello" app offered as a
> target.
>
> BUILD: [01:0000000035:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "protected: static struct AFX_MSGMAP const CDialog::messageMap"
> (?messageMap@CDialog@@1UAFX_MSGMAP@@B)
>
> BUILD: [01:0000000036:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "protected: static struct AFX_MSGMAP const CFrameWnd::messageMap"
> (?messageMap@CFrameWnd@@1UAFX_MSGMAP@@B)
>
> BUILD: [01:0000000037:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "unsigned short const * const _afxPchNil" (?_afxPchNil@@3PBGB)
>
> BUILD: [01:0000000038:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual void __thiscall CWinApp::WinHelp(unsigned
> long,unsigned int)" (?WinHelp@CWinApp@@UAEXKI@Z)
>
> BUILD: [01:0000000039:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual int __thiscall CWinApp::OnDDECommand(unsigned
> short
> *)" (?OnDDECommand@CWinApp@@UAEHPAG@Z)
>
> BUILD: [01:0000000040:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual void __thiscall CWinApp::DoWaitCursor(int)"
> (?DoWaitCursor@CWinApp@@UAEXH@Z)
>
> BUILD: [01:0000000041:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual int __thiscall CWinApp::DoMessageBox(unsigned
> short
> const *,unsigned int,unsigned int)" (?DoMessageBox@CWinApp@@UAEHPBGII@Z)
>
> BUILD: [01:0000000042:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual int __thiscall CWinApp::SaveAllModified(void)"
> (?SaveAllModified@CWinApp@@UAEHXZ)
>
> BUILD: [01:0000000043:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual int __thiscall CWinApp::InitApplication(void)"
> (?InitApplication@CWinApp@@UAEHXZ)
>
> BUILD: [01:0000000044:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual void __thiscall
> CWinApp::AddToRecentFileList(unsigned short const *)"
> (?AddToRecentFileList@CWinApp@@UAEXPBG@Z)
>
> BUILD: [01:0000000045:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual class CDocument * __thiscall
> CWinApp::OpenDocumentFile(unsigned short const *)"
> (?OpenDocumentFile@CWinApp@@UAEPAVCDocument@@PBG@Z)
>
> BUILD: [01:0000000046:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual void __thiscall CWinThread::Delete(void)"
> (?Delete@CWinThread@@UAEXXZ)
>
> BUILD: [01:0000000047:ERRORE] hello.obj : error LNK2001: unresolved
> external
> symbol "public: virtual class CWnd * __thiscall
> CWinThread::GetMainWnd(void)" (?GetMainWnd@CWinThread@@UAEPAVCWnd@@XZ)
>
> I appreciate your help.
>
> -Russ
>
>
>
> "Steve Maillet (eMVP)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:Oxl2qanqFHA.2696@xxxxxxxxxxxxxxxxxxxxxxx
>> What OS design template did you start with. What exactly are the errors?
> It
>> sounds like you started with a fairly limited OS design that won't
>> support
>> MFC.
>>
>> --
>> Steve Maillet
>> EmbeddedFusion
>> www.EmbeddedFusion.com
>> smaillet at EmbeddedFusion dot com
>>
>>
>
>


.



Relevant Pages

  • Re: User authenication
    ... blocking. ... Bruce Eitman ... beitman AT applieddata DOT net ... >>> smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.app.development)
  • Re: My Computer & Recycle Bin
    ... a project there are 5 choices for c++ .NET, ATL, MFC, Win32, General ... > int WINAPI WinMain(HINSTANCE hInst, ... >> beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.platbuilder)
  • Re: MFC Application in O/S Image
    ... So compressing "fixed" the ... > beitman AT applieddata DOT net ... >> way to include an MFC application in an O/S image with platform builder? ... >> Jay Daniel ...
    (microsoft.public.windowsce.platbuilder)
  • Re: BSP for CE4.2
    ... Senior Engineer ... beitman AT applieddata DOT net ... > smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.platbuilder)
  • Re: ARM4 Processor/Platform Builder 4.2 (newbie)
    ... beitman AT applieddata DOT net ... > most of what I need, but not the Soap Toolkit. ... >> production.ARMV4I builds will work on pretty much any other ARM CPU that ... >> smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.platbuilder)