Solved

Trying to install skype4comlib_tlb.pas on delphi XE2 project

Posted on 2014-01-25
3
787 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
  • 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 500 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Jpg /PNG To GIF 5 151
Virtuailstring tree compare node issue 14 125
TServerSocket - file via sendbuf or Text via sendtext ? 1 65
scroll down TListBox component in Delphi 1 19
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…

829 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