Solved

Trying to install skype4comlib_tlb.pas on delphi XE2 project

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

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

Suggested Solutions

Title # Comments Views Activity
Delphi selector screen 2 92
LAN or WAN ? 11 106
how to resize animated Gif image in delphi ? 1 45
Multi-layered image in FireMonkey 9 68
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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