Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / IShellFolderPtr and IMallocPtr

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. IShellFolderPtr and IMallocPtr
#3041
Posted by: 2003-12-02 05:21:09
Hello,

I try to compile a project with dev-cpp 4.9.8.5, which is
designed for visual c++.

I have almost succeeded, except for there is no "IMallocPtr" and no "IShellFolderPtr" and no "comdef.h"
What can I use instead or is there an alternative for this?
Message2. Re: IShellFolderPtr and IMallocPtr
#3050
Posted by: 2003-12-04 04:37:23
Hello,

I merely replaced IShellFolderPtr and IMallocPtr with
LPSHELLFOLDER and LPMALLOC:

  static inline LPSHELLFOLDER GetDesktopFolder(void){ return m_sfDesktop; }
   static inline LPMALLOC        GetMalloc(){ return m_piMalloc; };

then it worked.

--
Francesco
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sat 2023-2-4  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0