Click here to Skip to main content
15,899,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Message for scrolling listctrl? Pin
Benedict Verheyen27-Jul-00 2:57
sussBenedict Verheyen27-Jul-00 2:57 
GeneralRegarding Installation program Pin
krithi25-Jul-00 19:23
krithi25-Jul-00 19:23 
GeneralRe: Regarding Installation program Pin
Benedict Verheyen25-Jul-00 22:58
sussBenedict Verheyen25-Jul-00 22:58 
GeneralRe: Regarding Installation program Pin
xtsea26-Jul-00 3:27
xtsea26-Jul-00 3:27 
GeneralRe: Regarding Installation program Pin
Benedict Verheyen27-Jul-00 2:46
sussBenedict Verheyen27-Jul-00 2:46 
GeneralRe: Regarding Installation program Pin
Ravi Shankar26-Jul-00 7:35
Ravi Shankar26-Jul-00 7:35 
GeneralRe: Regarding Installation program Pin
trey3-Aug-00 8:28
trey3-Aug-00 8:28 
GeneralCDaoRecordSet crashes on Close Pin
Paul Ebert25-Jul-00 12:55
Paul Ebert25-Jul-00 12:55 
I have the following situation:

DataDialog::Start()
{
...
m_pDataSet = new CDataSet(m_pDB);
try
{
m_pDataSet->Open()
}
...
}

DataDialog::OnReceiveData()
{
...
if (m_pDataSet->IsOpen())
{
m_pDataSet->AddNew();
...
m_pDataSet->Update();
}
...
}

DataDialog::Stop()
{
...
if (m_pDataSet->IsOpen())
{
try
{
m_pDataSet->Close();
}
...
}
delete m_pDataSet;
...
}

where m_pDataSet is a pointer to an object derived from CDaoRecordSet and m_pDB is a pointer to a CDaoDatabase. My problem is that I get an unhandled exception when I close the data set (the data is stored fine). I tried opening and closing the data set in the OnReceiveData function and that does not crash, but it cannot keep up with the incoming data.

Any suggestions?

Thanks.
GeneralFinding bitmap resources Pin
Member 1062419025-Jul-00 5:52
Member 1062419025-Jul-00 5:52 
GeneralRe: Finding bitmap resources Pin
Feng Yuan25-Jul-00 16:03
Feng Yuan25-Jul-00 16:03 
Generalresizing the dialog box along with the controls for all resolutions Pin
Up25-Jul-00 8:21
Up25-Jul-00 8:21 
GeneralRe: resizing the dialog box along with the controls for all resolutions Pin
Benedict Verheyen25-Jul-00 23:14
sussBenedict Verheyen25-Jul-00 23:14 
GeneralRe: resizing the dialog box along with the controls for all resolutions Pin
Up26-Jul-00 7:45
Up26-Jul-00 7:45 
GeneralRe: resizing the dialog box along with the controls for all resolutions Pin
Benedict Verheyen27-Jul-00 2:36
sussBenedict Verheyen27-Jul-00 2:36 
GeneralRe: resizing the dialog box along with the controls for all resolutions Pin
Paolo Messina26-Jul-00 10:29
professionalPaolo Messina26-Jul-00 10:29 
GeneralVisual Studio and Intellisense Pin
Jeremy Davis25-Jul-00 3:26
Jeremy Davis25-Jul-00 3:26 
GeneralRe: Visual Studio and Intellisense Pin
peterchen25-Jul-00 9:47
peterchen25-Jul-00 9:47 
GeneralRe: Visual Studio and Intellisense Pin
Mike Dunn25-Jul-00 10:13
Mike Dunn25-Jul-00 10:13 
GeneralPop-up menus Pin
Roger25-Jul-00 1:58
Roger25-Jul-00 1:58 
GeneralRe: Pop-up menus Pin
Igor Chouvalov25-Jul-00 4:38
Igor Chouvalov25-Jul-00 4:38 
Generalvirtual serial port Pin
herb124-Jul-00 12:04
herb124-Jul-00 12:04 
GeneralRe: virtual serial port Pin
Gert Boddaert25-Jul-00 4:10
Gert Boddaert25-Jul-00 4:10 
QuestionMenus with bitmaps in C??? Pin
Lars Hammar24-Jul-00 11:10
sussLars Hammar24-Jul-00 11:10 
AnswerRe: Menus with bitmaps in C??? Pin
Igor25-Jul-00 4:13
Igor25-Jul-00 4:13 
QuestionHow to create MS Access file at runtime? Pin
Ammar24-Jul-00 1:54
Ammar24-Jul-00 1:54 

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.