Click here to Skip to main content
15,917,061 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I output the IP Address after getting computer name?? Pin
Bartosz Bien8-Apr-03 13:09
Bartosz Bien8-Apr-03 13:09 
AnswerRe: How do I output the IP Address after getting computer name?? Pin
csc8-Apr-03 21:10
csc8-Apr-03 21:10 
AnswerRe: How do I output the IP Address after getting computer name?? Pin
Dudi Avramov8-Apr-03 22:22
Dudi Avramov8-Apr-03 22:22 
GeneralProgramming Graphic LCD Panels Pin
#realJSOP8-Apr-03 9:37
professional#realJSOP8-Apr-03 9:37 
QuestionOverloaded Methods & COM: ??? Pin
J. Dunlap8-Apr-03 9:17
J. Dunlap8-Apr-03 9:17 
AnswerRe: Overloaded Methods & COM: ??? Pin
Le centriste8-Apr-03 11:07
Le centriste8-Apr-03 11:07 
GeneralRe: Overloaded Methods & COM: ??? Pin
J. Dunlap8-Apr-03 11:11
J. Dunlap8-Apr-03 11:11 
GeneralI found the answer! :-) :-) Pin
J. Dunlap8-Apr-03 13:38
J. Dunlap8-Apr-03 13:38 
I found the answer! I tried it out - made a test dll, compiled it, ran it thru RegAsm.exe, and OLE-viewed the resulting typelib.

The answer? If you make a COM proxy for a class/interface with overloaded functions, the function is listed once for each overload, appended with "_" & a number.

Big Grin | :-D That's what I was hoping for!!! Big Grin | :-D Laugh | :laugh:

Example:
//1st overload
[id(0x60020004)]
BSTR OLoad([in] long nInput);

//2nd overload - notice the custom attribute
[id(0x60020005),
custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9, OLoad)]
BSTR OLoad_2([in] BSTR sInput);



"Do unto others as you would have them do unto you." - Jesus

"An eye for an eye only makes the whole world blind." - Mahatma Gandhi







GeneralRe: I found the answer! :-) :-) Pin
Le centriste8-Apr-03 18:05
Le centriste8-Apr-03 18:05 
GeneralPreventing tree node from collapsing Pin
Ravi Bhavnani8-Apr-03 8:39
professionalRavi Bhavnani8-Apr-03 8:39 
GeneralRe: Preventing tree node from collapsing Pin
Nick Parker8-Apr-03 11:27
protectorNick Parker8-Apr-03 11:27 
GeneralRe: Preventing tree node from collapsing Pin
Ravi Bhavnani8-Apr-03 11:34
professionalRavi Bhavnani8-Apr-03 11:34 
GeneralRe: Preventing tree node from collapsing Pin
Bartosz Bien8-Apr-03 11:33
Bartosz Bien8-Apr-03 11:33 
GeneralRe: Preventing tree node from collapsing Pin
Ravi Bhavnani8-Apr-03 11:37
professionalRavi Bhavnani8-Apr-03 11:37 
GeneralRe: Preventing tree node from collapsing Pin
Bartosz Bien8-Apr-03 11:40
Bartosz Bien8-Apr-03 11:40 
QuestionPlatform SDK Sample - can you send it to me? Pin
Mark Otway8-Apr-03 8:38
Mark Otway8-Apr-03 8:38 
AnswerRe: Platform SDK Sample - can you send it to me? Pin
Ravi Bhavnani8-Apr-03 8:44
professionalRavi Bhavnani8-Apr-03 8:44 
GeneralRe: Platform SDK Sample - can you send it to me? Pin
Mark Otway8-Apr-03 8:48
Mark Otway8-Apr-03 8:48 
GeneralRe: Platform SDK Sample - can you send it to me? Pin
J. Dunlap8-Apr-03 8:56
J. Dunlap8-Apr-03 8:56 
GeneralListview FindItem Pin
Anthony98878-Apr-03 7:35
Anthony98878-Apr-03 7:35 
GeneralRe: Listview FindItem Pin
Ravi Bhavnani8-Apr-03 7:42
professionalRavi Bhavnani8-Apr-03 7:42 
GeneralTemplate bug in VC++ 6 Pin
John M. Drescher8-Apr-03 7:27
John M. Drescher8-Apr-03 7:27 
GeneralRe: Template bug in VC++ 6 Pin
Chris Losinger8-Apr-03 8:01
professionalChris Losinger8-Apr-03 8:01 
GeneralRe: Template bug in VC++ 6 Pin
John M. Drescher8-Apr-03 8:07
John M. Drescher8-Apr-03 8:07 
GeneralRe: Template bug in VC++ 6 Pin
Joaquín M López Muñoz8-Apr-03 9:34
Joaquín M López Muñoz8-Apr-03 9:34 

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.