Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Access violated Pin
Swinefeaster26-Jan-02 12:01
Swinefeaster26-Jan-02 12:01 
Generallocalhost Pin
Rickard Andersson2026-Jan-02 8:12
Rickard Andersson2026-Jan-02 8:12 
Generalcount words in file Pin
tbbooher26-Jan-02 8:04
tbbooher26-Jan-02 8:04 
GeneralRe: count words in file Pin
Jon Sagara26-Jan-02 8:17
Jon Sagara26-Jan-02 8:17 
GeneralRe: count words in file Pin
tbbooher26-Jan-02 12:33
tbbooher26-Jan-02 12:33 
GeneralRe: count words in file Pin
pba_28-Jan-02 8:48
pba_28-Jan-02 8:48 
GeneralCRecordset question Pin
jafrazee26-Jan-02 7:23
jafrazee26-Jan-02 7:23 
Generaloverloaded methods in idl Pin
Brian Bailey26-Jan-02 6:59
Brian Bailey26-Jan-02 6:59 
First off, I'm very new to IDL, so please be kind Wink | ;)

I'm trying to create an interface in an idl file with the following methods:

[id(1)] HRESULT Add([in] BSTR bstrFraction1, [in] BSTR bstrFraction2, [out, retval] BSTR* pbstrSum);
[id(2)] HRESULT Add([in] BSTR bstrFraction, [in] double dReal, [out, retval] double* pdSum);
[id(3)] HRESULT Add([in] BSTR bstrFraction, [in] long lWholeNum, [out, retval] long* plSum);

I assume this would work since the functions all have different signatures, but the MIDL compiler complains that I'm redefining Add(...). So, does IDL not support method overloading?
GeneralWindows programming !!! How to learn Pin
26-Jan-02 6:25
suss26-Jan-02 6:25 
GeneralRe: Windows programming !!! How to learn Pin
alex.barylski26-Jan-02 11:33
alex.barylski26-Jan-02 11:33 
GeneralCString Format("...") problem in UNICODE Pin
26-Jan-02 1:20
suss26-Jan-02 1:20 
GeneralRe: CString Format("...") problem in UNICODE Pin
Tim Deveaux26-Jan-02 4:21
Tim Deveaux26-Jan-02 4:21 
GeneralResizing a control. Pin
NullStream26-Jan-02 0:55
NullStream26-Jan-02 0:55 
GeneralRe: Resizing a control. Pin
Christian Graus26-Jan-02 0:56
protectorChristian Graus26-Jan-02 0:56 
GeneralRe: Resizing a control. Pin
NullStream26-Jan-02 1:52
NullStream26-Jan-02 1:52 
GeneralRe: Resizing a control. Pin
Christian Graus26-Jan-02 9:37
protectorChristian Graus26-Jan-02 9:37 
GeneralRe: Resizing a control. Pin
Ravi Bhavnani26-Jan-02 10:17
professionalRavi Bhavnani26-Jan-02 10:17 
GeneralRe: Resizing a control. Pin
alex.barylski26-Jan-02 11:48
alex.barylski26-Jan-02 11:48 
GeneralMacro expansion porting from UNIX Pin
Martijn26-Jan-02 0:49
Martijn26-Jan-02 0:49 
GeneralRe: Macro expansion porting from UNIX Pin
Michael Dunn26-Jan-02 6:44
sitebuilderMichael Dunn26-Jan-02 6:44 
GeneralRe: Macro expansion porting from UNIX Pin
Martijn26-Jan-02 12:15
Martijn26-Jan-02 12:15 
GeneralRe: Macro expansion porting from UNIX Pin
Rick York26-Jan-02 12:38
mveRick York26-Jan-02 12:38 
GeneralRe: Macro expansion porting from UNIX Pin
Martijn27-Jan-02 0:46
Martijn27-Jan-02 0:46 
GeneralRe: Macro expansion porting from UNIX Pin
Michael Dunn26-Jan-02 15:22
sitebuilderMichael Dunn26-Jan-02 15:22 
GeneralRe: Macro expansion porting from UNIX Pin
Matt Gullett26-Jan-02 15:56
Matt Gullett26-Jan-02 15:56 

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.