Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSet a timeout for UrlDownloadToFile() ? [modified] Pin
ALLERSLIT14-Jul-10 23:50
ALLERSLIT14-Jul-10 23:50 
AnswerRe: Set a timeout for UrlDownloadToFile() ? Pin
Niklas L15-Jul-10 0:43
Niklas L15-Jul-10 0:43 
GeneralRe: Set a timeout for UrlDownloadToFile() ? Pin
ALLERSLIT15-Jul-10 0:47
ALLERSLIT15-Jul-10 0:47 
GeneralRe: Set a timeout for UrlDownloadToFile() ? Pin
Niklas L15-Jul-10 0:52
Niklas L15-Jul-10 0:52 
AnswerRe: Set a timeout for UrlDownloadToFile() ? Pin
Moak15-Jul-10 7:38
Moak15-Jul-10 7:38 
Question_tfopen Error - file is being used by another process. Pin
Cvaji14-Jul-10 23:20
Cvaji14-Jul-10 23:20 
AnswerRe: _tfopen Error - file is being used by another process. Pin
Richard MacCutchan15-Jul-10 2:12
mveRichard MacCutchan15-Jul-10 2:12 
QuestionEnum Issue Pin
VC_RYK14-Jul-10 23:16
VC_RYK14-Jul-10 23:16 
Hi Experts

I am migrating one project from Vc 6.0 to Vc 8.0. I found one compilation Error regarding Enum.

In Vc 6.0 they have declared an enum in a class and again the same enum they are using in other class with scope resolution and have changed the enum value. It is compiling fine on Vc 6.0 but throwing an error while compiling in Vc 8.0.

Example code.


class CTest
{
public:
enum TestEnum {NA=0, First};
};


class CTest1
{
public:
enum CTest::TestEnum {Second, Third};

};


It is working fine in Vc 6.0 but throwing error in Vc 8.0
Error is:- error C2911: 'CTest::TestEnum' : cannot be declared or defined in the current scope
AnswerRe: Enum Issue Pin
Aescleal14-Jul-10 23:51
Aescleal14-Jul-10 23:51 
GeneralRe: Enum Issue Pin
VC_RYK15-Jul-10 0:54
VC_RYK15-Jul-10 0:54 
QuestionDesktop Context menu "Paste Shortcut" issue, Please help Pin
Rahul Vaishnav14-Jul-10 23:07
Rahul Vaishnav14-Jul-10 23:07 
AnswerRe: Desktop Context menu "Paste Shortcut" issue, Please help Pin
Richard MacCutchan15-Jul-10 2:18
mveRichard MacCutchan15-Jul-10 2:18 
GeneralRe: Desktop Context menu "Paste Shortcut" issue, Please help Pin
Rahul Vaishnav15-Jul-10 2:41
Rahul Vaishnav15-Jul-10 2:41 
GeneralRe: Desktop Context menu "Paste Shortcut" issue, Please help Pin
Richard MacCutchan15-Jul-10 2:55
mveRichard MacCutchan15-Jul-10 2:55 
QuestionVisual C++ equivalent of "TModule" in Borland C++ [modified] Pin
coder21k14-Jul-10 21:48
coder21k14-Jul-10 21:48 
AnswerRe: Visual C++ equivalent of "TModule" in Borland C++ Pin
Cedric Moonen14-Jul-10 21:57
Cedric Moonen14-Jul-10 21:57 
GeneralRe: Visual C++ equivalent of "TModule" in Borland C++ Pin
coder21k14-Jul-10 22:05
coder21k14-Jul-10 22:05 
GeneralRe: Visual C++ equivalent of "TModule" in Borland C++ Pin
Cedric Moonen14-Jul-10 22:13
Cedric Moonen14-Jul-10 22:13 
AnswerRe: Visual C++ equivalent of "TModule" in Borland C++ Pin
Rolf Kristensen15-Jul-10 10:10
Rolf Kristensen15-Jul-10 10:10 
QuestionDrawing 3d Ellipse in MFC Pin
Anu_Bala14-Jul-10 20:09
Anu_Bala14-Jul-10 20:09 
AnswerRe: Drawing 3d Ellipse in MFC Pin
Emilio Garavaglia15-Jul-10 2:06
Emilio Garavaglia15-Jul-10 2:06 
QuestionHow to convert Modal dialog to modeless dialog? Pin
svkotireddy14-Jul-10 19:27
svkotireddy14-Jul-10 19:27 
AnswerRe: How to convert Modal dialog to modeless dialog? Pin
Naveen14-Jul-10 19:30
Naveen14-Jul-10 19:30 
AnswerRe: How to convert Modal dialog to modeless dialog? Pin
Richard MacCutchan14-Jul-10 21:58
mveRichard MacCutchan14-Jul-10 21:58 
Questionhow to convert SDI application to MDI application? Pin
svkotireddy14-Jul-10 19:25
svkotireddy14-Jul-10 19:25 

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.