G
Guest
Hi,
The COM+ Services type library (comsvcs.dll) strangely enough does not come
with a primary interop. I need to use it in an assembly of mine that is
signed, and it would not let me add it as a reference because the interop
file that VS.NET 2003 produces is not strong named.
Therefore, I am forced to create the signed interop assembly myself.
I am using Tlbimp as follows:
This (and other simpler command lines) gives me a lot of warnings of the type:
-------------
TlbImp warning: At least one of the arguments for
'ISecurityProperty.ReleaseSID'
can not be marshaled by the runtime marshaler. Such arguments will
therefore b
e passed as a pointer and may require unsafe code to manipulate.
TlbImp warning: The type library importer could not convert the signature
for th
e member 'tagBLOB.pBlobData'.
The COM+ Services type library (comsvcs.dll) strangely enough does not come
with a primary interop. I need to use it in an assembly of mine that is
signed, and it would not let me add it as a reference because the interop
file that VS.NET 2003 produces is not strong named.
Therefore, I am forced to create the signed interop assembly myself.
I am using Tlbimp as follows:
OMSVCSLib /keyfile:"C:\Program Files\Exactus\llave.snk"tlbimp c:\windows\system32\comsvcs.dll /out:Interop.Comsvcs.dll /namespace:C
This (and other simpler command lines) gives me a lot of warnings of the type:
-------------
TlbImp warning: At least one of the arguments for
'ISecurityProperty.ReleaseSID'
can not be marshaled by the runtime marshaler. Such arguments will
therefore b
e passed as a pointer and may require unsafe code to manipulate.
TlbImp warning: The type library importer could not convert the signature
for th
e member 'tagBLOB.pBlobData'.