Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalneed some help!!! Pin
27-Oct-01 16:48
suss27-Oct-01 16:48 
GeneralRe: need some help!!! Pin
Christian Graus27-Oct-01 20:31
protectorChristian Graus27-Oct-01 20:31 
GeneralSendInput is driving me insane! Pin
CrazyJim27-Oct-01 16:41
CrazyJim27-Oct-01 16:41 
GeneralRe: SendInput is driving me insane! Pin
Christian Graus27-Oct-01 20:41
protectorChristian Graus27-Oct-01 20:41 
GeneralRe: SendInput is driving me insane! Pin
CrazyJim29-Oct-01 7:33
CrazyJim29-Oct-01 7:33 
GeneralRe: SendInput is driving me insane! Pin
Christian Graus29-Oct-01 9:18
protectorChristian Graus29-Oct-01 9:18 
GeneralATL - BSTRs and Properties Pin
RichB27-Oct-01 16:15
RichB27-Oct-01 16:15 
GeneralRe: ATL - BSTRs and Properties Pin
Michael Dunn27-Oct-01 18:23
sitebuilderMichael Dunn27-Oct-01 18:23 
You also need to free the BSTRs before storing new values in them. So in get_Property:
SysFreeString ( *pVal );
And in put_Property:
SysFreeString ( bstrProperty );

I believe it's ok to pass NULL to SysFreeString(), but it wouldn't hurt to put in some standard pointer error-checking as well.

--Mike--
http://home.inreach.com/mdunn/
This posting is provided "as was" with no warranties, guarantees, lotteries, or any of those little bags of peanuts you get on planes. You assume all risk for crossing the street without holding mommy's hand. © 2001 Mike's Classy Software. Member FDIC. If rash develops, discontinue use.
Heart | [heart] your Green Alien | [Alien] with Good Stuff | [The good stuff] and Beer | [beer]
GeneralRe: ATL - BSTRs and Properties Pin
RichB28-Oct-01 3:47
RichB28-Oct-01 3:47 
GeneralTime Zone data Pin
Wolfram Steinke27-Oct-01 15:09
Wolfram Steinke27-Oct-01 15:09 
GeneralRe: Time Zone data Pin
Michael Dunn28-Oct-01 8:12
sitebuilderMichael Dunn28-Oct-01 8:12 
QuestionLock and unlock toolbars? Pin
MaTrIX2k227-Oct-01 15:04
MaTrIX2k227-Oct-01 15:04 
GeneralEnumChildWindows Pin
Mustafa Demirhan27-Oct-01 10:41
Mustafa Demirhan27-Oct-01 10:41 
GeneralRe: EnumChildWindows Pin
Christian Graus27-Oct-01 20:36
protectorChristian Graus27-Oct-01 20:36 
GeneralRe: EnumChildWindows Pin
Mustafa Demirhan28-Oct-01 5:24
Mustafa Demirhan28-Oct-01 5:24 
GeneralRe: EnumChildWindows Pin
Christian Graus28-Oct-01 10:28
protectorChristian Graus28-Oct-01 10:28 
GeneralRe: EnumChildWindows Pin
Todd Smith28-Oct-01 13:48
Todd Smith28-Oct-01 13:48 
QuestionGetting a combobox in a listview subitem?? Pin
mhowes27-Oct-01 10:04
mhowes27-Oct-01 10:04 
AnswerRe: Getting a combobox in a listview subitem?? Pin
#realJSOP28-Oct-01 3:40
professional#realJSOP28-Oct-01 3:40 
Questionputting information into controls that are in a CPropertyPage???? Pin
DanYELL27-Oct-01 5:40
DanYELL27-Oct-01 5:40 
AnswerRe: putting information into controls that are in a CPropertyPage???? Pin
Chris Losinger27-Oct-01 5:47
professionalChris Losinger27-Oct-01 5:47 
AnswerRe: putting information into controls that are in a CPropertyPage???? Pin
Stan Shannon27-Oct-01 5:52
Stan Shannon27-Oct-01 5:52 
GeneralRe: putting information into controls that are in a CPropertyPage???? Pin
Stan Shannon27-Oct-01 12:41
Stan Shannon27-Oct-01 12:41 
AnswerRe: putting information into controls that are in a CPropertyPage???? Pin
Michael Dunn27-Oct-01 8:03
sitebuilderMichael Dunn27-Oct-01 8:03 
QuestionGetting console cursor position? Pin
Erik Hammar27-Oct-01 3:59
Erik Hammar27-Oct-01 3:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.