Month: May 2008

Windows Image Mastering IMAPI

In continuation of Nero API… Windows IMAPI is much more convenient to use, it is built on COM, it is “more Windows” etc, however there was an issue even there. Normally IEnumXXX::Next enumerator method accepts third parameter NULL since if we are getting items one by one, we are fine processing return code S_OK/S_FALSE and…

Read the full article

Nero API

I have recently been working on CD/DVD burning feature and I was using Ahead Nero API as an option. Frankly, I was of a better opinion of this API. It is more or less well documented and C++ definitions looks fine, however… The first problem was it failed to operate on a worker thread. My…

Read the full article

Did you know that: LVN_GETINFOTIP?

Did you know that when you handle LVN_GETINFOTIP notification message and you are provided with NMLVGETINFOTIP structure, you cannot just supply your own pszText string for the tooltip text? Instead you have to copy your string into supplied buffer, such as using _tcsncpy function. Otherwise things would not work. BEGIN_MSG_MAP_EX(CFooPropertyPage) CHAIN_MSG_MAP(CPropertyPageT) … MSG_LVN_GETINFOTIP(IDC_FOOLISTVIEW, OnFooListViewGetInfoTip) REFLECT_NOTIFICATIONS()…

Read the full article

SMTP humor

SMTP Session: … Wed 2008-05-07 17:22:45: [1304:1] –> DATA Wed 2008-05-07 17:22:45: [1304:1] <– 354 go ahead punk, make my day Wed 2008-05-07 17:22:45: [1304:1] Sending <xxxxxxxxxxxxxxxxxx\pd35000088936.msg> to [64.202.166.12] Wed 2008-05-07 17:22:45: [1304:1] Transfer Complete Wed 2008-05-07 17:22:46: [1304:1] <– 554 The message was rejected because it contains prohibited virus or spam content Wed 2008-05-07…

Read the full article