Changes between Version 50 and Version 51 of FAQ


Ignore:
Timestamp:
Jul 14, 2008 4:36:31 PM (16 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v50 v51  
    11201120 
    11211121 - [http://sipekphone2.googlepages.com/ Sipek Phone project], created by Sasa Coh, is a project to build a SIP softphone using .NET, and it has an PJSIP ActiveX wrapper as part of the project. 
     1122 
     1123=== I'm not able to build PJSIP with Visual Studio 2008 === #vs2008 
     1124 
     1125Q: 
     1126 I'm continuing to build under vs2008, I download the directxSDK and puts its lib and include dir into the pjsip project But I having a strange error during the build, the Microsoft compiler is complaing about que Microsoft code). Let me show the code and the error: 
     1127 
     1128 {{{ 
     1129Code: 
     1130ULONG 
     1131WINAPI 
     1132GetIpStatisticsEx( 
     1133    OUT PMIB_IPSTATS Statistics, 
     1134    IN ULONG Family 
     1135    ); 
     1136 
     1137Error: 
     11381>e:\arquivos de programas\microsoft sdks\windows\v6.1\include\iphlpapi.h(390) :  
     1139error C2146: syntax error : missing ')' before identifier 'Statistics' 
     1140 }}} 
     1141 
     1142A: Quoting Alan J. Bond's [http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-July/003667.html post on PJSIP mailing list]: 
     1143 
     1144 Please check the version of Windows SDK you are using.  Here are the details I previously posted about this problem: 
     1145 
     1146 Windows SDK for Windows 2008 (6001.18000.367) has a typo in iphlpapi.h. The PJSIP project will not build with this SDK version unless iphlpapi.h is corrected.  Nor will anything else using iphlpapi.h with _WIN32_WINNT defined as 0x4000 (for NT4 backward compatibility, not commonly used these days).  It will throw up at this point in iphlpapi.h 
     1147 
     1148 {{{ 
     1149#if (NTDDI_VERSION >= NTDDI_XP) 
     1150ULONG 
     1151WINAPI 
     1152GetIpStatisticsEx( 
     1153    OUT PMIB_IPSTATS Statistics, 
     1154    IN ULONG Family 
     1155    ); 
     1156 }}} 
     1157 ... complaining that PMIB_IPSTATS is undefined.  This is because it erroneously enters this #if block because NTDDI_XP (which should be NTDDI_WINXP) is undefined.  The NTDDI_xxx symbols are all defined in sdkddkver.h 
     1158 
     1159 Please note that this is specific to this particular SDK version.  Just find the above in iphlpapi.h and change NTDDI_XP to NTDDI_WINXP. 
     1160 
    11221161 
    11231162 
     
    12271266---- 
    12281267 
     1268 
    12291269== Linux/uC-Linux Specific Questions == 
    12301270