Originally posted by: kuhaha
When I compiled this project,it reported the error as the title,how to correct it?
ReplyOriginally posted by: kingdomlin
my program partial source code :
#import "bk.tlb" no_namespace rename("EOF", "ADOEOF")
IBKIkcPtr pBKPtr(__uuidof(BKIkc));
pBKPtr->ADOCloseConnection();
how can i solved this problem?
hi, this article is very good, but the BK.exe Process momery is increase after ADOExecuteReturnDelimited(str, "/")
was called
pBKPtr->ADOOpenConnection("Test", "sa", "Test");
do{
VARIANT ret;
ret = pBKPtr->ADOExecuteReturnDelimited(str, "/");
......
}while(flag)
Originally posted by: Jan
Does anybody have any information on C++ programming using the ADOX dll in order to create databases, tables, columns etc?
ReplyOriginally posted by: ADO threading
great article. would really like to see part III on ADO, apartments, threading and passing ADO interfaces back and forth between apts. Or MTA, what to lock. Dealing with thread safe ADO and non-thread safe ODBC drivers in a multi-threaded app.
Reply
Originally posted by: noiso
Could some tell me more about this command object and parameters, because updating parameters may be the fastest way to update database...
Originally posted by: Sumit
Thanks in advance
Hi Bob
The article is excellent but I am facing a problem that the sample code is different than the one which you have explained.Will anybody tell me how to extract the value of recordset from VT_DISPATCH.I am using VC++6.0 service pack IV.
regards
Sumit
Originally posted by: Lo Wang
I am new at using VC++, ADO and OLEDB.
Can someone please explain to me what's the advantage
of connecting via ADO (which I believe uses OLE_DB)
vs using OLD_DB templates and connect directly to the
database?
in particular, any comment regarding speed and
easy to implement will be very helpful..
p.s. if this is not a valid question, please let me know also.
thanks in advance for any comments.
-Lo Wang
ReplyOriginally posted by: Rex Mundi
I, like quite a few people judging by the comments, seem to be having trouble comprehending how to populate SAFEARRAYs with parameters for stored procedures.
I've managed to pass one parameter (to a stored proc expecting a string) with the following bit of code:
pCommand->Parameters->Item[_variant_t((long) 1)]->Value = _variant_t(_bstr_t("MyParameter"));
This gets around having to use SAFEARRAYs, but when I do try to use them for stored procedures with more than one param I get an error saying there is something wrong with the parameters.
Has anybody got a piece of working code which they could share with others on the site?
ReplyOriginally posted by: Tom Stocks
SELECT the article text with the cursor.
COPY.
Open a new WORD document.
Change the page to .20(or .25) margins.
Change the font to ARIAL 8 or NEW TIMES ROMAN 8.
PASTE.
Print.
Time consuming ... but it works.
ReplyOriginally posted by: Marci Sarwan
I'm trying to print this tutorial and it's cutting off the right side. Is there a way to print the whole tutorial or better yet can you please provide a link to the tutorial in either txt or doc format. Thanks!
Marci Sarwan