typelib

How to generate GIR files from the Vala compiler?

I am trying to create python bindings to a vala library using pygi with gobject introspection. However, I am having trouble generating the GIR files (that I am planning to compile to typelib files subsequently). According to the documentation valac should support generating GIR files. Compiling the following helloworld.vala public s...

tlbexp.exe changes method names' case

I have a rather strange problem. I am exporting an interface from a C# library to COM. I have enabled the 'register with COM' project setting, so it calls tlbexp.exe to make the type libs. We use camel case on our method names and I noticed that the exported type library changes these any method that happens to coincide with a class nam...

Missing _NewEnum in Outlook _Items interface

Hi, I'm re-implementing part of the OLE automation code in our in-house scripting language. I've written a piece of code that reads ITypeInfo and caches its members for every interface pointer that's used in a script. I use the cached info to convert names into dispids for calls to Invoke and for parameter count checking. We also imp...

Building an COM-interop enabled project without registering it during build

Hi, In Visual Studio 2010, I'm trying to build an COM-interop enabled C# project without registering it during build, but I DO require the assembly's typelibrary (.tlb) file, so I can import it from another C++ project in the solution. I haven't found a way of doing this - there once upon a time was a tlbexp.exe tool, but it was depreca...

Why aren't TypeLib enums exposed as enums in Visual Basic 6.0?

I have a VB6 project that references COMSVCSLib and one of the methods makes calls to COMSVCSLib's SharedPropertyGroupManager.CreatePropertyGroup passing LockMethod and Process as parameters. Cleaned up VB6 code: Dim groupName As String Dim spmMgr As COMSVCSLib.SharedPropertyGroupManager Dim spmGroup As COMSVCSLib...

COM Outlook addin ribbon buttons not responding in Korean Outlook 2010

Hi Folks, I have a COM Outlook addin which implements a ribbon button in Outlook 2010. It's been working just fine for quite some time. Until someone tried to load the addin in the Korean version of Outlook. The ribbon buttons show up but do not do anything when clicked. In the debugger, I see the error message below whenever I click on...