[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Trying to install skype4comlib_tlb.pas on delphi XE2 project

Posted on 2014-01-25
3
Medium Priority
?
874 Views
Last Modified: 2014-01-26
Hello experts,

I am trying to install skype4comlib in my Delphi XE2 project. I used Component -> Import Component...

The result is I get a skype4comlib_tlb.pas in my project.

Great. it seems straight forward. Only, when I compile my project, I get:

[DCC Error] OMSAT.dpr(21): E2018 Record, object or class type required

on application.initialize and the rest of application.something ...

If I remove the skype4comlib from my project. All is good.

I realize that I am not that strong a programmer and I have been trying to find an answer to this for the last 4 hours.

Same thing happens if I start a new project.

Note that my "target platform" is 64-bit windows
Also (not that its relevant) I have no problem with SkypeDialogLib_tlb.pas so its definately something XE2 does not like in skype4comlib_tlb.

Thanks for your help.
0
Comment
Question by:etiennedemers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:rinfo
ID: 39809856
At the outset it seems simple enough
The compiler was expecting to find the type name which specified a record, object or class but did not find one.
And to find out whats missing you need to provide codes used by you.
0
 
LVL 9

Accepted Solution

by:
rinfo earned 2000 total points
ID: 39809877
Download this.
It implements skype com lib though for a different purchase.
I have tested compiling and running and its done ok.
Maybe you can use tlb with this application and try it.
http://programmersclub.ru/wp-content/uploads/files/15c.zip
0
 

Author Closing Comment

by:etiennedemers
ID: 39809913
Thanks for the link I will give it a shot later.

I decided to solve my problem with a shell execute instead. Less of a headache...

For those interested:

          s := 'callto://1234567' ;
          ShellExecute(0, 0, pChar(s), 0, 0, SW_SHOWNORMAL);
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question