Click here to Skip to main content
15,923,789 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralATL property page can't get WM_HELP message Pin
CodewithJoe2-Nov-04 21:26
CodewithJoe2-Nov-04 21:26 
GeneralRe: ATL property page can't get WM_HELP message Pin
CodewithJoe2-Nov-04 21:34
CodewithJoe2-Nov-04 21:34 
GeneralCAxDialogImpl Pin
atabac1-Nov-04 9:34
atabac1-Nov-04 9:34 
GeneralRe: CAxDialogImpl Pin
Michael Dunn2-Nov-04 10:57
sitebuilderMichael Dunn2-Nov-04 10:57 
Generalexport attribute with struct / enum Pin
DrGreen1-Nov-04 4:04
DrGreen1-Nov-04 4:04 
GeneralRe: export attribute with struct / enum Pin
RChin3-Nov-04 6:38
RChin3-Nov-04 6:38 
GeneralRe: export attribute with struct / enum Pin
User 21559716-Nov-04 0:20
User 21559716-Nov-04 0:20 
GeneralWTL resource leak Pin
nm_11431-Oct-04 7:08
nm_11431-Oct-04 7:08 
When I run my WTL program I get a resource leak in atlframe.h line 1225:

	HWND CreateEx(HWND hWndParent = NULL, ATL::_U_RECT rect = NULL, DWORD dwStyle = 0, DWORD dwExStyle = 0, LPVOID lpCreateParam = NULL)
	{
		const int cchName = 256;
		TCHAR szWindowName[cchName];
		szWindowName[0] = 0;
#ifndef _WIN32_WCE
#if (_ATL_VER >= 0x0700)
		::LoadString(ATL::_AtlBaseModule.GetResourceInstance(), T::GetWndClassInfo().m_uCommonResourceID, szWindowName, cchName);
		HMENU hMenu = ::LoadMenu(ATL::_AtlBaseModule.GetResourceInstance(), MAKEINTRESOURCE(T::GetWndClassInfo().m_uCommonResourceID));
#else //!(_ATL_VER >= 0x0700)
		::LoadString(_Module.GetResourceInstance(), T::GetWndClassInfo().m_uCommonResourceID, szWindowName, cchName);
/*!LEAK HERE!*/	HMENU hMenu = ::LoadMenu(_Module.GetResourceInstance(), MAKEINTRESOURCE(T::GetWndClassInfo().m_uCommonResourceID));
#endif //!(_ATL_VER >= 0x0700)


I'm using WTL 7.5 and ATL 3.0. Is the leak because the two are incompatible? If so, how do I update ATL? I only found ATL 2.0 on the MS web site.

-thanks.
QuestionWhat is RPC Pin
Ranjish29-Oct-04 3:14
Ranjish29-Oct-04 3:14 
AnswerRe: What is RPC Pin
Nicholas Cardi10-Nov-04 4:30
Nicholas Cardi10-Nov-04 4:30 
GeneralDifference between ATL and COM Pin
Ranjish29-Oct-04 1:20
Ranjish29-Oct-04 1:20 
GeneralRe: Difference between ATL and COM Pin
Kevin McFarlane29-Oct-04 2:00
Kevin McFarlane29-Oct-04 2:00 
GeneralRe: Difference between ATL and COM Pin
ThatsAlok29-Oct-04 20:41
ThatsAlok29-Oct-04 20:41 
GeneralRe: Difference between ATL and COM Pin
Monty229-Oct-04 2:05
Monty229-Oct-04 2:05 
GeneralRe: Difference between ATL and COM Pin
User 2155971-Nov-04 19:07
User 2155971-Nov-04 19:07 
GeneralSetting checked items in a CTreeViewCtrl Pin
retro_coder28-Oct-04 23:24
retro_coder28-Oct-04 23:24 
GeneralRe: Setting checked items in a CTreeViewCtrl Pin
Jack Puppy16-Nov-04 1:24
Jack Puppy16-Nov-04 1:24 
GeneralRe: Setting checked items in a CTreeViewCtrl Pin
retro_coder16-Nov-04 17:55
retro_coder16-Nov-04 17:55 
GeneralCOM Out-Proc Exe Issue Pin
DeepakSharma28-Oct-04 1:51
DeepakSharma28-Oct-04 1:51 
Generalauto_ptr assignment and VC7 warning Pin
Rob Caldecott28-Oct-04 1:45
Rob Caldecott28-Oct-04 1:45 
GeneralRe: auto_ptr assignment and VC7 warning Pin
Nemanja Trifunovic28-Oct-04 3:13
Nemanja Trifunovic28-Oct-04 3:13 
GeneralRe: auto_ptr assignment and VC7 warning Pin
Rob Caldecott28-Oct-04 3:21
Rob Caldecott28-Oct-04 3:21 
GeneralRe: auto_ptr assignment and VC7 warning Pin
Rob Caldecott28-Oct-04 3:59
Rob Caldecott28-Oct-04 3:59 
GeneralRe: auto_ptr assignment and VC7 warning Pin
Nemanja Trifunovic28-Oct-04 5:48
Nemanja Trifunovic28-Oct-04 5:48 
GeneralToolbar for Windows Explorer Pin
iffi99227-Oct-04 23:25
iffi99227-Oct-04 23:25 

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.