Problem to convert tlb in dll
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Problem to convert tlb in dll

 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server
Author Message
miko
Guest





Posted: Mon Jul 04, 2005 12:51 pm    Post subject: Problem to convert tlb in dll Reply with quote

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.
Back to top
Rob Beardsworth [MSFT]
Guest





Posted: Wed Jul 06, 2005 4:53 pm    Post subject: RE: Problem to convert tlb in dll Reply with quote

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.
Back to top
miko
Guest





Posted: Thu Jul 07, 2005 12:52 pm    Post subject: Re:Problem to convert tlb in dll Reply with quote

Thank you for your help.
effectively, i use with success the TI Object in .NET.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB