Click here to Skip to main content
15,896,557 members
Home / Discussions / Database
   

Database

 
GeneralRe: simple INSERT question Pin
Edbert P5-Feb-04 19:07
Edbert P5-Feb-04 19:07 
GeneralConfigure SMTP Pin
DaKhucBuon4-Feb-04 23:08
DaKhucBuon4-Feb-04 23:08 
GeneralRe: Configure SMTP Pin
Vasudevan Deepak Kumar5-Feb-04 0:37
Vasudevan Deepak Kumar5-Feb-04 0:37 
GeneralRe: Configure SMTP Pin
DaKhucBuon5-Feb-04 14:40
DaKhucBuon5-Feb-04 14:40 
GeneralRe: Configure SMTP Pin
Vasudevan Deepak Kumar6-Feb-04 0:53
Vasudevan Deepak Kumar6-Feb-04 0:53 
GeneralAccess/ODBC: Item count fails Pin
mexicanchili4-Feb-04 21:51
mexicanchili4-Feb-04 21:51 
GeneralRe: Access/ODBC: Item count fails Pin
mexicanchili5-Feb-04 1:43
mexicanchili5-Feb-04 1:43 
Generaltrouble with IDataParameterCollection and ArrayList Pin
Nik Vogiatzis4-Feb-04 9:52
Nik Vogiatzis4-Feb-04 9:52 
hi all...

ok, ill get to the nuts and bolts of the problem...

i keep getting a C2259 error ('class' : cannot instantiate abstract class due to following members: )

now the class it is complaining about is one that instantiates IDataParameterCollection and ArrayList... specifically:
public __gc class NewSQLParameterCollection: public ArrayList, public IDataParameterCollection{};<br />


and the function it is complaining about is this one...
bool Contains(String *p)<br />
{<br />
//if IndexOf returns a value less than 0, then we know that<br />
//the item doesn't exist<br />
if (this->IndexOf(p) >= 0)<br />
return true;<br />
else<br />
return false;<br />
}<br />

(umm, and before you say that i am missing the NewSQLParameterCollection:: indentifier, i should mention that i am inlining the call within the class header... )

now the problem occurs when in a subsequent class i call the following
function test::sometest()<br />
{<br />
NewSQLParameterCollection *p = new NewSQLParameterCollection(S"Name", Object);<br />
}<br />

it says that it can't find the function (as in bool Contains(...)) above, but as you can see, it's there...

any ideas?

this is for an open source C++.NET MySQL driver i am writing, so any help would be GREATLY appreciated...

cheers and thanks
nik


Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
GeneralRe: trouble with IDataParameterCollection and ArrayList Pin
Mike Dimmick5-Feb-04 0:43
Mike Dimmick5-Feb-04 0:43 
GeneralADO.NET Query Timeout Pin
afronaut4-Feb-04 6:28
afronaut4-Feb-04 6:28 
GeneralRe: ADO.NET Query Timeout Pin
Michael Potter4-Feb-04 10:16
Michael Potter4-Feb-04 10:16 
GeneralUsing TOP operator within a WHERE clause Pin
OBRon3-Feb-04 10:33
OBRon3-Feb-04 10:33 
GeneralRe: Using TOP operator within a WHERE clause Pin
David Llamas3-Feb-04 10:39
David Llamas3-Feb-04 10:39 
GeneralRe: Using TOP operator within a WHERE clause Pin
OBRon3-Feb-04 10:45
OBRon3-Feb-04 10:45 
Generaladvanced ADO.NET and Oracle Database Pin
koo93-Feb-04 9:33
koo93-Feb-04 9:33 
GeneralRe: advanced ADO.NET and Oracle Database Pin
Guillermo Rivero3-Feb-04 10:40
Guillermo Rivero3-Feb-04 10:40 
GeneralRe: advanced ADO.NET and Oracle Database Pin
koo93-Feb-04 11:15
koo93-Feb-04 11:15 
GeneralRe: advanced ADO.NET and Oracle Database Pin
Mike Dimmick4-Feb-04 2:39
Mike Dimmick4-Feb-04 2:39 
GeneralUsing UDFs in a SELECT Pin
Colin Angus Mackay3-Feb-04 5:28
Colin Angus Mackay3-Feb-04 5:28 
GeneralRe: Using UDFs in a SELECT Pin
michanne4-Feb-04 3:02
michanne4-Feb-04 3:02 
GeneralRe: Using UDFs in a SELECT Pin
Colin Angus Mackay4-Feb-04 4:28
Colin Angus Mackay4-Feb-04 4:28 
GeneralRe: Using UDFs in a SELECT Pin
michanne4-Feb-04 8:38
michanne4-Feb-04 8:38 
GeneralRe: Using UDFs in a SELECT Pin
Mike Dimmick9-Feb-04 3:51
Mike Dimmick9-Feb-04 3:51 
Generaltabledef access using ADO.NET Pin
kcharney2-Feb-04 12:03
kcharney2-Feb-04 12:03 
GeneralProblems with Access and Odbc Pin
jan larsen1-Feb-04 23:18
jan larsen1-Feb-04 23:18 

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.