Thanks Paul and Igor,

Could you please give an example.

Consider the following code snippet as an example:
Code:
BOOL WINAPI GetServerInfo(OUT LPTSTR *lpInfo)
{
    .   .   .
    .   .   .

    string sServerIpAddress = SysUtils::GetServerAddress() ;
    string sServerName = SysUtils::GetThisComputerName() ;

    .   .   .
    .   .   .

    {
        ProgressLog objProgressLog( sCodeProgessLogFileName ) ;
        objProgressLog.AddInfoLine( TEXT("Returning IP and Name ...") ) ;
    }

}
Here ProgressLog and SysUtils are C++ classes. GetServerInfo() is a DLL function.

Did you meant that I should put __cdecl in fron of every method in Header files of ProgressLog and SysUtils ?

Should I also put __cdecl in CPP files ?

Please elaborate.