Hello Jay,
 
thank you very much for your suggestions. Imagine this:
 
class IMYInterface
{
public:
    virtual ~IMYInterface() {}
    virtual bool start( bool fMode ) = 0;
};
 
class MyObj :  public IMYInterface
{
public:
...
...
protected:
    MyObj();
    virtual ~MyObj();
};
 
__declspec(dllexport) bool WINAPI GetTestObject( IMYInterface*& pObj )
{
bool ret = false;
    MyObj* pObject = new MyObj();
    if (pObject!= NULL)
    {
        pObj= static_cast<IMYInterface*> (pObject);
        if ( pObj!= NULL)
        {
            ret = true;
        }
        else
        {
            .....
        }
    }
 
So, this is the Code behind my dll. And I would bind this MyObj to a racket object. How can I achieve this?
 
Yours,
 
 
 
 
 
 
 
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to