Re: [Wengophone-devel] phapi and Java

2007-04-18 Thread Luigi Bancaro
2007 18:12 To: wengophone-devel@lists.openwengo.com Subject: Re: [Wengophone-devel] phapi and Java Thanks, but now I'm trying to use phapi... I'm not very skilled with C and C++... and I'm not able to load the library. If I write: HINSTANCE hDLL; // Handle to DLL hDLL = LoadLibrary

Re: [Wengophone-devel] phapi and Java

2007-04-18 Thread Luigi Bancaro
@lists.openwengo.com Subject: Re: [Wengophone-devel] phapi and Java Thanks, but now I'm trying to use phapi... I'm not very skilled with C and C++... and I'm not able to load the library. If I write: HINSTANCE hDLL; // Handle to DLL hDLL = LoadLibrary(...path to...\\phapi.dll); if (hDLL == 2

Re: [Wengophone-devel] phapi and Java

2007-04-18 Thread Mathieu Stute
On Wednesday 18 April 2007 17:14, Luigi Bancaro wrote: Hi, I have found my errors and now I'm able to call phapi.dll from my Java code. Is there a fixed sequence of phapi functions I must call to connect with my SIP account and start a video call? Thanks in advance. Luigi Bancaro Hi

[Wengophone-devel] phapi and Java

2007-04-17 Thread Luigi Bancaro
Hi All, I have to launch openwengo and start a videocall from a Java application. Is it possible using phapi.dll? Is there a way to establish a communication between my java code and openwengo? I know that I have to write the code to call C functions from Java, but how can I invoke phapi.dll?

Re: [Wengophone-devel] phapi and Java

2007-04-17 Thread Yannooo
Hi, To call C code from Java you need to use JNI (Java Native Interface). I think it might be pretty interesting to wrap the COIp library rather than phapi. Your program will be able to benefit from all the backend at the same time. Another interesting technology is Qt Jambi (currently in

RE: [Wengophone-devel] phapi and Java

2007-04-17 Thread Minh Phan
PROTECTED] On Behalf Of Luigi Bancaro Sent: mardi 17 avril 2007 18:12 To: wengophone-devel@lists.openwengo.com Subject: Re: [Wengophone-devel] phapi and Java Thanks, but now I'm trying to use phapi... I'm not very skilled with C and C++... and I'm not able to load the library. If I write

Re: [Wengophone-devel] phapi and Java

2007-04-17 Thread Luigi Bancaro
Thanks, but now I'm trying to use phapi... I'm not very skilled with C and C++... and I'm not able to load the library. If I write: HINSTANCE hDLL; // Handle to DLL hDLL = LoadLibrary(...path to...\\phapi.dll); if (hDLL == 2) printf(phapi.dll does not exist); else if