Solved

Trying to install skype4comlib_tlb.pas on delphi XE2 project

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now