nanogui: Thread: Microwin and Wince


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Microwin and Wince
From: tan yongzai ####@####.####
Date: 14 Jun 2006 17:57:52 +0100
Message-Id: <20060614165748.8493.qmail@web33106.mail.mud.yahoo.com>

Hi all, 
  
    Has anyone tried to build wince application using microwin? 
  
  Thanks and Regards,
  Tan
  
 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Subject: Re: [nanogui] Microwin and Wince
From: "Greg Haerr" ####@####.####
Date: 19 Jun 2006 03:25:47 +0100
Message-Id: <013101c69347$0c30be80$6401a8c0@winXP>

:     Has anyone tried to build wince application using microwin? 

I haven't.  Microwindows implements only a subset of the 
GDI and USER code of Windows, but no special WinCE
calls.

Regards,

Greg
Subject: AW: [nanogui] Microwin and Wince
From: "Kinz-Elektronik" ####@####.####
Date: 20 Jun 2006 13:01:12 +0100
Message-Id: <002301c69464$3d71dab0$0900a8c0@pentium9>

Hello,

we are writing programs for windows and WinCE. And had no problem to run
them
using microwindows. Some calls behave a little bit different but in main
it is the same
API like Windows / WinCE.

Regards Robert

> -----Ursprüngliche Nachricht-----
> Von: Greg Haerr ####@####.#### 
> Gesendet: Montag, 19. Juni 2006 04:21
> An: tan yongzai; ####@####.####
> Betreff: Re: [nanogui] Microwin and Wince 
> 
> 
> :     Has anyone tried to build wince application using microwin? 
> 
> I haven't.  Microwindows implements only a subset of the 
> GDI and USER code of Windows, but no special WinCE
> calls.
> 
> Regards,
> 
> Greg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 

Subject: Re: [nanogui] Microwin and Wince
From: tan yongzai ####@####.####
Date: 11 Jul 2006 05:10:36 +0100
Message-Id: <20060711041033.50324.qmail@web33107.mail.mud.yahoo.com>


Note: forwarded message attached.
 		
---------------------------------
Want to be your own boss? Learn how on  Yahoo! Small Business. 

Hi Robert,

  I'm using the embedded VC++ 4.0 to build the mdemo of the microwin. I have included the preprocessor of the headers file into the project, and change all the NULL values to 0. This steps remove the compile errors complain by embedded VC++. Now the problem is the linking issue. I guess maybe need to include some library for it to work but i'm quite confuse on what libraries to include. Your advice is greatly appreciated. Thanks.
Here is the error output (Project name is "b"): 

