Question about “Create COM Interop Assemblies”

This forum is meant for questions and discussions about the X# language and tools
Post Reply
Anonymous

Question about “Create COM Interop Assemblies”

Post by Anonymous »

Dear,

I have a “VO-import program” that need the IXMLDOMDocument{}.

When I start the tool: “Create assemblies form” Choose: “Microsoft XML, v6.0” , Import type: TLBimp.exe, the XIDE 1.11 freeze.
The Importer “Aximp.exe” works and I see the result in the “COM-tab-page”, but the Add-button doesn’t response. (it is not possible to include it)

Is there a way to include this ?


Thanks a lot for the response,

Johan Kwaspen
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Question about “Create COM Interop Assemblies”

Post by Chris »

Hi Johan,

I am also seeing that problem, what happens is that XIDE calls tlbimp.exe and waits for it to exit, but for some reason it never exits with the Microsoft XML libraries, hence the freeze. For the next version I will add a timeout of a few seconds so the IDE does not freeze, but I don't know why tlbimp does not work with those libraries and a goggle search didn't show something either.

Can you please try creating them from VS instead, to see if that works? Just create a new x# or c# project in it (any type) and add a reference to this library. VS should create the dlls for the library (also by using tlbimp) and will add them as references to the project. Now you can just copy those dlls anywhere you like in your disk and add direct references to them also in your XIDE apps.

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
FFF
Posts: 1580
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Question about “Create COM Interop Assemblies”

Post by FFF »

Chris,
seemt to remember, i had the same problem sometime ago, "no go" from Xide, "no problem" from VS...

Karl
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Question about “Create COM Interop Assemblies”

Post by Chris »

Hi Karl,

Yeah, it's a microsoft tool and a microsoft (XML) library, so it makes sense that they know better how to use the tool to work properly with their library :)
Unfortunately I couldn't find an indication on what the actual problem might be, so I can fix that in XIDE as well..

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
JKW

Question about “Create COM Interop Assemblies”

Post by JKW »

Hello Chris, Karl

Thanks for your reply,
I could continue, I write the method in order to X# code.
So I get the X # in the fingers.

Regard,

Johan Kwaspen
Belgium
Post Reply