So for a (lack of) progress report...
At this point I have it working, or at least it appears to be...With one minor exception. It crashes on XP x86. Runs fine on Win7 x64 and Server 2k3 x64, but crashes on (the target platform) XP x86... *Sigh*
I've narrowed it down to a specific function and line of code, but I've not a clue why/what's wrong with it:
Suggestions appreciated.
At this point I have it working, or at least it appears to be...With one minor exception. It crashes on XP x86. Runs fine on Win7 x64 and Server 2k3 x64, but crashes on (the target platform) XP x86... *Sigh*
I've narrowed it down to a specific function and line of code, but I've not a clue why/what's wrong with it:
Code: (cpp)
//================================================================================================
//-------------+++--> Strip \DEVICE\TCPIP_ Off of wszName to Get the Adapter's GUID For Comparison:
void StripOutGUID(WCHAR *szGUID, WCHAR *wszName) { //---------------------------------------+++-->
WCHAR *p; // Walk the string to find the GUID opening '{' character. Sure There
// Are Easier Ways to do This ... But This Way I Avoid Language Issues.
p = wszName;
while(*p != L'{') *p++;
// wsprintf(szGUID, L"%s", p); // ALL of These Work, but Crash on XP...?!?
// StringCbPrintf(szGUID, GEN_BUFF, L"%s", p); // ALL of These Work, but Crash on XP...?!?
StringCbCopy(szGUID, GEN_BUFF, p); // ALL of These Work, but Crash on XP...?!?
}Suggestions appreciated.