Linking...
b.obj : error LNK2001: unresolved external symbol "struct MWIMAGEHDR image_penguin" (?image_penguin@@3UMWIMAGEHDR@@A)
b.obj : error LNK2019: unresolved external symbol _RegisterClass referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
b.obj : error LNK2019: unresolved external symbol _MwRegisterProgressBarControl referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
b.obj : error LNK2019: unresolved external symbol _MwRegisterListboxControl referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
b.obj : error LNK2019: unresolved external symbol _MwRegisterEditControl referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
b.obj : error LNK2019: unresolved external symbol _MwRegisterButtonControl referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
b.obj : error LNK2019: unresolved external symbol _SendMessage referenced in function "struct hwnd * __cdecl CreateAppWindow(void)" (?CreateAppWindow@@YAPAUhwnd@@XZ)
b.obj : error LNK2019: unresolved external symbol _CreateWindowEx referenced in function "struct hwnd * __cdecl CreateAppWindow(void)" (?CreateAppWindow@@YAPAUhwnd@@XZ)
b.obj : error LNK2019: unresolved external symbol _DefWindowProc referenced in function "long __cdecl ChildWndProc(struct hwnd *,unsigned int,unsigned int,long)" (?ChildWndProc@@YAJPAUhwnd@@IIJ@Z)
b.obj : error LNK2019: unresolved external symbol _DrawDIB referenced in function "long __cdecl ChildWndProc(struct hwnd *,unsigned int,unsigned int,long)" (?ChildWndProc@@YAJPAUhwnd@@IIJ@Z)
b.obj : error LNK2019: unresolved external symbol "void __cdecl GdArcAngle(struct _mwscreendevice *,int,int,int,int,int,int,int)" (?GdArcAngle@@YAXPAU_mwscreendevice@@HHHHHHH@Z) referenced in function "long __cdecl WndProc(struct hwnd *,unsigned int
,unsigned int,long)" (?WndProc@@YAJPAUhwnd@@IIJ@Z)
b.obj : error LNK2019: unresolved external symbol "unsigned long __cdecl GdSetForegroundColor(struct _mwscreendevice *,unsigned long)" (?GdSetForegroundColor@@YAKPAU_mwscreendevice@@K@Z) referenced in function "long __cdecl WndProc(struct hwnd *,uns
igned int,unsigned int,long)" (?WndProc@@YAJPAUhwnd@@IIJ@Z)
b.obj : error LNK2019: unresolved external symbol _DispatchMessage referenced in function _WinMain@16
b.obj : error LNK2019: unresolved external symbol _GetMessage referenced in function _WinMain@16
b.obj : error LNK2019: unresolved external symbol "int __cdecl MwSetDesktopWallpaper(struct MWIMAGEHDR *)" (?MwSetDesktopWallpaper@@YAHPAUMWIMAGEHDR@@@Z) referenced in function _WinMain@16
b.obj : error LNK2001: unresolved external symbol "struct MWIMAGEHDR image_microwin" (?image_microwin@@3UMWIMAGEHDR@@A)
corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol _WinMain referenced in function _WinMainCRTStartup
emulatorDbg/b.exe : fatal error LNK1120: 17 unresolved externals
Error executing link.exe.

b.exe - 18 error(s), 0 warning(s)

Regards,
YongZai

Kinz-Elektronik ####@####.#### wrote:   Nachricht    Hi  YongZai,
  
 we are  using the free Compiler MicrosoftEmbeddedVisualC++ Version 3.0 and 4.0. For this  Compiler you have to
 install and SDK which belogs to the Hardware where your program shoule  run.
  
 Als  dokumention we are using the Microsoft Developer Network (MSDN), I think you can  get this info also online.
 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/apippc/html/ppc_rapi_zque.asp
  
 Regards Robert
    
   -----Urspr�ngliche Nachricht-----
Von: tan yongzai    ####@####.#### 
Gesendet: Freitag, 23. Juni 2006    18:02
An: ####@####.####
Betreff: Re: AW: AW: AW:    [nanogui] Microwin and Wince 


Hi Robert,

     Many thanks for your advice. Well, I have a program written in microwin,    tested on the linux desktop. But I don't know how to port to embedded window    (WinCE).
Do you have any good reference?

  Thanks again..    

Best Regards,
YongZai

Kinz-Elektronik    ####@####.#### wrote:             Hi      YoungZai,
      
     generally it is free for you where you start to develop your program      first. 
     Our backgroud was progrmming for windows so this was easier to      manage
     to      get the programm running. In the first step we startet on the normal windows      on
     the pc and adapted the parts to get it running on WinCE(subset of      win-api).
     In      our company the tools for win-programming are better know an so we      get
     faster to the goal.
      
     It      is possible to start your program on microwindows an do then the port      for
     WinCE.
      
     Regards Robert
            
       -----Urspr�ngliche Nachricht-----
Von: tan        yongzai ####@####.#### 
Gesendet: Donnerstag, 22.        Juni 2006 03:08
An: ####@####.####
Betreff:        Re: AW: AW: [nanogui] Microwin and Wince 


Hi        Robert,

  Correct me if I'm wrong.
  Do you mean we        still need to develop our program using WinCE development tool first        before porting to microwin?
  Btw, does microwin only runs on the        embedded linux? Actually, my plan is to build a single gui coding. Then        this code can be used in both embedded window and embedded linux with        minor changes. Do you think microwin can provide such portability?        
  Thanks in advance

Best Regards,
YongZai
         

