Click here to Skip to main content
15,908,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetting path from Registry Key Handle Pin
imranhabib19-Dec-03 8:17
imranhabib19-Dec-03 8:17 
GeneralRe: Getting path from Registry Key Handle Pin
pankajdaga19-Dec-03 23:10
pankajdaga19-Dec-03 23:10 
GeneralRe: Getting path from Registry Key Handle Pin
imranhabib20-Dec-03 1:39
imranhabib20-Dec-03 1:39 
GeneralRe: Getting path from Registry Key Handle Pin
imranhabib5-Jan-04 5:41
imranhabib5-Jan-04 5:41 
Generallinking with a library Pin
karteek19-Dec-03 6:24
karteek19-Dec-03 6:24 
GeneralRe: linking with a library Pin
jmkhael19-Dec-03 6:29
jmkhael19-Dec-03 6:29 
GeneralRe: linking with a library Pin
Anonymous19-Dec-03 12:15
Anonymous19-Dec-03 12:15 
GeneralCListCtrl Problem Pin
Rassul Yunussov19-Dec-03 6:18
Rassul Yunussov19-Dec-03 6:18 
I Use CListCtrl and do exactly these steps:
Make some columns, then add some elements into the controll, then delete them and delete all the column. Then i repeat the same action some time. And i lose some memory on this operation.

Does anybody know what problem do I have with memory leak???

Please Help...

There are some expressions frome my code:
It is a functionSmile | :)

void CChanelsSchedul::OnChanelChanged()
{
if(m_ADODatabase.IsOpen())
{
CMainFrame* mainframe = reinterpret_cast<cmainframe*>(AfxGetMainWnd());
CChanels* chanels = reinterpret_cast<cchanels*>(mainframe->m_wndSplitter.GetPane(0,0));
CListCtrl* lcontroll = &(chanels->GetListCtrl());
POSITION pos = lcontroll->GetFirstSelectedItemPosition();
int ID = chanels->ID[lcontroll->GetNextSelectedItem(pos)];

CADOParameter Chanel_ID(CADORecordset::typeInteger,sizeof(int));
Chanel_ID.SetValue(ID);
m_ChanelsSchedulList.DeleteAllItems();

int itemCount = m_ChanelsSchedulList.GetHeaderCtrl()->GetItemCount();
for(int i = 0;i
GeneralRe: CListCtrl Problem Pin
John R. Shaw19-Dec-03 12:13
John R. Shaw19-Dec-03 12:13 
GeneralRe: CListCtrl Problem Pin
Rassul Yunussov19-Dec-03 20:06
Rassul Yunussov19-Dec-03 20:06 
GeneralRe: CListCtrl Problem Pin
John R. Shaw20-Dec-03 15:07
John R. Shaw20-Dec-03 15:07 
GeneralAbout sound... Pin
Weiye Chen19-Dec-03 6:12
Weiye Chen19-Dec-03 6:12 
GeneralRe: About sound... Pin
Roger Wright19-Dec-03 6:27
professionalRoger Wright19-Dec-03 6:27 
GeneralRe: About sound... Pin
Weiye Chen19-Dec-03 15:57
Weiye Chen19-Dec-03 15:57 
GeneralRe: About sound... Pin
Roger Wright19-Dec-03 20:28
professionalRoger Wright19-Dec-03 20:28 
GeneralRe: About sound... Pin
Monty219-Dec-03 19:24
Monty219-Dec-03 19:24 
GeneralRe: About sound... Pin
Roger Wright19-Dec-03 20:29
professionalRoger Wright19-Dec-03 20:29 
Generalusing a sheet of excel Pin
aguest19-Dec-03 5:57
aguest19-Dec-03 5:57 
GeneralRe: using a sheet of excel Pin
Toco19-Dec-03 6:51
Toco19-Dec-03 6:51 
GeneralRe: using a sheet of excel Pin
aguest19-Dec-03 7:18
aguest19-Dec-03 7:18 
GeneralCheck-box inside a CListCtrl Issue..! Pin
Halloko19-Dec-03 5:50
Halloko19-Dec-03 5:50 
General.rc file and sound resource Pin
ns19-Dec-03 5:34
ns19-Dec-03 5:34 
GeneralRe: .rc file and sound resource Pin
Jonathan [Darka]19-Dec-03 6:03
professionalJonathan [Darka]19-Dec-03 6:03 
GeneralRe: .rc file and sound resource Pin
ns19-Dec-03 7:06
ns19-Dec-03 7:06 
GeneralCString to ULONG Pin
star fish19-Dec-03 5:32
star fish19-Dec-03 5:32 

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.