CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Paul McKenzie

Search: Search took 1.37 seconds.

  1. Re: How to set a starting root directory for this code that selects a folder name?

    If you forget to call ReleaseBuffer when the function exits, what happens? Does the constructor for CString call ReleaseBuffer()? If it doesn't then I don't know what happens.

    Look at it this...
  2. Re: How to set a starting root directory for this code that selects a folder name?

    See this MFC/ATL string adapter class:

    http://msdn.microsoft.com/en-us/library/08thta63.aspx

    This will call ReleaseBuffer() on destruction of whatever MFC/ATL string type that it is constructed...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured