Windows Ce.net

Post Reply
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Windows Ce.net

Post by Maurizio »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Maurizio,

Build this little sample and test it on that Pocket PC:

Code: Select all

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
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Post by Maurizio »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Mauricio,

Do this:

lib /REMOVE:AYGSHELL.obj FiveCEC.lib

and try it again
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Post by Maurizio »

Antonio

how I use it

Thank
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Maurizio,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Post by Maurizio »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Maurizio,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Post by Maurizio »

Antonio

Thank now work

MAurizio
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

Hello Maurizio,

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

Greetings from Sillian
Otto
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Post by Maurizio »

Ciao Otto

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

Si chiama GLOBE

http://www.rch.it
Post Reply