Please post programming/sdk questions in the Windows Media SDK newsgroup. You're more likely to get assistance there.
-- Thanks! Mike Poz [MSFT] -------------------- This posting is provided "AS IS" with no warranties, and confers no rights.
"payne" wrote:
[Quoted Text] > As mentioned above, I would like to ask those who expert in this area can > help me to solve my problem. > > I am currently using Vista SDK to develop my program which is able to copy > songs repeatedly. > > When I run my program repeatedly, the program hang with window dialog box > that stated that: > > "The instruction at "0x7c93426d" referenced memory at "0x26d902d". The > memory could not be "read"" > > I know this may be a pointer issue that reference to faulty memory address > but I sitll couldn't figure out the root cause. Can anybody give me some > guidance? > > Besides that, I would like to ask several question. > Question 1: > Example: > > HRESULT GetRequiredPropertiesForAllContentTypes( > IPortableDeviceValues* pObjectProperties, > LPCWSTR wszParentObjectID) > { > HRESULT hr = S_OK; > > if (pObjectProperties == NULL) > { > hr = E_POINTER; > return hr; > } > > --------------------------------------------------- > In the highlighted area (orange), is the condition of the if() is enough to > ensure the pObjectProperties does not point to faulty address. > > I am amatuer programmer that lacked of experience in this area and do not > know how to provide info to you, so please do not hestitate to ask me.
|