Hi, i think that you only can install a proxy application is in a W2K or an XP, not over a W9x.
You should instantiate your com+ components on the w2000 server using Dcom or RDS. (CreateRemoteComObject in Delphi)
DAS
Ok,
I experience a similar problem with a dual processor system using just com+ components, no asp.
My application it's working faster in a single processor than on a dual processor. Try setting process affinity to the dllhost to just one processor an see what happend.
I still can't fix...
Seems like your proyect use some TLB file that's not registred on W2k server, check your proyect for includes file that may use tlb from your development tool.
DAS
Sorry the mistake and delay
change TComponentConnection by TDCOMConnection
so
function CreateCC(aComponentServer,
ServerGuid: String): TDCOMConnection;
begin
result := TDCOMConnection.Create(Nil);
try
result.ComputerName:= aComponentServer;
result.ServerGUID:= ServerGuid...
hi,
both object should support transaction* and have one to use it.
* if both support transaction and are called from a component that not support or from a base client the transaction will not by created.
Try setting your mother object to transaction required and the other to support or...
Hi,
I use this function to create a CC:
function CreateCC(aComponentServer,
ServerGuid: String): TComponentConnection;
begin
result := TComponentConnection.Create(Nil);
try
result.ComputerName:= aComponentServer;
result.ConnectionType:=ctDCOM;
result.ServerGUID:=...
Hi,
Does anyone has tried to create a thread on a transactional com+ component and from it call another transactional component?
I've been trying but the thread scapes from the acitivity, i loose the object context and the called object does not abort the original transaction.
How do i...
Hi
This it's something that i do your for test and i don't thinks that's the rigth way, but you can try, if i remember correctly i do this :
include in your dpr
comobj,
and before application.initialize
set
CoInitFlags := 0;
this works for me but i thinks that the rigth way of do it...
Hi,
When you mind classes you are talking about com+ components? If so, i guess you have 1 com+ component that have inside a call to a class, inside the component, if you do not call another com componentes o use coinitialize to change the working model of com or create threads you should stay...
Hi,
You can
a) try initializing com with coinitialize(..) inside of the getdata method and counitialize finishing the method.
b) try creating the connection inside of the getdata method.
(this probably works, if it does, i think it's because you can't easily share interfaces between...
Hi,
Im'not expert on C, but it seems to be a problem with somthing that you have not released.
Maybe you have to assign Conn to nil to realease the com instance of the com connection object.
Das
Yes, I can create the component using ObjectContext but in that case when I call any method stop the execution of the caller component until the called method finishes, that's the normal way of work with com+,
but I wan't both components working at the same time, so, that's the reason why I...
Hi,
I have a com+ component and I want to create a thread to launch another com+ component.
cA -> thread -> cB
I want that both component support transactions so i can abort the transaction from any of them.
I have been trying to do this but when i create a thread a com+ component...
here's
something about com+
http://www.execpc.com/~gopalan/com/complus.html
http://www.devx.com/free/mgznarch/vcdj/1999/febmag99/commts1.asp
but, you should try at the MSDN.
Hi,
I'm not shure of answer you, but
You can make your own installer of 3 ways:
1)
first you generate your MSI files
then you the com admin interface (iCOMAdminCatalog)
(if the machine is remote you can use the connect method of this interface to obtain an instance of the...
Hi,
You should use the transaction suport inherited from mts. (In W2000 you can use CreateComObject to create new instances and the instances will be created in the same transaction.)
For my personal experience, if you want to deploy a big application, try to avoid the roles style...
As far as i know, there's no way to remove a shared property, to solve this, I "reuse" the memory or set it to null when it's not used. May be you should try some way to mark the shp as deleted and then reuse instead of create a new one.
DASMAN
Thank's Ricardo,
I have tried the hotfix five and it fix all the deadlock situations and the exceptions on high stress cases.
Thanks to all
Dasman
Ps:next time create your self an User for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.