Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages
Started by Val P.
Thu, 22 Mar 2001 17:41
COM+ Problem with BCB5
Author: Val P.
Date: Thu, 22 Mar 2001 17:41
Date: Thu, 22 Mar 2001 17:41
38 lines
2441 bytes
2441 bytes
Hi,
I'm trying to do my first COM+ component in builder. I made a pretty basic one using the wizard (Created Activex library then added Transactional Object)
It installs fine, It looks good, but when I try to activate it it hangs for a while. Then I get an error (see below). What can I do to get COM+ to work correctly? I'm on Windows 2000 with SP1. Mind you, this is a pretty plain component, I just added a method Test() which takes no parameteres, does nothing, just returns S_OK.
However the error happens before I get to the method, it appears..?
Thanks,
v
---
The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below.
Component Prog ID: TestComp Object
Method Name: IObjectControl::Activate()
Server Application ID: {A1990A3B-ACDB-40F6-B6C2-27B7B27D4C61}
Server Application Name: Test
The serious nature of this error has caused the process to terminate.
Exception: C0000005
Address: 0x77AA9ED7
Call Stack:
ole32!CoGetObjectContext + 0x5
TestComp!@@TestComp_tlb@Finalize + 0xA5
COMSVCS + 0xE8096
COMSVCS + 0xE7B1C
COMSVCS + 0x17B10
COMSVCS + 0xE9F50
+ 0x136EDEB0
Who needs Cupid? Matchmaker.com is the place to meet somebody.
FREE Two-week Trial Membership at http://www.matchmaker.com/home?rs=200015
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