🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by Nerijus Sat, 14 Nov 1998 00:00
Callback problem
#1905
Author: Nerijus
Date: Sat, 14 Nov 1998 00:00
21 lines
1300 bytes
I created C/S application it uses RDM but also added callbacks. When in
client I create my owm instance of RDM and call one of it's methods I
get the right result but when I bind to the same RDM and call the same
method it returns wrong value. there is a extract of code :

        TCOMIrdmServer i = CordmServer::Create();
        CComPtr <ICPHolder> mCPHolder;
        i->get_GetCPHolder( &mCPHolder );
        i.Unbind();

// Here GetCPHolder is a method in RDM (method is defined in Type
Library)

        idisp.Bind(LPDISPATCH(RemoteServer->AppServer));
        CComPtr <ICPHolder> bmCPHolder;
        idisp.get_GetCPHolder( &bmCPHolder );

// after this bmCPHolder <> mCPHolder

I tried to trace but both of these calls enter in server but they return
different values
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads