This is a migrated thread and some comments may be shown as answers.

Delphi/COM implementation - API Documentation

11 Answers 142 Views
General discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Guest
Top achievements
Rank 1
Guest asked on 03 May 2013, 09:41 AM
Hi I am trying to add additiona installation information as per documentation SetInstallationInfoProperties but it looks like that method hasn't been implemented, this can include very handy set of information (as I have done in my C# implementation) for company specific details. Am I missing something? Cheers Jim Steele

11 Answers, 1 is accepted

Sort by
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
Hi Jim Just checked up on this and it seems that the API documentation was actually a few versions newer than was made available for download. I just uploaded a newer version of the download file which includes this new method (You should get a version 3.1.69 rather than the 3.1.63 you probably already have). You can go ahead and download the newest version and you should be able to find the method Hope this helps Soren EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
Soren Updated to latest version as required but still having issues - documentation and implementation appear to be different (see attached file) Would appreciate a quick response here as I'm under pressure to get something to show our Ops Director with a view to going ahead with this project. Cheers Jim Steele
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
Hi Jim Hmm...perhaps I am missing the point here.....are you using the COM or the Win32 library? From your screenshot, it seems like you are referring to the Win32 API documentation but I was under the impression that you used the COM library? We have a COM library (that needs to be registered) that offer classic COM interop but we also have a Win32 library that offer a C calling interface. The API calls are slightly different since the different platforms allow for different calling conventions in terms of method arguments, so unfortunately the APIs are not entirely 1-to-1 (names should be pretty similar though). If you are indeed running the COM library, in order to view the COM API as installed, I recommend you run the registration command from the included readme.txt with the /tlb argument and then use oleview and open the tlb to see the raw interface (at least, that's what I typically do) Hope this help, at least in order to clear up confusions. Let me know if there are further issues. Soren EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
I am pretty sure I a m using the COM version - the code sample is from the TLB file (Typed Library File) created during registration. I can view the TLB via Delphi but crashes when I try to view using OLEVIEW (see attached doc) Appreciate the help btw I'm gradually coming back into the life of real technology after years stuck supporting/maintaining our legacy products (Paradox for DOS) Cheers JimS
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
Hi Jim Don't know if you are further on than this issue, just wanted to follow up on the OLEVIEW thing. I usually open OLEVIEW and select "View TypeLib" from the File menu which nicely exposes the available methods in recognizable format. Just for reference, I'm on Windows 7 and are using the oleview that comes from the Windows Kit v8 folder. Hope this helps Soren EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
On Friday when I tried to open te TypeLib in OLEVIEW I was getting errors - today it is working As I said previously the Add and Clear methods not implemented (see attached)
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
Hi Jim Just opened the tlb my self and verified the same thing. I was expecting that to be working. I'll get on it right away...stay tuned Cheers Soren EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
Hi Jim Just send you an updated version directly Hope it helps Soren EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
Thanks for the quick response - unfortunately attachment has been quarantined so I'll need to wait for out IT team to release it :-( Same with the downloads they had to be done by our IT team - waste of time.
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
Emailed you back direct - still same issue in 3.1.70
0
Guest
Top achievements
Rank 1
answered on 03 May 2013, 09:41 AM
Hi Jim You replied on email, let's just stay on email from know on, makes things a bit easier... Soren EQATEC Team
Tags
General discussion
Asked by
Guest
Top achievements
Rank 1
Answers by
Guest
Top achievements
Rank 1
Share this question
or