Page 1 of 1

Windows Ce.net

PostPosted: Thu Oct 05, 2006 12:10 pm
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

PostPosted: Thu Oct 05, 2006 12:32 pm
by Antonio Linares
Maurizio,

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

   MsgInfo( "hello world!" )

return nil

function CeSetmenu() ; return nil
function GetMenu() ; return nil
function ReadBitmap() ; return nil
function PalBmpRead() ; return nil

PostPosted: Thu Oct 05, 2006 1:53 pm
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

PostPosted: Thu Oct 05, 2006 4:11 pm
by Antonio Linares
Mauricio,

Do this:

lib /REMOVE:AYGSHELL.obj FiveCEC.lib

and try it again

PostPosted: Sat Oct 07, 2006 4:28 pm
by Maurizio
Antonio

how I use it

Thank

PostPosted: Sat Oct 07, 2006 5:26 pm
by Antonio Linares
Maurizio,

lib.exe its located at vce\bin directory.

PostPosted: Sat Oct 07, 2006 7:50 pm
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

PostPosted: Sat Oct 07, 2006 9:50 pm
by Antonio Linares
Maurizio,

lib /remove:objcec\AYGSHELL.obj fivecec.lib

PostPosted: Mon Oct 09, 2006 6:20 am
by Maurizio
Antonio

Thank now work

MAurizio

PostPosted: Tue Oct 10, 2006 7:50 am
by Otto
Hello Maurizio,

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

Greetings from Sillian
Otto

PostPosted: Tue Oct 10, 2006 1:51 pm
by Maurizio
Ciao Otto

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

Si chiama GLOBE

http://www.rch.it