🚀 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 alexlin Fri, 12 Oct 2001 07:52
Please help! Transactional Object ------Big Trouble
#432
Author: alexlin
Date: Fri, 12 Oct 2001 07:52
21 lines
1527 bytes
I writed a transactional object for testing.
When I have completed my code, I used "install COM+ objects" to register it.
Then, I writed a client app to execute its method.
It would  be failed on the "Activate()" method.

STDMETHODIMP MyObj::Activate()
{
  static TMtsDll Mts;
  HRESULT hr = E_FAIL;
  hr = Mts.Get_ObjectContext(&m_spObjectContext);   <------------Failed
on   here
  if (SUCCEEDED(hr))
    return S_OK;
  return hr;
}

The error message is "The remote procedure call failed."

How can I solve this problem?

Please Help Me!!!      THANKS A LOT!!
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