Marsc
asked on
Ole Com
Hello Experts...
Did any one hear about Mapinfo?.
Well.... The provide the following file: "mapinfow.h"
It looks something like this...
class DMapInfo : public COleDispatchDriver
{
// Attributes
public:
// Operations
public:
// method 'QueryInterface' not emitted because of invalid return type
// method 'AddRef' not emitted because of invalid return type
// method 'Release' not emitted because of invalid return type
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
CString GetName();
CString GetFullName();
CString GetVersion();
BOOL GetVisible();
void SetVisible(BOOL bNewValue);
long GetLastErrorCode();
void SetLastErrorCode(long nNewValue);
CString GetLastErrorMessage();
LPDISPATCH GetMBApplications();
void Do(LPCTSTR command);
CString Eval(LPCTSTR expression);
void RunCommand(LPCTSTR command);
void RunMenuCommand(short id);
LPUNKNOWN DataObject(long windowID);
void SetCallback(LPDISPATCH callbackobject);
};
There are some other classes defined...
The problem is that they are classes derived from MFC....
And I am not using (And I refuse to :-) MFC.
Can any one tell me how to create an object like this but not using MFC?....
Thankks
Did any one hear about Mapinfo?.
Well.... The provide the following file: "mapinfow.h"
It looks something like this...
class DMapInfo : public COleDispatchDriver
{
// Attributes
public:
// Operations
public:
// method 'QueryInterface' not emitted because of invalid return type
// method 'AddRef' not emitted because of invalid return type
// method 'Release' not emitted because of invalid return type
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
CString GetName();
CString GetFullName();
CString GetVersion();
BOOL GetVisible();
void SetVisible(BOOL bNewValue);
long GetLastErrorCode();
void SetLastErrorCode(long nNewValue);
CString GetLastErrorMessage();
LPDISPATCH GetMBApplications();
void Do(LPCTSTR command);
CString Eval(LPCTSTR expression);
void RunCommand(LPCTSTR command);
void RunMenuCommand(short id);
LPUNKNOWN DataObject(long windowID);
void SetCallback(LPDISPATCH callbackobject);
};
There are some other classes defined...
The problem is that they are classes derived from MFC....
And I am not using (And I refuse to :-) MFC.
Can any one tell me how to create an object like this but not using MFC?....
Thankks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.