Click here to Skip to main content
15,896,387 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: attributed atl implementing multiple interfaces Pin
Michael Dunn18-Jun-04 10:10
sitebuilderMichael Dunn18-Jun-04 10:10 
GeneralRe: attributed atl implementing multiple interfaces Pin
Chris Korzeniowski19-Jun-04 14:38
Chris Korzeniowski19-Jun-04 14:38 
GeneralRe: attributed atl implementing multiple interfaces Pin
Michael Dunn20-Jun-04 12:21
sitebuilderMichael Dunn20-Jun-04 12:21 
GeneralRe: attributed atl implementing multiple interfaces Pin
Chris Korzeniowski25-Jun-04 9:17
Chris Korzeniowski25-Jun-04 9:17 
General[Message Deleted] Pin
jimmyh417-Jun-04 23:12
jimmyh417-Jun-04 23:12 
GeneralRe: How do I add a menu to my activex control Pin
darkbyte27-Jun-04 4:58
darkbyte27-Jun-04 4:58 
GeneralRe: How do I add a menu to my activex control Pin
jimmyh427-Jun-04 14:38
jimmyh427-Jun-04 14:38 
QuestionHow to define multi [db_command] attributes for one class? Pin
hewenfeng17-Jun-04 2:43
hewenfeng17-Jun-04 2:43 
WTF | :WTF: According to MSDN's instruction on ATL Server projects, developer may use the 'ATL OLE DB Consumer Wizard ' to generate a class code with one db_command attributes ,and then access database with the SQL string specified in db_command.

All samples demostarte that one class can only has one db_comand attribute. If developer want to SELECT , INSERT and DELETE a table records , he must code at least three classes with one [ db_command ... ] for each.

It's not a good idea.

Anyone know how to define multi [db_command ...] attributes for single class in the ATL project? and how to change the [ db_command ... ] attributes during executetion?

thank in advance

he wen feng

AnswerRe: How to define multi [db_command] attributes for one class? Pin
Doug Mitchell18-Jun-04 10:00
Doug Mitchell18-Jun-04 10:00 
GeneralRe: How to define multi [db_command] attributes for one class? Pin
hewenfeng20-Jun-04 14:14
hewenfeng20-Jun-04 14:14 
GeneralRe: How to define multi [db_command] attributes for one class? Pin
Doug Mitchell21-Jun-04 3:46
Doug Mitchell21-Jun-04 3:46 
GeneralSorting out of a vector of strings Pin
Bernhard17-Jun-04 2:22
Bernhard17-Jun-04 2:22 
GeneralRe: Sorting out of a vector of strings Pin
WREY17-Jun-04 3:16
WREY17-Jun-04 3:16 
GeneralRe: Sorting out of a vector of strings Pin
LeSurvenant17-Jun-04 10:04
LeSurvenant17-Jun-04 10:04 
GeneralRe: Sorting out of a vector of strings Pin
WREY17-Jun-04 11:15
WREY17-Jun-04 11:15 
GeneralRe: Sorting out of a vector of strings Pin
Jörgen Sigvardsson19-Jun-04 11:38
Jörgen Sigvardsson19-Jun-04 11:38 
GeneralRe: Sorting out of a vector of strings Pin
WREY19-Jun-04 11:50
WREY19-Jun-04 11:50 
GeneralRe: Sorting out of a vector of strings Pin
palbano19-Jun-04 19:31
palbano19-Jun-04 19:31 
Generalget posted data from form using BHO dll Pin
14-Jun-04 20:20
suss14-Jun-04 20:20 
GeneralMultiple Frames with Toolbars in WTL Pin
clerwall13-Jun-04 1:03
clerwall13-Jun-04 1:03 
Questionhow do you sort a list? Pin
nm_11410-Jun-04 18:35
nm_11410-Jun-04 18:35 
AnswerRe: how do you sort a list? Pin
geo_m10-Jun-04 22:35
geo_m10-Jun-04 22:35 
GeneralRe: how do you sort a list? Pin
nm_11411-Jun-04 13:47
nm_11411-Jun-04 13:47 
GeneralRe: how do you sort a list? Pin
geo_m11-Jun-04 23:41
geo_m11-Jun-04 23:41 
GeneralRe: how do you sort a list? Pin
nm_11412-Jun-04 10:11
nm_11412-Jun-04 10:11 

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.