Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OT Pin
Mark Salsbery15-Sep-08 7:55
Mark Salsbery15-Sep-08 7:55 
GeneralRe: OT Pin
CPallini15-Sep-08 7:48
mveCPallini15-Sep-08 7:48 
GeneralRe: calling a static function Pin
steph515-Sep-08 5:58
steph515-Sep-08 5:58 
GeneralRe: calling a static function Pin
Mark Salsbery15-Sep-08 6:13
Mark Salsbery15-Sep-08 6:13 
GeneralRe: calling a static function Pin
CPallini15-Sep-08 6:14
mveCPallini15-Sep-08 6:14 
GeneralRe: calling a static function Pin
Mark Salsbery15-Sep-08 6:22
Mark Salsbery15-Sep-08 6:22 
GeneralRe: calling a static function Pin
steph515-Sep-08 6:46
steph515-Sep-08 6:46 
GeneralRe: calling a static function Pin
Mark Salsbery15-Sep-08 6:53
Mark Salsbery15-Sep-08 6:53 
////////////////////////////
// myClass.h
////////////////////////////

class myClass
{
public:
   static void StaticMethod();
};


////////////////////////////
// myClass.cpp
////////////////////////////

void <code>myClass::</code>StaticMethod()
{
}


////////////////////////////
// someother.cpp
////////////////////////////

void somefunc()
{
   myClass::StaticMethod();
}

Maybe you forgot the part in red above...

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: calling a static function Pin
CPallini15-Sep-08 7:39
mveCPallini15-Sep-08 7:39 
GeneralRe: calling a static function Pin
toxcct15-Sep-08 7:42
toxcct15-Sep-08 7:42 
GeneralRe: calling a static function Pin
CPallini15-Sep-08 7:51
mveCPallini15-Sep-08 7:51 
GeneralRe: calling a static function Pin
Mark Salsbery15-Sep-08 7:51
Mark Salsbery15-Sep-08 7:51 
GeneralRe: calling a static function Pin
CPallini15-Sep-08 7:55
mveCPallini15-Sep-08 7:55 
GeneralRe: calling a static function Pin
Mark Salsbery15-Sep-08 8:03
Mark Salsbery15-Sep-08 8:03 
GeneralRe: calling a static function Pin
steph515-Sep-08 6:31
steph515-Sep-08 6:31 
GeneralRe: calling a static function Pin
Mark Salsbery15-Sep-08 6:44
Mark Salsbery15-Sep-08 6:44 
GeneralRe: calling a static function Pin
steph515-Sep-08 6:54
steph515-Sep-08 6:54 
GeneralRe: calling a static function Pin
Rajesh R Subramanian17-Sep-08 23:00
professionalRajesh R Subramanian17-Sep-08 23:00 
QuestionImage Processing Question Pin
sherinsabry15-Sep-08 4:29
sherinsabry15-Sep-08 4:29 
AnswerRe: Image Processing Question Pin
Saurabh.Garg15-Sep-08 5:10
Saurabh.Garg15-Sep-08 5:10 
GeneralRe: Image Processing Question Pin
sherinsabry22-Sep-08 7:21
sherinsabry22-Sep-08 7:21 
QuestionImage Processing Question Pin
sherinsabry15-Sep-08 4:29
sherinsabry15-Sep-08 4:29 
AnswerRe: Image Processing Question Pin
Mark Salsbery15-Sep-08 5:44
Mark Salsbery15-Sep-08 5:44 
GeneralRe: Image Processing Question Pin
sherinsabry22-Sep-08 7:22
sherinsabry22-Sep-08 7:22 
GeneralRe: Image Processing Question Pin
Mark Salsbery22-Sep-08 7:28
Mark Salsbery22-Sep-08 7:28 

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.