newbee struggling

R

registration

I need to copy a LPOLESTR to another LPOLESTR for later usage.

I do the following while inside a CreateClassEnumerator loop :
LPOLESTR lpDisplayName;
pMoniker->GetDisplayName(NULL, NULL, &lpDisplayName);

I need to create a copy of lpDisplayName to store inside a class for
later reference.
 
R

red floyd

I need to copy a LPOLESTR to another LPOLESTR for later usage.

I do the following while inside a CreateClassEnumerator loop :
LPOLESTR lpDisplayName;
pMoniker->GetDisplayName(NULL, NULL, &lpDisplayName);

I need to create a copy of lpDisplayName to store inside a class for
later reference.

Your problem is with the Windows API. Please ask in a newsgroup with
Windows or Microsoft in its name. For a list of possible suggestions,
see FAQ 5.9


http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,173
Messages
2,570,938
Members
47,475
Latest member
NovellaSce

Latest Threads

Top