Kinz-Elektronik ####@####.####        wrote:                          Hi YongZai,
          
         first step to develop an program running on Win(CE) and          microwindows would be to run the programm on windows          first.
         There the program would be with the simple windows-api known from          windows 3.1 with the main message loop.
         The next step would be to adapt the program for the WinCE, only a          view calls need some different parameters because
         WinCE only has unicode. This step can be skipt when no WinCE is          needed.
         When the program runs fine, our next step was to compile an link          this with microwindows.
         Therefore microwindows is like an "operation system" to run your          program, to get the windows an drawing functions and  
         nothing for the development process itself.
          
         Best regards Robert
          
                    
           -----Urspr�ngliche Nachricht-----
Von:            tan yongzai ####@####.#### 
Gesendet: Mittwoch,            21. Juni 2006 03:08
An:            ####@####.####
Betreff: Re: AW: [nanogui] Microwin            and Wince 


Hi Robert,

  Thanks for            your reply. How do you use the microwin to develop and run the WinCE            application? I was not able to find any guide in using the microwin to            develop the WinCE program and is kinda confuse.

  I really            appreciated your help. Thank            you.

Regards,
YongZai

Kinz-Elektronik            ####@####.#### wrote:            Hello,

we              are writing programs for windows and WinCE. And had no problem to              run
them
using microwindows. Some calls behave a little bit              different but in main
it is the same
API like Windows /              WinCE.

Regards Robert

> -----Urspr�ngliche              Nachricht-----
> Von: Greg Haerr ####@####.####              
> Gesendet: Montag, 19. Juni 2006 04:21
> An: tan              yongzai; ####@####.####
> Betreff: Re: [nanogui]              Microwin and Wince 
> 
> 
> : Has anyone tried to              build wince application using microwin? 
> 
> I haven't.              Microwindows implements only a subset of the 
> GDI and USER              code of Windows, but no special WinCE
> calls.
>              
> Regards,
> 
> Greg
> 
>              ---------------------------------------------------------------------
>              To unsubscribe, e-mail: ####@####.####
>              For additional commands, e-mail:              ####@####.####
> 
>              


---------------------------------------------------------------------
To              unsubscribe, e-mail: ####@####.####
For              additional commands, e-mail:            ####@####.####


           
           
---------------------------------
           Want to be your own boss? Learn how on Yahoo!            Small Business. 
       
       
---------------------------------
       Do you Yahoo!?
Everyone is raving about the all-new        Yahoo! Mail Beta.
      

---------------------------------
   Ring'em or ping'em. Make PC-to-phone    calls as low as 1�/min with Yahoo! Messenger with  Voice.

 		
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs.Try it free. 
Subject: Re: [nanogui] Microwin and Wince
From: "Greg Haerr" ####@####.####
Date: 11 Jul 2006 16:08:01 +0100
Message-Id: <060a01c6a4fb$c3788580$2f01a8c0@HaydenLake>

NachrichtThe problem here is that the libmw*.a libraries aren't
being referenced or provided to the linker.  IIRC these
libraries are in multiple files, make sure all are specified
on the linker command line when running VERBOSE=Y

Regards,

