Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DASMAN

    How to use Msiexec

    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
  2. DASMAN

    large number of context switches & pagefaults

    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...
  3. DASMAN

    Type Library Could not be Loaded

    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
  4. DASMAN

    large number of context switches & pagefaults

    Is your web server a Multiple Processor System? DAS
  5. DASMAN

    Can i use COM+ component from customized thread

    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...
  6. DASMAN

    Mother object

    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...
  7. DASMAN

    Can i use COM+ component from customized thread

    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:=...
  8. DASMAN

    COM + and thread

    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...
  9. DASMAN

    Can i use COM+ component from customized thread

    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...
  10. DASMAN

    Instancing of Com+ classes

    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...
  11. DASMAN

    Can i use COM+ component from customized thread

    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...
  12. DASMAN

    COM+ Error On 2000 server

    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
  13. DASMAN

    COM+ And Threads

    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...
  14. DASMAN

    COM+ And Threads

    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...
  15. DASMAN

    Difference between COM and COM+

    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.
  16. DASMAN

    How to Deploy COM+

    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...
  17. DASMAN

    passing array of user defined type to COM servers

    Hi, Have you tried to define your parameter as as an OleVariant?
  18. DASMAN

    Who can give me some tips for programming COM+

    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...
  19. DASMAN

    How do you remove a SharedProperty value?

    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
  20. DASMAN

    Com+ & High Stress situation generates system exceptions

    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.

Part and Inventory Search

Back
Top