Group:  English: Entertainment ยป microsoft.public.windowsmedia.devices
Thread: What should I aware of when I call function "TransferContentToDevi

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

What should I aware of when I call function "TransferContentToDevi
payne 15.06.2007 03:24:00
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.
RE: What should I aware of when I call function "TransferContentToDevi
Mike Poz [MSFT] 20.06.2007 04:43:04
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.

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net