Solved

Trying to install skype4comlib_tlb.pas on delphi XE2 project

Posted on 2014-01-25
3
781 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

809 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