In the company that i work, we develop all the GUI in C#, but the application kernel is mainly developed in Delphi 5 (for historical reasons), with a lot of components made in COM+. Related to this very specific sort of application a I two questions:
Experienced guys in Delphi and/or COM, do you have any workrounds to work with the bug...
I have Excel add-in which I add so many class modules that it is now very bulky. I want to convert it into a type library or a COM package so that I can re-use it for the other apps in the MS Office suite.
I ported the add-in to Visual Studio as a class library project but Excel Automation doesn't recognize the classes in the compiled ....
Help
I am busy making changes to a type library in a Datasnap project.
How do I copy and paste text with in the type library editor ?
P.s. I am using BDS2006
EDIT 1
Is there a way to chnage the Type Library without using the TLB Editor ?
EDIT 2
Is there any way to do a copy and paste in the 'Attributes' and 'Users' screens of type...
What is the best way to save a Delphi Type Library in SVN.
The file changes every time you compile the Application
The file is not saved in a readable form of AscII
It is very difficult to work out what changes have been made from one version to the next
This is a major problem when more than one person is changing the file
QUE...
Referring to TLB and maintenance issues ...
My question to people (often) using the new COM/ActiveX type library support in Delphi 2009:
How stable is the implementation?
Especially, I'm interested in: adding/deleting classes, changing GUIDs, renaming methods/properties, reordering methods/properties, huge type libraries (50+ classes),...
I have a set of libraries written in Delphi.NET (.NET 1.1) which I want to use in my Win32 (Delphi) application. For performance related issues, I've decided to follow the COM route.
Sometimes, after rebuilding the DLL, when I try to instantiate the objects exposed through COM the win32 application hangs at the CreateComObject call--h...
I have some applications (some native, some .NET) which use manifest files so that they can be deployed in complete isolation, without requiring any global COM registration. For example, the dependency on the dbgrid32.ocx com server is declared as follows in the myapp.exe.manifest file which sits in the same folder as myapp.exe:
<?xml v...
I currently have a Win32 type library created in Delphi which I need to consume, implement and re-expose via .NET. What are the steps necessary to bring the TLB into Prism so the interface can be implemented?
...
When editing a type library for a COM DLL, it appears that in Delphi 2007, the type library name is always set to the name of the project. If I go and change that name, the change is ignored and eventually resets to the project name. Back in Delphi 7 I could specify the name of the type library.
What is the expected behavior? Should we...
Delphi versions before 2010 had an option in the Delphi Environment that one could set: "All v-table interfaces". This would change the calling convention when importing type libraries. In 2010, the option is gone. How do I import a type library with the safecall calling convention? I'm hoping maybe there is a more granular level of ...
Do you know any good TLB editor (even commercial) that can be used instead of the one which comes with Delphi? It gives headaches in a lot of situations (big TLB, rename an entry ... etc.)
Thanks!
...
Okay, so I'm doing some good OLE' (sorry) automation with ruby and I ran into a weird problem. I'm trying to extract some data from a Type Library. This works in VB:
Dim c As New TControlsLib.LangCombo
Dim l As TControlsLib.Language
Dim converter As New TControlsLib.LcidConverter
c.AddAllSystemLanguages mtAllKnownLanguages, True
For Eac...
If I make use of a Type Library in a VB6 project do I need to distribute the .tlb file (and perhaps even register it?) with the compiled exe on the target computer?
...
I'm creating a COM type library with over one hundred interfaces. Defining all of the interfaces and coclasses in a single library is unreasonable... the IDL file becomes thousands of lines long! So I'm trying the idea of putting each interface in its own file, and using imports to satisfy its dependencies.
What strategies can I use to ...
I have two type libraries with COM interfaces that I wrote using ATL and Microsoft's IDL. I would like an interface in one library to inherit from an interface in the other.
Essentially, I would like to do the same thing that Steven described at How do I create interface methods using .tlb types in VS C++?. The only person who answered ...
I have a project let's call it Yellow.dproj, which I saved as Blue.dproj, to make some changes. There must be some COM/DCOM related code in this project, but I can't figure out where.
The error I am getting when I try to build Yellow.dproj is that it can not find a type library (TLB) file: "E1026 File not found: ". The file it can't ...
I'm trying to build my project and I've suddenly started getting the following error when the project builds and the "Register for COM interop" property is ticked.
The assembly "c:\MyAssembly.dll" could not be converted to a type library. Type library exporter encountered an error while processing 'SomeType, MyAssembly'. Error: Refer...
Hello.
I have a type library compiled with VC6 (APuma.dll) that I load in C + + Builder with this header:
[...]
typedef TComInterface<IStrings> IStringsPtr;
typedef TComInterface<IStringsDisp> IStringsDispPtr;
extern __declspec (package) const GUID LIBID_TIGERLib;
extern __declspec (package) const GUID DIID__IRecognitionEvents;
exter...