You may consider using a SAFEARRAY type (it is safety for scripting languages callyour method).
Or, if you are not planning use this component for scripting language (including VB), see, for ex., MIDL array in MSDN and all related topics.
Ex. of IDL:
SAFEARRAY of some structure:
HRESULT...
Hello.
My application consits of a few activeX controls (implemented in OCX). When I register it on WindowsNT4.0 machine my application works fine. When I register it W2K machine it works fine under Administrator account. When I try use it under user (wich not a member of PowerUsers group) it...
OK. I will try to explain. You should describe it as you wish to transfer the interface. And when you will cal the function and set parameter you will transfer implementation as well.
It will stop MTS package packageName:
Dim mtxCat As Catalog
Dim mtxPacks As CatalogCollection
Dim mtxPack As CatalogObject
Dim mtxUtil As PackageUtil
Dim root As Object
Set mtxCat = New Catalog
Set root = mtxCat.Connect(srvName)
Set mtxPacks =...
1. Sometimes, when MTS trying to shutdown some package (internally, after "Minutes until idle ..." expired), it do it incorrectly. This way, I suggest you write small procedure, that creates all required objects, and executes before you do not need restart your server.
2. MTS make...
There are a few reasons to generate the error.
And I can describe here only 1. (the rest require knowledges about architecture of your application).
So.
Timeout you set for distributed transaction shorter, then time, required to complete statement on DB server.
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.