Click here to Skip to main content
15,889,651 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: waveOutWrite Problem Pin
molesworth19-Jan-10 5:00
molesworth19-Jan-10 5:00 
GeneralRe: waveOutWrite Problem Pin
Aric Wang19-Jan-10 16:22
Aric Wang19-Jan-10 16:22 
Question21 days socket programming Pin
darshic19-Jan-10 2:53
darshic19-Jan-10 2:53 
AnswerRe: 21 days socket programming Pin
CPallini19-Jan-10 3:05
mveCPallini19-Jan-10 3:05 
GeneralRe: 21 days socket programming Pin
darshic19-Jan-10 3:14
darshic19-Jan-10 3:14 
GeneralRe: 21 days socket programming Pin
CPallini19-Jan-10 3:20
mveCPallini19-Jan-10 3:20 
GeneralRe: 21 days socket programming Pin
darshic19-Jan-10 3:34
darshic19-Jan-10 3:34 
GeneralRe: 21 days socket programming Pin
CPallini19-Jan-10 5:23
mveCPallini19-Jan-10 5:23 
It looks like you included Weigh.h inside a header file (usually you include header inside source, i.e. cpp files) and that you've included it before the multiple inclusion guard (the block starting with #if !defined(...), ending with #endif), hence your compilation error may occur because of header multiple inclusion. Do the following change (if you really need to include the header inside the other header... Roll eyes | :rolleyes: )
#if !defined(AFX_MYSOCKET_H__57CF680B_2F58_4A22_81FF_1A8C4841E38E__INCLUDED_)
#define AFX_MYSOCKET_H__57CF680B_2F58_4A22_81FF_1A8C4841E38E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Weigh.h"

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

QuestionVisual C++(MFC) or Visual C++/CLI Pin
ashwath197919-Jan-10 0:04
ashwath197919-Jan-10 0:04 
AnswerRe: Visual C++(MFC) or Visual C++/CLI Pin
CPallini19-Jan-10 0:15
mveCPallini19-Jan-10 0:15 
GeneralRe: Visual C++(MFC) or Visual C++/CLI Pin
Rolf Kristensen19-Jan-10 12:01
Rolf Kristensen19-Jan-10 12:01 
AnswerRe: Visual C++(MFC) or Visual C++/CLI Pin
Maximilien19-Jan-10 0:15
Maximilien19-Jan-10 0:15 
AnswerRe: Visual C++(MFC) or Visual C++/CLI Pin
Cedric Moonen19-Jan-10 1:18
Cedric Moonen19-Jan-10 1:18 
AnswerRe: Visual C++(MFC) or Visual C++/CLI Pin
Rajesh R Subramanian19-Jan-10 1:40
professionalRajesh R Subramanian19-Jan-10 1:40 
JokeRe: Visual C++(MFC) or Visual C++/CLI Pin
CPallini19-Jan-10 1:53
mveCPallini19-Jan-10 1:53 
JokeRe: Visual C++(MFC) or Visual C++/CLI Pin
Rajesh R Subramanian19-Jan-10 4:33
professionalRajesh R Subramanian19-Jan-10 4:33 
JokeRe: Visual C++(MFC) or Visual C++/CLI Pin
Cedric Moonen19-Jan-10 9:01
Cedric Moonen19-Jan-10 9:01 
AnswerRe: Visual C++(MFC) or Visual C++/CLI [modified] Pin
CODEPC19-Jan-10 7:52
CODEPC19-Jan-10 7:52 
GeneralRe: Visual C++(MFC) or Visual C++/CLI Pin
Rajesh R Subramanian19-Jan-10 7:58
professionalRajesh R Subramanian19-Jan-10 7:58 
GeneralRe: Visual C++(MFC) or Visual C++/CLI Pin
CPallini19-Jan-10 10:40
mveCPallini19-Jan-10 10:40 
GeneralRe: Visual C++(MFC) or Visual C++/CLI Pin
Rolf Kristensen19-Jan-10 11:58
Rolf Kristensen19-Jan-10 11:58 
GeneralRe: Visual C++(MFC) or Visual C++/CLI Pin
Joe Woodbury19-Jan-10 11:52
professionalJoe Woodbury19-Jan-10 11:52 
GeneralRe: Visual C++(MFC) or Visual C++/CLI Pin
Rolf Kristensen19-Jan-10 12:03
Rolf Kristensen19-Jan-10 12:03 
GeneralRe: Visual C++(MFC) or Visual C++/CLI Pin
Steve Mayfield20-Jan-10 11:02
Steve Mayfield20-Jan-10 11:02 
QuestionProblems with OnNcCreate() Pin
mspb18-Jan-10 22:14
mspb18-Jan-10 22:14 

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.