Click here to Skip to main content
16,008,075 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Generating Event from a COM exe server Pin
Lim Bio Liong2-May-07 23:25
Lim Bio Liong2-May-07 23:25 
AnswerRe: Generating Event from a COM exe server Pin
Lim Bio Liong3-May-07 12:39
Lim Bio Liong3-May-07 12:39 
QuestionFindFirstFile Pin
LCI20-Apr-07 2:51
LCI20-Apr-07 2:51 
AnswerRe: FindFirstFile Pin
Michael Dunn20-Apr-07 7:29
sitebuilderMichael Dunn20-Apr-07 7:29 
AnswerRe: FindFirstFile Pin
sthotakura20-Apr-07 8:50
sthotakura20-Apr-07 8:50 
QuestionATL COM Service Pin
Janma20-Apr-07 1:21
Janma20-Apr-07 1:21 
AnswerRe: ATL COM Service Pin
sthotakura20-Apr-07 8:46
sthotakura20-Apr-07 8:46 
GeneralRe: ATL COM Service Pin
Janma22-Apr-07 19:31
Janma22-Apr-07 19:31 
I have succeded in creating a service with a dummy interface.... Then in the client I have imported the header file of the service and defined the GUID's. Suppose i have an interface IFirst_ATL and it has a method addnumbers(), then how can i access that method. I am trying to create an instance of the service by

hr = CoCreateInstance( CLSID_First_ATL, NULL, CLSCTX_INPROC_SERVER,
IID_IFirst_ATL, (void**) &IFirst_ATL);

IFirstATL->AddNumbers(5, 7, &ReturnValue);

but this is not giving me the desired results. Can you please provide me a sample and successfully running code for accessing the methods of the service?

Thanks in Advance!
GeneralRe: ATL COM Service Pin
Janma22-Apr-07 22:03
Janma22-Apr-07 22:03 
GeneralAdding ATL Dialog to WTL application from VS2005 Pin
Ernest Laurentin19-Apr-07 7:33
Ernest Laurentin19-Apr-07 7:33 
Questionusing map Pin
NorGUI18-Apr-07 10:54
NorGUI18-Apr-07 10:54 
AnswerRe: using map Pin
Roger Stoltz18-Apr-07 11:33
Roger Stoltz18-Apr-07 11:33 
Questiontemplate class c2995 operator<< overloading [modified] Pin
ky_rerun17-Apr-07 11:11
ky_rerun17-Apr-07 11:11 
AnswerRe: template class c2995 operator<< overloading Pin
ky_rerun17-Apr-07 19:10
ky_rerun17-Apr-07 19:10 
Questionlinker error in VC6 while linking to VC8 MSXML exports [modified] Pin
chervu17-Apr-07 7:24
chervu17-Apr-07 7:24 
AnswerRe: linker error in VC6 while linking to VC8 MSXML exports Pin
Michael Dunn17-Apr-07 18:00
sitebuilderMichael Dunn17-Apr-07 18:00 
QuestionCombine multiple text files into one ! Pin
snailflying16-Apr-07 14:46
snailflying16-Apr-07 14:46 
QuestionHow to customise IE toolbar Addon [modified] Pin
shivditya16-Apr-07 0:53
shivditya16-Apr-07 0:53 
QuestionIs possible to allocate strictly physical mem. (RAM) instead of page file (virtual mem) Pin
marcelse12-Apr-07 4:49
marcelse12-Apr-07 4:49 
QuestionAdvising to the embedded flash object events Pin
Tomek.Sergey10-Apr-07 13:14
Tomek.Sergey10-Apr-07 13:14 
QuestionTELECOMMUNICATION Pin
ILHEM5-Apr-07 5:42
ILHEM5-Apr-07 5:42 
Questionhow to add check Box in MMC(through ATL) in Result pan Pin
mo_nica8811-Apr-07 23:54
mo_nica8811-Apr-07 23:54 
Questionargv does not equal string (char*) Pin
XTAL25630-Mar-07 19:45
XTAL25630-Mar-07 19:45 
AnswerRe: argv does not equal string (char*) Pin
Michael Dunn31-Mar-07 19:20
sitebuilderMichael Dunn31-Mar-07 19:20 
GeneralRe: argv does not equal string (char*) Pin
XTAL25631-Mar-07 20:09
XTAL25631-Mar-07 20:09 

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.