Click here to Skip to main content
15,891,703 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Finding index of an array element?? Pin
jk chan4-Jan-11 5:46
jk chan4-Jan-11 5:46 
QuestionBasic string help -- Did I step into the Twilight Zone? Pin
Xpnctoc29-Dec-10 11:13
Xpnctoc29-Dec-10 11:13 
AnswerRe: Basic string help -- Did I step into the Twilight Zone? Pin
jk chan29-Dec-10 21:08
jk chan29-Dec-10 21:08 
AnswerRe: Basic string help -- Did I step into the Twilight Zone? Pin
Stephen Hewitt30-Dec-10 3:14
Stephen Hewitt30-Dec-10 3:14 
AnswerRe: Basic string help -- Did I step into the Twilight Zone? Pin
Xpnctoc30-Dec-10 6:14
Xpnctoc30-Dec-10 6:14 
QuestionCCommand execute stored procedure is failed! Pin
sergey-ka28-Dec-10 4:08
sergey-ka28-Dec-10 4:08 
AnswerRe: CCommand execute stored procedure is failed! Pin
jerry_ch3-Oct-11 20:42
jerry_ch3-Oct-11 20:42 
QuestionOLE DB Provider with BOOKMARK capability Pin
RezaAsAdi22-Dec-10 8:53
RezaAsAdi22-Dec-10 8:53 
I have made a OLE DB Provider using "ATL OLE DB Provider Wizard" in VS 2005.I tried to implement bookmark in it
but it seems consumers can not recognize bookmark bookmark capability of my provider.I have these lines in
property map set of my rowset object:

PROPERTY_INFO_ENTRY_EX(BOOKMARKS,  VT_BOOL, DBPROPFLAGS_ROWSET | DBPROPFLAGS_READ | DBPROPFLAGS_WRITE , VARIANT_TRUE, 0)
PROPERTY_INFO_ENTRY_EX(BOOKMARKSKIPPED,VT_BOOL, DBPROPFLAGS_ROWSET | DBPROPFLAGS_READ, VARIANT_TRUE, 0)
PROPERTY_INFO_ENTRY_EX(BOOKMARKTYPE,  VT_I4, DBPROPFLAGS_ROWSET | DBPROPFLAGS_READ, DBPROPVAL_BMK_NUMERIC, 0)
PROPERTY_INFO_ENTRY_EX(LITERALBOOKMARKS, VT_BOOL, DBPROPFLAGS_ROWSET | DBPROPFLAGS_READ | DBPROPFLAGS_WRITE, VARIANT_TRUE, 0)
PROPERTY_INFO_ENTRY_EX(ORDEREDBOOKMARKS, VT_BOOL, DBPROPFLAGS_ROWSET | DBPROPFLAGS_READ | DBPROPFLAGS_WRITE, VARIANT_TRUE, 0)


and even my data source tables don't have bookmark column,I put an extra column(with ordinal=0) as the first
column of rowset object which is created in Execute method of this object.
But in session object,IRowsetSchema interface only returns the tables columns not included any entry for Bookmark.

should I include a column entry for Bookmark in column schema of any table?
should I always include bookmark column in returning data rowsets or it depends on consumer request?
Is there any sample code which shows implementing bookmark inside the "Execute" method of rowset object?

May you answer these questions please?
Thanks in advance
QuestionProblem in registering a 32 bit C++ COM/ATL Service on Windows7 64 bit? Pin
Aseem Sharma21-Dec-10 19:25
Aseem Sharma21-Dec-10 19:25 
AnswerRe: Problem in registering a 32 bit C++ COM/ATL Service on Windows7 64 bit? Pin
pacchij27-Dec-10 11:25
pacchij27-Dec-10 11:25 
GeneralRe: Problem in registering a 32 bit C++ COM/ATL Service on Windows7 64 bit? Pin
Aseem Sharma28-Dec-10 19:32
Aseem Sharma28-Dec-10 19:32 
GeneralRe: Problem in registering a 32 bit C++ COM/ATL Service on Windows7 64 bit? Pin
pacchij29-Dec-10 12:11
pacchij29-Dec-10 12:11 
Questioni have a quesstion about gcc warning Pin
lxlenovostar21-Dec-10 6:00
lxlenovostar21-Dec-10 6:00 
AnswerRe: i have a quesstion about gcc warning Pin
Richard MacCutchan21-Dec-10 8:23
mveRichard MacCutchan21-Dec-10 8:23 
QuestionPress a key using virtual key with SendInput Pin
vtalau20-Dec-10 23:37
vtalau20-Dec-10 23:37 
QuestionI have a question about the adobe reader Pin
quickzhao322316-Dec-10 22:42
quickzhao322316-Dec-10 22:42 
AnswerRe: I have a question about the adobe reader Pin
mav@octaval17-Dec-10 0:07
mav@octaval17-Dec-10 0:07 
GeneralRe: I have a question about the adobe reader Pin
quickzhao322317-Dec-10 17:51
quickzhao322317-Dec-10 17:51 
AnswerRe: I have a question about the adobe reader Pin
Richard MacCutchan17-Dec-10 1:52
mveRichard MacCutchan17-Dec-10 1:52 
GeneralRe: I have a question about the adobe reader Pin
quickzhao322317-Dec-10 17:55
quickzhao322317-Dec-10 17:55 
GeneralRe: I have a question about the adobe reader Pin
Richard MacCutchan17-Dec-10 23:25
mveRichard MacCutchan17-Dec-10 23:25 
AnswerRe: I have a question about the adobe reader Pin
jk chan17-Dec-10 2:02
jk chan17-Dec-10 2:02 
GeneralRe: I have a question about the adobe reader Pin
quickzhao322317-Dec-10 18:01
quickzhao322317-Dec-10 18:01 
GeneralRe: I have a question about the adobe reader Pin
Richard MacCutchan17-Dec-10 23:27
mveRichard MacCutchan17-Dec-10 23:27 
Questionhello i have a question about #include Pin
lxlenovostar12-Dec-10 17:29
lxlenovostar12-Dec-10 17:29 

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.