Windows Ce.net

Windows Ce.net

Postby Maurizio » Thu Oct 05, 2006 12:10 pm

Hello Antonio

I use for my programm (make with FWPPC ) a palm with Windows CE.NET 4.20 Processor Intel(R) PXA255 a PSC Falcon 4200 , all the programms works very well .

Now I have a cash register with Windows CE.NET 4.20 and Processor Intel(R) PXA255 the same as the palm , but when I execute the program
I get the message "This program cannot be run in CE.NET"

I know that this problem could be due to the cash.
Antonio , are you able to give me some clue as to solve this problem ?

Regards Maurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » Thu Oct 05, 2006 12:32 pm

Maurizio,

Build this little sample and test it on that Pocket PC:
Code: Select all  Expand view  RUN
function Main()

   MsgInfo( "hello world!" )

return nil

function CeSetmenu() ; return nil
function GetMenu() ; return nil
function ReadBitmap() ; return nil
function PalBmpRead() ; return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42112
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Maurizio » Thu Oct 05, 2006 1:53 pm

Antonio

Many thanks for your quick response

Your test work , but if I try this function in my Prg I have this error

FiveCEC.lib(AYGSHELL.obj) : error LNK2005: "void __cdecl HB_FUN_CESETMENU(void)"
(?HB_FUN_CESETMENU@@YAXXZ) already defined in MASTROCE.obj
FiveCEC.lib(AYGSHELL.obj) : error LNK2005: "void __cdecl HB_FUN_GETMENU(void)" (
?HB_FUN_GETMENU@@YAXXZ) already defined in MASTROCE.obj
FiveCEC.lib(AYGSHELL.obj) : error LNK2005: "void __cdecl HB_FUN_READBITMAP(void)
" (?HB_FUN_READBITMAP@@YAXXZ) already defined in MASTROCE.obj
FiveCEC.lib(AYGSHELL.obj) : error LNK2005: "void __cdecl HB_FUN_PALBMPREAD(void)
" (?HB_FUN_PALBMPREAD@@YAXXZ) already defined in MASTROCE.obj
FiveCEC.lib(AYGSHELL.obj) : warning LNK4006: "void __cdecl HB_FUN_CESETMENU(void
)" (?HB_FUN_CESETMENU@@YAXXZ) already defined in MASTROCE.obj; second definition
ignored
FiveCEC.lib(AYGSHELL.obj) : warning LNK4006: "void __cdecl HB_FUN_GETMENU(void)"
(?HB_FUN_GETMENU@@YAXXZ) already defined in MASTROCE.obj; second definition ign
ored
FiveCEC.lib(AYGSHELL.obj) : warning LNK4006: "void __cdecl HB_FUN_READBITMAP(voi
d)" (?HB_FUN_READBITMAP@@YAXXZ) already defined in MASTROCE.obj; second definiti
on ignored
FiveCEC.lib(AYGSHELL.obj) : warning LNK4006: "void __cdecl HB_FUN_PALBMPREAD(voi
d)" (?HB_FUN_PALBMPREAD@@YAXXZ) already defined in MASTROCE.obj; second definiti
on ignored
Creating library MASTROCE.lib and object MASTROCE.exp
MASTROCE.exe : fatal error LNK1169: one or more multiply defined symbols found
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » Thu Oct 05, 2006 4:11 pm

Mauricio,

Do this:

lib /REMOVE:AYGSHELL.obj FiveCEC.lib

and try it again
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42112
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Maurizio » Sat Oct 07, 2006 4:28 pm

Antonio

how I use it

Thank
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » Sat Oct 07, 2006 5:26 pm

Maurizio,

lib.exe its located at vce\bin directory.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42112
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Maurizio » Sat Oct 07, 2006 7:50 pm

Antonio
I have this error :

C:\VCE\bin>lib /REMOVE:AYGSHELL.obj FiveCEC.lib
Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation. All rights reserved.

LIB : warning LNK4014: cannot find member object AYGSHELL.obj

Regards
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » Sat Oct 07, 2006 9:50 pm

Maurizio,

lib /remove:objcec\AYGSHELL.obj fivecec.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42112
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Maurizio » Mon Oct 09, 2006 6:20 am

Antonio

Thank now work

MAurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby Otto » Tue Oct 10, 2006 7:50 am

Hello Maurizio,

>Now I have a cash register
What kind of hardware is this?

Greetings from Sillian
Otto
User avatar
Otto
 
Posts: 6333
Joined: Fri Oct 07, 2005 7:07 pm

Postby Maurizio » Tue Oct 10, 2006 1:51 pm

Ciao Otto

E' un registratore di cassa fiscale del nostro fornitore RCH .

Si chiama GLOBE

http://www.rch.it
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 34 guests