Windows CE Networking Team WebLog

Windows CE Networking - from NDIS to TCP to SOAP to VOIP and everything in between.

Problems building svsutil.hxx in Windows Mobile SDK

If you try to build svsutil.hxx on certain versions of the Windows Mobile SDK, you may run into build errors.  I know it's on WM5 SDK at a minimum, I don't know about WM6 SDK. 

The error you'll see will complain about the methods int operator==(int iBit) and int operator==(SVSBitField &bf) in the class SVSBitField in particular.  What happened is that the compiler got a bit more picky at some point but the SDK headers weren't updated to reflect this in the given SDK version.  We have fixed this in latest & greatest svsutil.hxx.

If you run into this, what you'll need to do is change the initial
  for (int i = 0 ; i < m_iWLength - 1 ; ++i) {

So that the 'int i' is outside the for loop, namely:

  int i;
  for (i = 0 ; i < m_iWLength - 1 ; ++i) {

Our apologies to anyone who hits this.

John

Published Tuesday, January 22, 2008 8:42 AM by cenet
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Gautam Kumar said:

This happens if we are using Wnce 5.0 as well, int this case  saved the file wih declaring int i whereever required . and derived my class with it

May 13, 2008 3:58 AM

Leave a Comment

(required) 
(optional)
(required) 
Submit

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker