I am using the standard x86 based BSP and i am getting this error on
oemioctl.c

I cannot trace anything relating to this, anyone has any ideas what
this
could be related to. Hardware platform I am using is EPIA x86 based.

Thanks in advance for your replies.

c:\wince420\platform\viacepc\kernel\hal\.\oemioctl.c(1200) : error
C2196: case value '16859236' already used
c:\wince420\platform\viacepc\kernel\hal\link() : error LNK1181: cannot
open input file 'obj\x86\retail\oemioctl.obj'
NMAKE : U1073: don't know how to make
'C:\WINCE420\platform\VIACEPC\lib\x86\retail\hal.lib'
NMAKE : U1073: don't know how to make
'C:\WINCE420\platform\VIACEPC\lib\x86\retail\hal.lib'
NMAKE : U1073: don't know how to make
'C:\WINCE420\platform\VIACEPC\lib\x86\retail\hal.lib'

Re: error in oemioctl.c for standard x86 platform (PB 4.2) by Bruce

Bruce
Thu Oct 21 19:47:37 CDT 2004

Have you looked on line 1200 of oemioctl.c? That would be the place to
start.

--
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

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: error in oemioctl.c for standard x86 platform (PB 4.2) by Steve

Steve
Fri Oct 22 09:26:33 CDT 2004

>>c:\wince420\platform\viacepc\kernel\hal\.\oemioctl.c(1200) : error C2196:
>>case value '16859236' already used

That's an issue in the BSP you are using not in the standard Microsoft code.
Take a look at that line - looks like you have 2 case statements for the
same IOCTL_ code

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: error in oemioctl.c for standard x86 platform (PB 4.2) by ashish

ashish
Tue Oct 26 15:25:44 CDT 2004

"Steve Maillet \(eMVP\)" <nospam1@EntelechyConsulting.com> wrote in message news:<uQdYkMEuEHA.2876@TK2MSFTNGP14.phx.gbl>...
> >>c:\wince420\platform\viacepc\kernel\hal\.\oemioctl.c(1200) : error C2196:
> >>case value '16859236' already used
>
> That's an issue in the BSP you are using not in the standard Microsoft code.
> Take a look at that line - looks like you have 2 case statements for the
> same IOCTL_ code

I am using the X86 BSP which is available with PB 4.2 and have updated
my PB engine with latest QFE's (2003,Q12004,Q22004).

Here is case statement where PB compile fails.

case IOCTL_HAL_CHANGE_CPURTAIO_FLAG:
ChagneCPURatioFlag((LPDWORD)lpInBuf);
return TRUE;

In the same file, IOCTL_HAL_CHANGE_CPURTAIO_FLAG is defined as :

#define IOCTL_HAL_CHANGE_CPURTAIO_FLAG CTL_CODE(FILE_DEVICE_HAL,
0x1019, METHOD_BUFFERED, FILE_ANY_ACCESS)