[pjsip] Python and ActiveX

Shayne O'Neill shayne.oneill at gmail.com
Mon Aug 17 10:49:42 EDT 2009


Well if you havent done it before, its not entirely straight forward,  
but its not too hard either.

http://support.microsoft.com/kb/106553

Declare Sub <function name> Lib "<dll location>" (params)

essentially will bring them in. A full explaination of how this works  
probably isn't appropriate for this list , but you should perhaps find  
a VB6 discussion channel on IRC and ask if someone could help you out.  
I don't have a windows box (mac user), so I cant help you any more  
than point you in that direction.

There are dot net wrappers on the net. I strongly advise you hunt for  
those on google and use them. VB6 is a bit old fashion anyway ;)

On 17/08/2009, at 9:56 PM, Meftah Tayeb wrote:

> hello,
> i can't wrap the DLL sing VB6 :D
> how to wrap it?
> unfortunatly i'm using delphi no vb.Net but delphi don't work wel  
> with .Net assembly
> thanks
> Shayne O'Neill wrote:
>>
>> I'm utterly certain your not going to be able to generate an  
>> ActiveX control in python. Its an interpreted language , and whilst  
>> Py2EXE can wrap python
>> in an executable, but I'm fairly certain it won't generate an  
>> embeddable ActiveX control.
>>
>> Your option for VB6 will be to wrap the DLL's , most probably the  
>> easy to use PJSUA interface, in a VB6 externals wrapper. This will  
>> be your most likely path for getting an active X control out of it.
>>
>> However if you really do want to use Python and ActiveX, a more  
>> long winded solution would be to use the dot net wrapper (Its on  
>> google, look for it!) and then use Iron Python to script it. How to  
>> generate an Active X control embedding iron python and the wrapped  
>> PJSIP however will be an exercise you'll have to investigate  
>> yourself.
>>
>> Shayne.
>>
>> On 17/08/2009, at 3:25 PM, P.Muge Ersoy wrote:
>>
>>> Hi Meftah;
>>>
>>> Actually Benny told it one of mails.. I couldnt find any way yet..  
>>> but still looking for it.
>>>
>>> Where are you Benny ? :) just drop a line about the begining or a  
>>> clue ?
>>>
>>> Regards
>>> Muge
>>>
>>>
>>>
>>> On Sat, Aug 15, 2009 at 9:54 PM, Meftah Tayeb <tayeb.meftah at gmail.com 
>>> > wrote:
>>> hello
>>> i think there it a .Net  assembly wrapping Pjsip if you want to  
>>> develope in .net
>>> you can use it in vb6 if you generate a type library for it
>>> if you found a method to generate ActiveX using python please let  
>>> me know
>>> thanks,
>>> meftah tayeb
>>> P.Muge Ersoy wrote:
>>> Hi;
>>>
>>> It says
>>> This would open possibility to write SIP User Agents in Visual  
>>> Basic (VB) or C# .NET. Once we had an experimental ActiveX  
>>> component for pjsua-lib, but the development has been cancelled in  
>>> favor of Python (which can generate ActiveX too!).
>>>
>>> Is there any documentation or would you mind to show any pointer  
>>> to do this ?
>>>
>>> Regards
>>> Muge
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>>
>>> pjsip mailing list
>>> pjsip at lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>
>>>
>>>
>>> __________ Information from ESET NOD32 Antivirus, version of virus  
>>> signature database 4337 (20090815) __________
>>>
>>> The message was checked by ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>>
>>>
>>>
>>> __________ Information from ESET NOD32 Antivirus, version of virus  
>>> signature database 4337 (20090815) __________
>>>
>>> The message was checked by ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>>
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>>
>>> pjsip mailing list
>>> pjsip at lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>>
>>> pjsip mailing list
>>> pjsip at lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>> ===================================
>> Shayne O'Neill Development
>> Mobile, Web and Business process integration.
>> shayne.oneill at gmail.com 0400247091
>> Ask me about how Alfresco can help your business grow.
>>
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus  
>> signature database 4341 (20090817) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus  
> signature database 4341 (20090817) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

===================================
Shayne O'Neill Development
Mobile, Web and Business process integration.
shayne.oneill at gmail.com 0400247091
Ask me about how Alfresco can help your business grow.





More information about the pjsip mailing list