For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > March 2006 > Platform Builder strikes again









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Platform Builder strikes again
Norman Diamond

2006-03-15, 3:57 am

http://msdn.microsoft.com/library/d...dthreadpool.asp
> SVSCookie btutil_ScheduleEvent (
> LPTHREAD_START_ROUTINE pfn,
> LPVOID lpParameter,
> unsigned long ulDelayTime
> );
> int btutil_UnScheduleEvent (SVSCookie ulCookie);


I don't even call these functions, but any source file that does #include
<bt_ddi.h> has to contend with these declarations.

I couldn't find a definition of SVSCookie anywhere. Microsoft's doggie
search couldn't find it. MSDN could only find the same page I just quoted
from, plus the Windows CE 4.2 version. Google isn't even an MSDN customer's
best friend any more -- Google couldn't even find the MSDN pages that MSDN
found.

In order to get a compilation to finish, I added the following line to
stdafx.h:
typedef struct { void *pMicrosoftQuality; } *SVSCookie;

Did anyone, anywhere, test anything involving Microsoft's file bt_ddi.h?

Scott Yost [MSFT]

2006-03-16, 7:00 pm

Hi Norman,
Does including svsutil.hxx from the SDK solve the problem?

--
Scott Yost
Software Development Engineer/Test
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.

"Norman Diamond" <ndiamond@community.nospam> wrote in message
news:uFyyME$RGHA.4952@TK2MSFTNGP09.phx.gbl...
> http://msdn.microsoft.com/library/d...dthreadpool.asp
>
> I don't even call these functions, but any source file that does #include
> <bt_ddi.h> has to contend with these declarations.
>
> I couldn't find a definition of SVSCookie anywhere. Microsoft's doggie
> search couldn't find it. MSDN could only find the same page I just quoted
> from, plus the Windows CE 4.2 version. Google isn't even an MSDN
> customer's
> best friend any more -- Google couldn't even find the MSDN pages that
> MSDN
> found.
>
> In order to get a compilation to finish, I added the following line to
> stdafx.h:
> typedef struct { void *pMicrosoftQuality; } *SVSCookie;
>
> Did anyone, anywhere, test anything involving Microsoft's file bt_ddi.h?
>


Norman Diamond

2006-03-16, 7:00 pm

Mr. Yost,

Thank you for your advice, which changes the problem but doesn't solve it.

I wasn't aware of the *.hxx header files and thank you for teaching me about
their existence. In exchange, I get to teach you some C++.

Visual Studio 2005 gives error message C2065 on line 1522 of file
svsutil.hxx, because variable i has gone out of scope, and Visual Studio
2005 comes closer to standard conformance than previous editions.

I suppose that the Platform Builder (120-day evaluation version) is intended
to be used only with eVC++4. In fact until about a w ago our present
customer was also insisting on the use of eVC++4, but then they decided they
want to target both Windows Mobile 2003 Second Edition and Windows Mobile 5.
One colleague installed Platform Builder after Visual Studio 2005 and it
damaged Visual Studio 2005 a little bit.

Is there an update for file svsutil.hxx? Or should we backup the file and
modify it ourselves? It's pretty obvious technically how to fix this
particular bug, but not obvious politically what measures we should take
when fixing a bug in a Microsoft file. At least it is fortunate that we
have the source code available for making the fix technically.

Thank you.

Yours sincerely,
Norman Diamond


"Scott Yost [MSFT]" <scyost@online.microsoft.com> wrote in message
news:%231w1GcVSGHA.4960@TK2MSFTNGP12.phx.gbl...
> Hi Norman,
> Does including svsutil.hxx from the SDK solve the problem?
>
> --
> Scott Yost
> Software Development Engineer/Test
> Microsoft Corp.
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "Norman Diamond" <ndiamond@community.nospam> wrote in message
> news:uFyyME$RGHA.4952@TK2MSFTNGP09.phx.gbl...
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com