Click here to Skip to main content
15,914,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get Rect value ????? HELP !!!! Pin
13-Mar-05 5:39
suss13-Mar-05 5:39 
AnswerRe: How to get Rect value ????? HELP !!!! Pin
Mohsen Saad13-Mar-05 6:18
Mohsen Saad13-Mar-05 6:18 
GeneralRe: How to get Rect value ????? HELP !!!! Pin
Member 143833713-Mar-05 6:58
Member 143833713-Mar-05 6:58 
GeneralRe: How to get Rect value ????? HELP !!!! Pin
JohnCz18-Mar-05 10:53
JohnCz18-Mar-05 10:53 
AnswerRe: How to get Rect value ????? HELP !!!! Pin
Member 143833713-Mar-05 11:22
Member 143833713-Mar-05 11:22 
AnswerRe: How to get Rect value ????? HELP !!!! Pin
Maximilien13-Mar-05 13:11
Maximilien13-Mar-05 13:11 
QuestionHow can I detect a CODEC was installed? And detect its version. Pin
Behzad Ebrahimi13-Mar-05 5:00
Behzad Ebrahimi13-Mar-05 5:00 
General[Q]: Number of overloaded functions... Pin
rbid13-Mar-05 4:40
rbid13-Mar-05 4:40 
Hello,

I got some code that overloads the use of overloading functions.

What is the maximum number of overloaded functions a function can have in VC 7.1 (.NET 2003)?

void GetValue(bool &isValue, UINT keyId, UINT sectionId);
void GetValue(bool &isValue, const CString& keyName, UINT sectionId);
void GetValue(bool &isValue, UINT keyId, const CString& sectionName);
void GetValue(bool &isValue, const CString& keyName, const CString& sectionName);
...
// Repeat the above 4 for char, unsigned char, short, unsigned short,
// int, unsigned int, double, __int64
...
void GetValue(__int64 &value, const CString& keyName, const CString& sectionName);


Intellicense of VC recognices only the first 12 overloaded signatures, when expanding with CTRL-Space.

Compilation is O.K even with a highest warning level, which does not hide the possibility that the compiler is casting the values of the last overloaded functions.

Running PC-Lint gives some warnings as only 12 overloaded signatures are present.

Any comment?

--- Rbid. (I'm not the one that loves to overload!)

-- Ricky Marek (AKA: rbid)
-- "Things are only impossible until they are not" --- Jean-Luc Picard

My articles
GeneralRe: [Q]: Number of overloaded functions... Pin
David Crow14-Mar-05 3:30
David Crow14-Mar-05 3:30 
GeneralGNU diff.exe this code ins't working :( Pin
YaronNir13-Mar-05 4:05
YaronNir13-Mar-05 4:05 
GeneralRe: GNU diff.exe this code ins't working :( Pin
Gary R. Wheeler13-Mar-05 4:22
Gary R. Wheeler13-Mar-05 4:22 
GeneralRe: GNU diff.exe this code ins't working :( Pin
YaronNir13-Mar-05 4:29
YaronNir13-Mar-05 4:29 
GeneralRe: GNU diff.exe this code ins't working :( Pin
Gary R. Wheeler13-Mar-05 5:11
Gary R. Wheeler13-Mar-05 5:11 
GeneralRe: GNU diff.exe this code ins't working :( Pin
YaronNir13-Mar-05 5:15
YaronNir13-Mar-05 5:15 
GeneralRe: GNU diff.exe this code ins't working :( Pin
David Crow14-Mar-05 3:36
David Crow14-Mar-05 3:36 
GeneralRe: GNU diff.exe this code ins't working :( Pin
YaronNir14-Mar-05 6:39
YaronNir14-Mar-05 6:39 
Generalurgent- how to flush output buffers in VC++ Pin
Member 176156313-Mar-05 3:29
Member 176156313-Mar-05 3:29 
GeneralRe: urgent- how to flush output buffers in VC++ Pin
Gary R. Wheeler13-Mar-05 4:25
Gary R. Wheeler13-Mar-05 4:25 
GeneralRe: urgent- how to flush output buffers in VC++ Pin
Member 176156313-Mar-05 16:06
Member 176156313-Mar-05 16:06 
GeneralRe: urgent- how to flush output buffers in VC++ Pin
Member 176156314-Mar-05 0:18
Member 176156314-Mar-05 0:18 
GeneralMessenger Addon Pin
Kannan Ramanathan13-Mar-05 3:14
Kannan Ramanathan13-Mar-05 3:14 
GeneralVirtual Inheritancae and Mutiple Inheritance Pin
phijophlip13-Mar-05 3:05
phijophlip13-Mar-05 3:05 
GeneralRe: Virtual Inheritancae and Mutiple Inheritance Pin
YaronNir13-Mar-05 4:11
YaronNir13-Mar-05 4:11 
GeneralRe: Virtual Inheritancae and Mutiple Inheritance Pin
Michael Dunn13-Mar-05 4:58
sitebuilderMichael Dunn13-Mar-05 4:58 
GeneralRe: Virtual Inheritancae and Mutiple Inheritance Pin
Gary R. Wheeler13-Mar-05 5:13
Gary R. Wheeler13-Mar-05 5:13 

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.