Greg
  ----- Original Message ----- 
  From: tan yongzai 
  To: ####@####.#### 
  Sent: Sunday, July 09, 2006 7:22 AM
  Subject: Re: [nanogui] Microwin and Wince 


  Hi Robert,

    I'm using the embedded VC++ 4.0 to build the mdemo of the microwin. I have included the preprocessor of the headers file into the project, and change all the NULL values to 0. This steps remove the compile errors complain by embedded VC++. Now the problem is the linking issue. I guess maybe need to include some library for it to work but i'm quite confuse on what libraries to include. Your advice is greatly appreciated. Thanks.
  Here is the error output (Project name is "b"): 

  Linking...
  b.obj : error LNK2001: unresolved external symbol "struct MWIMAGEHDR image_penguin" (?image_penguin@@3UMWIMAGEHDR@@A)
  b.obj : error LNK2019: unresolved external symbol _RegisterClass referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
  b.obj : error LNK2019: unresolved external symbol _MwRegisterProgressBarControl referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
  b.obj : error LNK2019: unresolved external symbol _MwRegisterListboxControl referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
  b.obj : error LNK2019: unresolved external symbol _MwRegisterEditControl referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
  b.obj : error LNK2019: unresolved external symbol _MwRegisterButtonControl referenced in function "int __cdecl RegisterAppClass(void)" (?RegisterAppClass@@YAHXZ)
  b.obj : error LNK2019: unresolved external symbol _SendMessage referenced in function "struct hwnd * __cdecl CreateAppWindow(void)" (?CreateAppWindow@@YAPAUhwnd@@XZ)
  b.obj : error LNK2019: unresolved external symbol _CreateWindowEx referenced in function "struct hwnd * __cdecl CreateAppWindow(void)" (?CreateAppWindow@@YAPAUhwnd@@XZ)
  b.obj : error LNK2019: unresolved external symbol _DefWindowProc referenced in function "long __cdecl ChildWndProc(struct hwnd *,unsigned int,unsigned int,long)" (?ChildWndProc@@YAJPAUhwnd@@IIJ@Z)
  b.obj : error LNK2019: unresolved external symbol _DrawDIB referenced in function "long __cdecl ChildWndProc(struct hwnd *,unsigned int,unsigned int,long)" (?ChildWndProc@@YAJPAUhwnd@@IIJ@Z)
  b.obj : error LNK2019: unresolved external symbol "void __cdecl GdArcAngle(struct _mwscreendevice *,int,int,int,int,int,int,int)" (?GdArcAngle@@YAXPAU_mwscreendevice@@HHHHHHH@Z) referenced in function "long __cdecl WndProc(struct hwnd *,unsigned int
  ,unsigned int,long)" (?WndProc@@YAJPAUhwnd@@IIJ@Z)
  b.obj : error LNK2019: unresolved external symbol "unsigned long __cdecl GdSetForegroundColor(struct _mwscreendevice *,unsigned long)" (?GdSetForegroundColor@@YAKPAU_mwscreendevice@@K@Z) referenced in function "long __cdecl WndProc(struct hwnd *,uns
  igned int,unsigned int,long)" (?WndProc@@YAJPAUhwnd@@IIJ@Z)
  b.obj : error LNK2019: unresolved external symbol _DispatchMessage referenced in function _WinMain@16
  b.obj : error LNK2019: unresolved external symbol _GetMessage referenced in function _WinMain@16
  b.obj : error LNK2019: unresolved external symbol "int __cdecl MwSetDesktopWallpaper(struct MWIMAGEHDR *)" (?MwSetDesktopWallpaper@@YAHPAUMWIMAGEHDR@@@Z) referenced in function _WinMain@16
  b.obj : error LNK2001: unresolved external symbol "struct MWIMAGEHDR image_microwin" (?image_microwin@@3UMWIMAGEHDR@@A)
  corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol _WinMain referenced in function _WinMainCRTStartup
  emulatorDbg/b.exe : fatal error LNK1120: 17 unresolved externals
  Error executing link.exe.

  b.exe - 18 error(s), 0 warning(s)

  Regards,
  YongZai

  Kinz-Elektronik ####@####.#### wrote:
    Hi YongZai,

    we are using the free Compiler MicrosoftEmbeddedVisualC++ Version 3.0 and 4.0. For this Compiler you have to
    install and SDK which belogs to the Hardware where your program shoule run.

    Als dokumention we are using the Microsoft Developer Network (MSDN), I think you can get this info also online.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/apippc/html/ppc_rapi_zque.asp

    Regards Robert
      -----Urspr�ngliche Nachricht-----
      Von: tan yongzai ####@####.#### 
      Gesendet: Freitag, 23. Juni 2006 18:02
      An: ####@####.####
      Betreff: Re: AW: AW: AW: [nanogui] Microwin and Wince 


      Hi Robert,

        Many thanks for your advice. Well, I have a program written in microwin, tested on the linux desktop. But I don't know how to port to embedded window (WinCE).
      Do you have any good reference?

        Thanks again.. 

      Best Regards,
      YongZai

      Kinz-Elektronik ####@####.#### wrote: 
        Hi YoungZai,

        generally it is free for you where you start to develop your program first. 
        Our backgroud was progrmming for windows so this was easier to manage
        to get the programm running. In the first step we startet on the normal windows on
        the pc and adapted the parts to get it running on WinCE(subset of win-api).
        In our company the tools for win-programming are better know an so we get
        faster to the goal.

        It is possible to start your program on microwindows an do then the port for
        WinCE.

        Regards Robert
          -----Urspr�ngliche Nachricht-----
          Von: tan yongzai ####@####.#### 
          Gesendet: Donnerstag, 22. Juni 2006 03:08
          An: ####@####.####
          Betreff: Re: AW: AW: [nanogui] Microwin and Wince 


          Hi Robert,

            Correct me if I'm wrong.
            Do you mean we still need to develop our program using WinCE development tool first before porting to microwin?
            Btw, does microwin only runs on the embedded linux? Actually, my plan is to build a single gui coding. Then this code can be used in both embedded window and embedded linux with minor changes. Do you think microwin can provide such portability? 
            Thanks in advance

          Best Regards,
          YongZai
            

          Kinz-Elektronik ####@####.#### wrote: 
            Hi YongZai,

            first step to develop an program running on Win(CE) and microwindows would be to run the programm on windows first.
            There the program would be with the simple windows-api known from windows 3.1 with the main message loop.
            The next step would be to adapt the program for the WinCE, only a view calls need some different parameters because
            WinCE only has unicode. This step can be skipt when no WinCE is needed.
            When the program runs fine, our next step was to compile an link this with microwindows.
            Therefore microwindows is like an "operation system" to run your program, to get the windows an drawing functions and 
            nothing for the development process itself.

            Best regards Robert

              -----Urspr�ngliche Nachricht-----
              Von: tan yongzai ####@####.#### 
              Gesendet: Mittwoch, 21. Juni 2006 03:08
              An: ####@####.####
              Betreff: Re: AW: [nanogui] Microwin and Wince 


              Hi Robert,

                Thanks for your reply. How do you use the microwin to develop and run the WinCE application? I was not able to find any guide in using the microwin to develop the WinCE program and is kinda confuse.

                I really appreciated your help. Thank you.

              Regards,
              YongZai

              Kinz-Elektronik ####@####.#### wrote: 
                Hello,

                we are writing programs for windows and WinCE. And had no problem to run
                them
                using microwindows. Some calls behave a little bit different but in main
                it is the same
                API like Windows / WinCE.

                Regards Robert

                > -----Urspr�ngliche Nachricht-----
                > Von: Greg Haerr ####@####.#### 
                > Gesendet: Montag, 19. Juni 2006 04:21
                > An: tan yongzai; ####@####.####
                > Betreff: Re: [nanogui] Microwin and Wince 
                > 
                > 
                > : Has anyone tried to build wince application using microwin? 
                > 
                > I haven't. Microwindows implements only a subset of the 
                > GDI and USER code of Windows, but no special WinCE
                > calls.
                > 
                > Regards,
                > 
                > Greg
                > 
                > ---------------------------------------------------------------------
                > To unsubscribe, e-mail: ####@####.####
                > For additional commands, e-mail: ####@####.####
                > 
                > 


                ---------------------------------------------------------------------
                To unsubscribe, e-mail: ####@####.####
                For additional commands, e-mail: ####@####.####





------------------------------------------------------------------
              Want to be your own boss? Learn how on Yahoo! Small Business. 



----------------------------------------------------------------------
          Do you Yahoo!?
          Everyone is raving about the all-new Yahoo! Mail Beta.



--------------------------------------------------------------------------
      Ring'em or ping'em. Make PC-to-phone calls as low as 1�/min with Yahoo! Messenger with Voice.




------------------------------------------------------------------------------
  Yahoo! Music Unlimited - Access over 1 million songs. Try it free. 
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.