DCCoolBreeze
Programmer
I have this old vc5 program that contains this header file. I am trying to figure out under what vc++ 6.0 switches this header file was generated. Can anyone help? I do not know if this is enough information to get help. If not let me know what else I need to supply.
Thanks,
// ConnectionAttribs.h: Definition of the CConnectionAttribs class
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CONNECTIONATTRIBS_H__A61BE8D3_48B6_11D2_BE5B_00C04F8E8D38__INCLUDED_)
#define AFX_CONNECTIONATTRIBS_H__A61BE8D3_48B6_11D2_BE5B_00C04F8E8D38__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#pragma warning(disable: 4786)
#pragma warning(disable: 4806)
#include "resource.h" // main symbols
#include <string>
#include <map>
using namespace std;
/////////////////////////////////////////////////////////////////////////////
// CConnectionAttribs
class CConnectionAttribs :
public CComDualImpl<IConnectionAttribs, &IID_IConnectionAttribs, &LIBID_OATSFTPClient>,
public ISupportErrorInfo,
public CComObjectRoot,
public CComCoClass<CConnectionAttribs,&CLSID_ConnectionAttribs>
{
public:
CConnectionAttribs() {}
BEGIN_COM_MAP(CConnectionAttribs)
COM_INTERFACE_ENTRY(IDispatch)
COM_INTERFACE_ENTRY(IConnectionAttribs)
COM_INTERFACE_ENTRY(ISupportErrorInfo)
END_COM_MAP()
//DECLARE_NOT_AGGREGATABLE(CConnectionAttribs)
// Remove the comment from the line above if you don't want your object to
// support aggregation.
DECLARE_REGISTRY_RESOURCEID(IDR_ConnectionAttribs)
// ISupportsErrorInfo
STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
// IConnectionAttribs
public:
STDMETHOD(get_Server)(/*[out, retval]*/ BSTR *pVal);
STDMETHOD(put_Server)(/*[in]*/ BSTR newVal);
STDMETHOD(get_Port)(/*[out, retval]*/ BSTR *pVal);
STDMETHOD(put_Port)(/*[in]*/ BSTR newVal);
STDMETHOD(SetupAttribs)(/*[in]*/ VARIANT * Port, /*[in]*/ VARIANT * Server);
private:
string * sPort;
string * sServer;
};
#endif // !defined(AFX_CONNECTIONATTRIBS_H__A61BE8D3_48B6_11D2_BE5B_00C04F8E8D38__INCLUDED_)
Thanks,
// ConnectionAttribs.h: Definition of the CConnectionAttribs class
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CONNECTIONATTRIBS_H__A61BE8D3_48B6_11D2_BE5B_00C04F8E8D38__INCLUDED_)
#define AFX_CONNECTIONATTRIBS_H__A61BE8D3_48B6_11D2_BE5B_00C04F8E8D38__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#pragma warning(disable: 4786)
#pragma warning(disable: 4806)
#include "resource.h" // main symbols
#include <string>
#include <map>
using namespace std;
/////////////////////////////////////////////////////////////////////////////
// CConnectionAttribs
class CConnectionAttribs :
public CComDualImpl<IConnectionAttribs, &IID_IConnectionAttribs, &LIBID_OATSFTPClient>,
public ISupportErrorInfo,
public CComObjectRoot,
public CComCoClass<CConnectionAttribs,&CLSID_ConnectionAttribs>
{
public:
CConnectionAttribs() {}
BEGIN_COM_MAP(CConnectionAttribs)
COM_INTERFACE_ENTRY(IDispatch)
COM_INTERFACE_ENTRY(IConnectionAttribs)
COM_INTERFACE_ENTRY(ISupportErrorInfo)
END_COM_MAP()
//DECLARE_NOT_AGGREGATABLE(CConnectionAttribs)
// Remove the comment from the line above if you don't want your object to
// support aggregation.
DECLARE_REGISTRY_RESOURCEID(IDR_ConnectionAttribs)
// ISupportsErrorInfo
STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
// IConnectionAttribs
public:
STDMETHOD(get_Server)(/*[out, retval]*/ BSTR *pVal);
STDMETHOD(put_Server)(/*[in]*/ BSTR newVal);
STDMETHOD(get_Port)(/*[out, retval]*/ BSTR *pVal);
STDMETHOD(put_Port)(/*[in]*/ BSTR newVal);
STDMETHOD(SetupAttribs)(/*[in]*/ VARIANT * Port, /*[in]*/ VARIANT * Server);
private:
string * sPort;
string * sServer;
};
#endif // !defined(AFX_CONNECTIONATTRIBS_H__A61BE8D3_48B6_11D2_BE5B_00C04F8E8D38__INCLUDED_)