Click here to Skip to main content
15,917,005 members
Home / Discussions / Database
   

Database

 
GeneralRe: Access database!!!!! Pin
Drawil6-Nov-01 20:19
Drawil6-Nov-01 20:19 
GeneralAccess 2000 Pin
21-Aug-01 3:00
suss21-Aug-01 3:00 
GeneralRe: Access 2000 Pin
CodeGuy21-Aug-01 4:59
CodeGuy21-Aug-01 4:59 
GeneralRe: Access 2000 Pin
22-Aug-01 12:04
suss22-Aug-01 12:04 
GeneralRe: Access 2000 Pin
CodeGuy22-Aug-01 12:18
CodeGuy22-Aug-01 12:18 
GeneralDuplicating (copying) a table in SQL Server database Pin
User 988520-Aug-01 13:13
User 988520-Aug-01 13:13 
GeneralRe: Duplicating (copying) a table in SQL Server database Pin
Chanceamatic22-Aug-01 14:38
Chanceamatic22-Aug-01 14:38 
GeneralADO bug in VC++ 6 SP5 + Processor Pack Pin
John M. Drescher15-Aug-01 18:09
John M. Drescher15-Aug-01 18:09 
I have recently installed both SP5 and the Processor Pack to visual C++ 6 and I am having the following
problem. When an exception occurs inside a try catch block inside a function that calls ado methods
the function crashes (in the debug build) on return. The following code runs fine when compiled with
an earlier service pack and no processor pack, but with SP5 + Processor Pack it crashes during the return
from the test function. Also if I compile it on a pc with an eariler sp, it will debug and run fine
on a machine with the latest sp (as long as you don't try to compile!).

The following code has been reduced to the smallest part that I could get it to crash. I compiled it
as a Win32 console application and did not change any of the default values. In SP5 + processor pack
an access violation occurs when test() returns. This was tested on win2k. I compiled and tested it in
debug build only.

#include "stdafx.h"

// You must change this to match your path
#import "D:\program files\common files\system\ado\msado15.dll" \
no_namespace \
rename( "EOF", "adoEOF" )

void test()
{
_RecordsetPtr pRst = NULL;
try
{
throw "a";

pRst->Open(_variant_t(), _variant_t(),adOpenStatic ,
adLockReadOnly, adCmdText);
}
catch (...)
{

}
}

int main(int argc, char* argv[])
{
test();
return 0;
}



My question is 1) Has anyone seen this problem? 2) am I doing something wrong?
GeneralRe: ADO bug in VC++ 6 SP5 + Processor Pack Pin
Rashid Thadha16-Aug-01 22:31
Rashid Thadha16-Aug-01 22:31 
QuestionReading Fixed Width Files with ADO? Pin
Pete Bassett14-Aug-01 0:54
Pete Bassett14-Aug-01 0:54 
GeneralField Existence with ADO Pin
10-Aug-01 4:15
suss10-Aug-01 4:15 
GeneralRe: Field Existence with ADO Pin
Rashid Thadha10-Aug-01 6:22
Rashid Thadha10-Aug-01 6:22 
Questionselect * from multiple tables?????? Pin
martinsz10-Aug-01 3:45
martinsz10-Aug-01 3:45 
AnswerRe: select * from multiple tables?????? Pin
Carlos Antollini10-Aug-01 4:01
Carlos Antollini10-Aug-01 4:01 
GeneralRe: select * from multiple tables?????? Pin
martinsz10-Aug-01 4:53
martinsz10-Aug-01 4:53 
GeneralRe: select * from multiple tables?????? Pin
Carlos Antollini10-Aug-01 5:19
Carlos Antollini10-Aug-01 5:19 
GeneralRe: select * from multiple tables?????? Pin
martinsz13-Aug-01 4:24
martinsz13-Aug-01 4:24 
GeneralRe: select * from multiple tables?????? Pin
Carlos Antollini13-Aug-01 6:13
Carlos Antollini13-Aug-01 6:13 
GeneralMS Access Field List Disappeared Pin
Douglas Troy9-Aug-01 3:07
Douglas Troy9-Aug-01 3:07 
GeneralOLE DB/ATL guides worthless Pin
Bigge8-Aug-01 23:17
Bigge8-Aug-01 23:17 
GeneralRe: OLE DB/ATL guides worthless Pin
Not Active9-Aug-01 4:45
mentorNot Active9-Aug-01 4:45 
GeneralATL OLEDB Template Insert Pin
Brad Bruce8-Aug-01 16:11
Brad Bruce8-Aug-01 16:11 
GeneralRe: ATL OLEDB Template Insert Pin
Not Active8-Aug-01 16:34
mentorNot Active8-Aug-01 16:34 
GeneralRe: ATL OLEDB Template Insert Pin
Brad Bruce9-Aug-01 12:09
Brad Bruce9-Aug-01 12:09 
GeneralSelect DISTINCT and CRecordSet Pin
Derek Price8-Aug-01 12:08
Derek Price8-Aug-01 12:08 

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.