WTL

    Date: 05/26/06 (Code WTF)    Keywords: tracker, microsoft

    // Windows Template Library - WTL version 7.5
    // Copyright (C) Microsoft Corporation. All rights reserved.
    ...
    #define MSG_WM_GETTEXT(func) \
    	if (uMsg == WM_GETTEXT) \
    	{ \
    		SetMsgHandled(TRUE); \
    		lResult = (LRESULT)func((int)wParam, (LPTSTR)lParam); \
    		if(IsMsgHandled()) \
    			return TRUE; \
    	}

    wParam - это unsigned int, а они его - в int...

    PS. В bugtracker им чтоли написать?

    Source: http://community.livejournal.com/code_wtf/39827.html

« Блондинки-прог... || Visual Basic / SQL in MS... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home