Quantcast

Erlang Win32com

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Erlang Win32com

Michael Mackus
Is there a way to access win32com using erlang?

For instance, in python, there's the "win32com" module.

If you don't understand, I need a way to access functions in a windows DLL
from erlang. This is for a bot project I'm doing if you are curious, seems
like it'll get my feet wet with using Erlang.
Zvi
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Erlang Win32com

Zvi
Hi,

There was old experimental COM binding for Erlang [1]. I think it's
not supported anymore and removed from OTP distribution. I had idea to
run it in old Erlang Win32 node.
I didn't used it in the end - end up writing port in VBScript.

[1] COMET - an Erlang-to-COM driver
ftp.sunet.se/pub/lang/erlang/euc/00/Comet.ppt

Zvi


On Mar 2, 12:46 am, Michael Mackus <[hidden email]> wrote:
> Is there a way to access win32com using erlang?
>
> For instance, in python, there's the "win32com" module.
>
> If you don't understand, I need a way to access functions in a windows DLL
> from erlang. This is for a bot project I'm doing if you are curious, seems
> like it'll get my feet wet with using Erlang.

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Erlang Win32com

Tim Watson-5
On 9 March 2011 18:24, Zvi <[hidden email]> wrote:
> [1] COMET - an Erlang-to-COM driver
> ftp.sunet.se/pub/lang/erlang/euc/00/Comet.ppt
>

Never seen that one before - interesting.

> On Mar 2, 12:46 am, Michael Mackus <[hidden email]> wrote:
>> Is there a way to access win32com using erlang?

Is it win32 or COM that you want? Do you just want to access win32 DLL
with appropriate calling conventions and so on (in which case a NIF or
linked-in driver would probably do it, along with a LoadLibrary system
call) or do you actually want to create COM objects and use COM
interfaces and such like?

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Loading...