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

COM

 
GeneralAutomating Visual C++ Project Creation Pin
Steve Thresher6-Aug-01 0:19
Steve Thresher6-Aug-01 0:19 
GeneralExtension of the IE5 context-menu Pin
Yks5-Aug-01 18:59
Yks5-Aug-01 18:59 
GeneralRe: Extension of the IE5 context-menu Pin
Todd Smith5-Aug-01 19:32
Todd Smith5-Aug-01 19:32 
GeneralRe: Extension of the IE5 context-menu Pin
Not Active6-Aug-01 3:03
mentorNot Active6-Aug-01 3:03 
QuestionGet the MAC-address from a host computer? Pin
Heidyon3-Aug-01 0:00
Heidyon3-Aug-01 0:00 
GeneralActiveX component in an exe Pin
2-Aug-01 15:53
suss2-Aug-01 15:53 
GeneralATL wizard with multiple tables Pin
Bigge2-Aug-01 0:32
Bigge2-Aug-01 0:32 
GeneralRe: ATL wizard with multiple tables Pin
Not Active2-Aug-01 4:42
mentorNot Active2-Aug-01 4:42 
You will have to manually add the other tables.

It should be easy to figure out by looking at the code provided by the wizard. The columns in the map are bound to the order in the SQL query.

BEGIN_COLUMN_MAP(CAccessor)
COLUMN_ENTRY(1, m_field1)
COLUMN_ENTRY(2, m_field2)
END_COLUMN_MAP()

SELECT column1, column2 FROM MyTable
JOIN MyTable2 ON ...

If you are unsure of parameters, etc., it maybe better to create a seperate consumer object and cut & paste what you need into one.
GeneralRe: ATL wizard with multiple tables Pin
Bigge2-Aug-01 5:36
Bigge2-Aug-01 5:36 
GeneralRe: ATL wizard with multiple tables Pin
Wictor Wilén2-Aug-01 5:04
Wictor Wilén2-Aug-01 5:04 
GeneralRe: ATL wizard with multiple tables Pin
Bigge2-Aug-01 5:23
Bigge2-Aug-01 5:23 
GeneralRe: ATL wizard with multiple tables Pin
Wictor Wilén2-Aug-01 7:07
Wictor Wilén2-Aug-01 7:07 
GeneralInteracting COM dlls from Java using JNI Pin
Shamant31-Jul-01 23:42
Shamant31-Jul-01 23:42 
Generalaccessing IE as the ATL/ActiveX parent Pin
31-Jul-01 11:05
suss31-Jul-01 11:05 
GeneralRe: accessing IE as the ATL/ActiveX parent Pin
2-Aug-01 4:40
suss2-Aug-01 4:40 
GeneralATL client Pin
31-Jul-01 4:25
suss31-Jul-01 4:25 
GeneralRe: ATL client Pin
Not Active31-Jul-01 15:23
mentorNot Active31-Jul-01 15:23 
GeneralRe: ATL client Pin
31-Jul-01 22:47
suss31-Jul-01 22:47 
GeneralRe: ATL client Pin
Not Active1-Aug-01 2:52
mentorNot Active1-Aug-01 2:52 
GeneralUsing com dll in anothor com dll Pin
30-Jul-01 23:12
suss30-Jul-01 23:12 
GeneralRe: Using com dll in anothor com dll Pin
31-Jul-01 9:22
suss31-Jul-01 9:22 
Generalpalmap32.dll <-pretty impossible !?! Pin
30-Jul-01 11:42
suss30-Jul-01 11:42 
GeneralRe: palmap32.dll <-pretty impossible !?! Pin
Kevin Cook2-Aug-01 17:09
Kevin Cook2-Aug-01 17:09 
GeneralCOM+ Code Sample Pin
Todd Richardson30-Jul-01 7:59
Todd Richardson30-Jul-01 7:59 
GeneralOut parameter as pointer Pin
parag29-Jul-01 21:45
parag29-Jul-01 21:45 

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.