Click here to Skip to main content
15,911,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows message order? Pin
Hamed Musavi4-Sep-07 6:32
Hamed Musavi4-Sep-07 6:32 
AnswerRe: Windows message order? Pin
Mark Salsbery4-Sep-07 6:15
Mark Salsbery4-Sep-07 6:15 
GeneralRe: Windows message order? Pin
charlieg4-Sep-07 6:33
charlieg4-Sep-07 6:33 
GeneralRe: Windows message order? Pin
Mark Salsbery4-Sep-07 6:49
Mark Salsbery4-Sep-07 6:49 
QuestionAbout IHTML Interface ... need your help Pin
Ryu Jin4-Sep-07 3:21
Ryu Jin4-Sep-07 3:21 
QuestionHelp - clistctrl drag image only showing icon, no text Pin
Derrick Becker4-Sep-07 3:14
Derrick Becker4-Sep-07 3:14 
QuestionRe: Help - clistctrl drag image only showing icon, no text Pin
Derrick Becker4-Sep-07 5:17
Derrick Becker4-Sep-07 5:17 
QuestionPlease Help :( [modified] Pin
Programm3r4-Sep-07 2:11
Programm3r4-Sep-07 2:11 
Hi all,

I'm making use of an ODBC class written by Carlos Antollini called 'A set of ODBC Classes'. The problem is that in my one function I create an instance of the class and connect to a database. Then I dissconnect. Then later on I start another funtion to perform some transactions of the database, but the I receive an error stating: Exception Message: External exception C0000008. I think it has something to do with the allocation of the environment handle. Because if I remove the first function call it works. But the later on, on a next call it fails again. It fails on this call:
ret = SQLDriverConnect(m_hDbc,
    hWnd,
    (SQLCHAR*)szConnStr,
    SQL_NTS,
    (SQLCHAR*)szConnStrOut,
    sizeof(szConnStrOut),
    &pcbConnStrOut,
    (SQLUSMALLINT)drvConn);

Can one assign more than one environment handle when creating more than one instance of the class???
Can anyone please help me.

Many thanks in advance
Regards,

-- modified at 8:20 Tuesday 4th September, 2007


The only programmers that are better that C programmers are those who code in 1's and 0's Green Alien | [Alien]

Smile | :) Programm3r

My Blog: ^_^

QuestionVC++ AND MS ACCESS connection Pin
himuskanhere4-Sep-07 2:08
himuskanhere4-Sep-07 2:08 
AnswerRe: VC++ AND MS ACCESS connection Pin
chandu0044-Sep-07 2:30
chandu0044-Sep-07 2:30 
AnswerRe: VC++ AND MS ACCESS connection Pin
Hamid_RT4-Sep-07 3:38
Hamid_RT4-Sep-07 3:38 
QuestionHow to terminate a thread? Pin
kcynic4-Sep-07 0:52
kcynic4-Sep-07 0:52 
AnswerRe: How to terminate a thread? Pin
Roger Stoltz4-Sep-07 1:02
Roger Stoltz4-Sep-07 1:02 
GeneralRe: How to terminate a thread? Pin
kcynic4-Sep-07 1:15
kcynic4-Sep-07 1:15 
GeneralRe: How to terminate a thread? Pin
Cedric Moonen4-Sep-07 1:25
Cedric Moonen4-Sep-07 1:25 
GeneralRe: How to terminate a thread? Pin
Roger Stoltz4-Sep-07 1:51
Roger Stoltz4-Sep-07 1:51 
AnswerRe: How to terminate a thread? Pin
aks.4-Sep-07 1:52
aks.4-Sep-07 1:52 
GeneralRe: How to terminate a thread? Pin
kcynic4-Sep-07 1:57
kcynic4-Sep-07 1:57 
GeneralRe: How to terminate a thread? Pin
Stephen Hewitt4-Sep-07 14:03
Stephen Hewitt4-Sep-07 14:03 
QuestionReadFile Pin
Waldermort4-Sep-07 0:32
Waldermort4-Sep-07 0:32 
AnswerRe: ReadFile Pin
Naveen4-Sep-07 1:44
Naveen4-Sep-07 1:44 
GeneralRe: ReadFile Pin
Nishad S4-Sep-07 2:18
Nishad S4-Sep-07 2:18 
GeneralRe: ReadFile Pin
Naveen4-Sep-07 2:23
Naveen4-Sep-07 2:23 
GeneralRe: ReadFile Pin
Waldermort4-Sep-07 3:09
Waldermort4-Sep-07 3:09 
QuestionWhy there would be a single line left on the screen when the dialog disapear? Pin
kcynic4-Sep-07 0:28
kcynic4-Sep-07 0:28 

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.