?
Hab endlich es mal gepackt die dazugehörige header zu finden. hier ist sie, so sollte es funktionieren, halt noch aufrufen im programm und so.
#if !defined(AFX_MSCOMM_H__E1798350_B712_11D9_AD7A_00001CDA4586__INCLUDED_)
#define AFX_MSCOMM_H__E1798350_B712_11D9_AD7A_00001CDA4586__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Mit Microsoft Visual C++ automatisch erstellte IDispatch-Kapselungsklasse(n).
// HINWEIS: Die Inhalte dieser Datei nicht ändern. Wenn Microsoft Visual C++
// diese Klasse erneuert, werden Ihre Änderungen überschrieben.
/////////////////////////////////////////////////////////////////////////////
// Wrapper-Klasse CMSComm
class CMSComm : public CWnd
{
protected:
DECLARE_DYNCREATE(CMSComm)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x648a5600, 0x2c6e, 0x101b, { 0x82, 0xb6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x14 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attribute
public:
BOOL GetCDHolding();
void SetCDHolding(BOOL);
long GetCDTimeout();
void SetCDTimeout(long);
short GetCommID();
void SetCommID(short);
short GetCommPort();
void SetCommPort(short);
BOOL GetCTSHolding();
void SetCTSHolding(BOOL);
long GetCTSTimeout();
void SetCTSTimeout(long);
BOOL GetDSRHolding();
void SetDSRHolding(BOOL);
long GetDSRTimeout();
void SetDSRTimeout(long);
BOOL GetDTREnable();
void SetDTREnable(BOOL);
long GetHandshaking();
void SetHandshaking(long);
short GetInBufferSize();
void SetInBufferSize(short);
short GetInBufferCount();
void SetInBufferCount(short);
BOOL GetBreak();
void SetBreak(BOOL);
short GetInputLen();
void SetInputLen(short);
long GetInterval();
void SetInterval(long);
BOOL GetNullDiscard();
void SetNullDiscard(BOOL);
short GetOutBufferSize();
void SetOutBufferSize(short);
short GetOutBufferCount();
void SetOutBufferCount(short);
CString GetParityReplace();
void SetParityReplace(LPCTSTR);
BOOL GetPortOpen();
void SetPortOpen(BOOL);
short GetRThreshold();
void SetRThreshold(short);
BOOL GetRTSEnable();
void SetRTSEnable(BOOL);
CString GetSettings();
void SetSettings(LPCTSTR);
short GetSThreshold();
void SetSThreshold(short);
VARIANT GetOutput();
void SetOutput(const VARIANT&);
CString GetInput();
void SetInput(LPCTSTR);
short GetCommEvent();
void SetCommEvent(short);
// Operationen
public:
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
#endif // AFX_MSCOMM_H__E1798350_B712_11D9_AD7A_00001CDA4586__INCLUDED_