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.