Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Newbie: (Safely) deleting files Pin
Paul M Watt17-Oct-03 4:20
mentorPaul M Watt17-Oct-03 4:20 
GeneralRe: Newbie: (Safely) deleting files Pin
blindcop17-Oct-03 4:43
blindcop17-Oct-03 4:43 
GeneralRe: Newbie: (Safely) deleting files Pin
Vitali Halershtein17-Oct-03 4:29
Vitali Halershtein17-Oct-03 4:29 
GeneralRe: Newbie: (Safely) deleting files Pin
Jonathan Craig17-Oct-03 7:14
Jonathan Craig17-Oct-03 7:14 
GeneralRe: Newbie: (Safely) deleting files Pin
keegan17-Oct-03 8:00
keegan17-Oct-03 8:00 
GeneralRe: Newbie: (Safely) deleting files Pin
joshfl17-Oct-03 9:38
joshfl17-Oct-03 9:38 
GeneralRe: Newbie: (Safely) deleting files Pin
Alexander M.,18-Oct-03 12:48
Alexander M.,18-Oct-03 12:48 
QuestionVisual Studio 6.0 workspace bug? Pin
Anonymous17-Oct-03 3:42
Anonymous17-Oct-03 3:42 
I tried to add this following function to a class in my project:
void SetPen(COLORREF penColor=0x00000000, UINT penStyle=PS_SOLID, int penWidth=0);

Adding this by hand gives no problem, except that the workspace window is bugged... trying to get to the definition in the .cpp file doesn't work.
The project will compile ok though, because the function really is there.

Now, if you add it using the workspace menu, a warning will appear that declaration en definition are not identical, and a corrupted definition is placed in the .cpp file....

void CMyClass::SetPen(COLORREF penColor);

This will NOT compile ofcourse... D'Oh! | :doh:

It's easily fixed, replace UINT with unsigned int, but any typedef similar to the UINT one will show this behaviour.. (I'm using Visual Studio 6.0 SP5)

Anyone know a more permanent solution to this annoyance?

I wonder when Microsoft is held liable for damages due to their shoddy work... Dead | X|
AnswerRe: Visual Studio 6.0 workspace bug? Pin
FearlessBurner17-Oct-03 4:35
FearlessBurner17-Oct-03 4:35 
Generalbitmapped command button Pin
imranhabib17-Oct-03 3:38
imranhabib17-Oct-03 3:38 
GeneralOnHScroll and CSliderCtrl Pin
ns17-Oct-03 2:21
ns17-Oct-03 2:21 
GeneralRe: OnHScroll and CSliderCtrl Pin
PJ Arends18-Oct-03 7:22
professionalPJ Arends18-Oct-03 7:22 
GeneralActiveX Properties in MSHTML Pin
Naeem Hassan17-Oct-03 2:13
Naeem Hassan17-Oct-03 2:13 
GeneralRe: ActiveX Properties in MSHTML Pin
igor196017-Oct-03 7:48
igor196017-Oct-03 7:48 
GeneralUnresolved symbol LockIt Pin
BadJerry17-Oct-03 2:13
BadJerry17-Oct-03 2:13 
GeneralSTL vector, set, etc, unique items Pin
User 665817-Oct-03 1:43
User 665817-Oct-03 1:43 
GeneralRe: STL vector, set, etc, unique items Pin
Abebe17-Oct-03 2:03
Abebe17-Oct-03 2:03 
GeneralRe: STL vector, set, etc, unique items Pin
Michael Dunn17-Oct-03 4:58
sitebuilderMichael Dunn17-Oct-03 4:58 
QuestionSearch Engines... does anyone know? Pin
Steve Obbayi17-Oct-03 1:31
professionalSteve Obbayi17-Oct-03 1:31 
AnswerRe: Search Engines... does anyone know? Pin
Vitali Halershtein17-Oct-03 3:56
Vitali Halershtein17-Oct-03 3:56 
AnswerRe: Search Engines... does anyone know? Pin
valikac17-Oct-03 4:57
valikac17-Oct-03 4:57 
QuestionCopy binary file to IStream - best bufsize? Pin
Anonymous17-Oct-03 0:36
Anonymous17-Oct-03 0:36 
AnswerRe: Copy binary file to IStream - best bufsize? Pin
Steve S17-Oct-03 1:47
Steve S17-Oct-03 1:47 
GeneralSetNameOf Pin
Arjan Schouten17-Oct-03 0:33
Arjan Schouten17-Oct-03 0:33 
QuestionHow to install the soap-client software on a client Pin
Braulio Dez16-Oct-03 23:47
Braulio Dez16-Oct-03 23:47 

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.