Click here to Skip to main content
15,912,069 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UTF problem Pin
Matthew Faithfull19-Jul-07 23:00
Matthew Faithfull19-Jul-07 23:00 
GeneralRe: UTF problem Pin
Suneet.0319-Jul-07 23:22
Suneet.0319-Jul-07 23:22 
GeneralRe: UTF problem Pin
Matthew Faithfull20-Jul-07 0:34
Matthew Faithfull20-Jul-07 0:34 
GeneralRe: UTF problem Pin
Suneet.0322-Jul-07 23:05
Suneet.0322-Jul-07 23:05 
GeneralRe: UTF problem Pin
Matthew Faithfull23-Jul-07 3:20
Matthew Faithfull23-Jul-07 3:20 
Questionusing MatchDocTypa() in mfc appln.. Pin
mirraa19-Jul-07 21:46
mirraa19-Jul-07 21:46 
QuestionPostMessage() inside MidiInProc() Pin
rp_suman19-Jul-07 21:27
rp_suman19-Jul-07 21:27 
AnswerRe: PostMessage() inside MidiInProc() Pin
Shouvik Das19-Jul-07 21:45
Shouvik Das19-Jul-07 21:45 
this error C2352 occurs if
A static member function called a nonstatic member function. Or, a nonstatic member function was called from outside the class as a static function.
The following sample generates C2352:<br />
// C2352a.cpp<br />
class CMyClass<br />
{<br />
public:<br />
   static void func1();<br />
   void func2();<br />
   static void func3()<br />
   {<br />
      func1();   // OK, calls static func1<br />
      func2();   // C2352, calls nonstatic func2<br />
   }<br />
};<br />
<br />
int main()<br />
{<br />
}<br />
The following sample generates C2352:<br />
// C2352b.cpp<br />
class MyClass<br />
{<br />
public:<br />
   void MyFunc()<br />
   {<br />
   }<br />
<br />
   static void MyFunc2()<br />
   {<br />
   }<br />
<br />
};<br />
<br />
int main()<br />
{<br />
   MyClass::MyFunc();   // C2352<br />
   // try the following line instead<br />
   // MyClass::MyFunc2();<br />
}<br />


I hope you inderstand what you need to change...I must confess I gave you details from MSDN Library only Smile | :)



There are only two kinds of people who are really fascinating-people who know absolutely everything, and people who know absolutely nothing.
Oscar Wilde (1854-1900)
Regards...
Shouvik

GeneralRe: PostMessage() inside MidiInProc() Pin
rp_suman19-Jul-07 22:20
rp_suman19-Jul-07 22:20 
AnswerRe: PostMessage() inside MidiInProc() Pin
tanvon malik19-Jul-07 21:48
tanvon malik19-Jul-07 21:48 
GeneralRe: PostMessage() inside MidiInProc() Pin
rp_suman19-Jul-07 22:14
rp_suman19-Jul-07 22:14 
QuestionVC++ Q/A Pin
Jhony george19-Jul-07 21:01
Jhony george19-Jul-07 21:01 
AnswerRe: VC++ Q/A Pin
Shouvik Das19-Jul-07 21:32
Shouvik Das19-Jul-07 21:32 
AnswerRe: VC++ Q/A Pin
Jonathan [Darka]19-Jul-07 21:59
professionalJonathan [Darka]19-Jul-07 21:59 
GeneralRe: VC++ Q/A Pin
Jhony george19-Jul-07 22:13
Jhony george19-Jul-07 22:13 
AnswerRe: VC++ Q/A Pin
Hamid_RT31-Jul-07 19:22
Hamid_RT31-Jul-07 19:22 
QuestionProblem in Client Server Programming Pin
Abhijit A19-Jul-07 20:56
Abhijit A19-Jul-07 20:56 
AnswerRe: Problem in Client Server Programming Pin
led mike20-Jul-07 4:44
led mike20-Jul-07 4:44 
QuestiongetSubItemRect...?? Pin
sheshidar19-Jul-07 20:45
sheshidar19-Jul-07 20:45 
QuestionRe: getSubItemRect...?? Pin
David Crow20-Jul-07 3:31
David Crow20-Jul-07 3:31 
QuestionCreate xml file Pin
Maynka19-Jul-07 20:43
Maynka19-Jul-07 20:43 
AnswerRe: Create xml file Pin
CPallini19-Jul-07 22:18
mveCPallini19-Jul-07 22:18 
GeneralRe: Create xml file Pin
Maynka19-Jul-07 22:59
Maynka19-Jul-07 22:59 
GeneralRe: Create xml file Pin
CPallini19-Jul-07 23:20
mveCPallini19-Jul-07 23:20 
GeneralRe: Create xml file Pin
DevMentor.org21-Jul-07 23:31
DevMentor.org21-Jul-07 23:31 

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.