miko
Guest
|
Posted:
Mon Jul 04, 2005 12:51 pm Post subject:
Problem to convert tlb in dll |
|
|
I try to use persistance connection with HIS2004
when i use the sample cdrbank and uses CICS_LinkTRM_CedarBank.dll
contextArray = ref object[]context
when i use my dll
contextArray = ref object context
So i try to compare CICS_LinkTRM_CedarBank.tlb with myFile.tlb. it's normal.
So i try to convert tlb-->dll with tlbImp.exe
and the problem is there.
When i use tlbimp.exe, it doesn't convert
[in, out, optional]
VARIANT* varContextArray
in ref object[]context.
the command that i use is :
c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\TlbImp.exe
/out:C:\myFile.dll
how use tlbImp.exe to convert
[in, out, optional]
VARIANT* varContextArray
in ref object[]context.
thank you. |
|
Rob Beardsworth [MSFT]
Guest
|
Posted:
Wed Jul 06, 2005 4:53 pm Post subject:
RE: Problem to convert tlb in dll |
|
|
I am a little confused as to what exactly you mean...you mention tlbimp.exe
which makes me think you have a COM Type-Library and are trying to use it
from a .NET Client, but at the top, you mention .DLLs. The .tlb and .dlls
generated by Designer have slightly different signatures in the area of the
ContextArray.
If you are using a .NET Client, use .NET TI Objects.
HTH.
Rob Beardsworth
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: "miko"<no.spam@nospam.fr>
Subject: Problem to convert tlb in dll
I try to use persistance connection with HIS2004
when i use the sample cdrbank and uses CICS_LinkTRM_CedarBank.dll
contextArray = ref object[]context
when i use my dll
contextArray = ref object context
So i try to compare CICS_LinkTRM_CedarBank.tlb with myFile.tlb. it's normal.
So i try to convert tlb-->dll with tlbImp.exe
and the problem is there.
When i use tlbimp.exe, it doesn't convert
[in, out, optional]
VARIANT* varContextArray
in ref object[]context.
the command that i use is :
c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\TlbImp.exe
/out:C:\myFile.dll
how use tlbImp.exe to convert
[in, out, optional]
VARIANT* varContextArray
in ref object[]context.
thank you. |
|