Help - Search - Members - Calendar
Full Version: Does any one have experince to implement 'hold' function in BCB6?
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
waynejih
Does any one have experince to implement 'hold' function in BCB6?

I tried to load skype dll as ActiveX component in BCB.
When I use following method,
Skype1->Call->Hold();
I got the error
[C++ Error] Unit1.cpp(351): E2193 Too few parameters in call to '_fastcall TSkype::get_Call(long)'

Does any body know what's going on?
Thanks in advance.
Wayne
waynejih
Ok! It seems not many developer have experience for Borland C++.
I could offer my experience here and hope someone could tell me what's going on?

Actually, I load Skype4com.dll from Project/Import Type Library; thus, we can
get more control icons in ActiveX page. You would like to use Skype1 to control
Skype. It is easy for you to connect Skype client as:

Skype1->Attach(5, false);
Skype1->Client->Start(true, false);

However, I also got Problems
Take Conference1 for example, I can compile 'Conference1->Hold();' ok, but
it seems Skype1->Conference->Hold() woudl be error with
E2193 Too few parameters in call to '_fastcall TSkype::get_Call(long)'.
Moreover, Conference1->Hold(); is no function for it.

Except I said, I think using Skype Activex component is better than using
SendMessage or PostMessage.
waynejih
Skype1->Call[0]->Answer();

I forget there still need have a Call[long Id]={ read=get_Call }, so it can compile right now.
However, there is no function about it.
I also try
Skype1->Call[0]->Answer();
Skype1->Call[1]->Answer();
Skype1->Call[NULL]->Answer();
, but still no function.

Does anybody can tell me meaning of value in []?
Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.