imorting dll's in max

geraldg@gmx.de's icon

Hi!

How can I communicate / load dll files into max? I have no idea... :-) Is this possible at all?

Thanx

Gerald

_j's icon

what sort of dll would one need to load? library dlls are placed in the maxmsp folder, if that helps.

Anthony Palomba's icon

You would have to write your own external, that would
load a dll and execute functions in it.

Anthony

----- Original Message -----
From: Gerald
Date: Tuesday, April 10, 2007 3:59 pm
Subject: [maxmsp] imorting dll's in max

>
> Hi!
>
> How can I communicate / load dll files into max? I have no idea...
> :-) Is this possible at all?
>
> Thanx
>
> Gerald
>

Owen Green's icon

Hi Gerald,

As far as I know, you would need to write a wrapper for the library as
an external.

--
Owen

Gerald wrote:
> Hi!
>
> How can I communicate / load dll files into max? I have no idea... :-) Is this possible at all?
>
> Thanx
>
> Gerald
>

f.e's icon
geraldg@gmx.de's icon

Hi,

yes I'm a Windows user, but I'm not interested to use VST-plugins!
I want to use the interface of the dll to control an external hardware via USB. So my question was, how to call the "routines" defined in this dll...?

Greets

Gerald

Roman Thilenius's icon

Quote: f.e wrote on Mon, 16 April 2007 01:45
----------------------------------------------------
> I think it's a Windows user wondering how to load VST plugins, am i wrong ?
>
> f.e

yeah but they all misunderstood the question by will because
it is more fun that way.

Roman Thilenius's icon

> yeah but they all misunderstood the question by will because
> it is more fun that way.
----------------------------------------------------

oh lol i should have finished reading the story to its end.

dll libraries can not be "loaded" with max unless you use
them in an [mxj] maybe.

Roman Thilenius's icon

Quote: Roman Thilenius wrote on Mon, 16 April 2007 04:39
----------------------------------------------------
>
> > yeah but they all misunderstood the question by will because
> > it is more fun that way.
> ----------------------------------------------------
>
>
> oh lol i should have finished reading the story to its end.
>
> dll libraries can not be "loaded" with max unless you use
> them in an [mxj] maybe.

btw there are some max objects which accesses a third party
device driver such as usb game controllers or the firewire
interface for kyma in the way you describe.

it is probably very simple and requires you to look into
the MAXMSP SDK and the description of the driver you want to
connect to - if the description it is available.

Owen Green's icon

Even then you'd need to make a C wrapper, so you may as well make an
external instead.

--
Owen

Roman Thilenius wrote:
> dll libraries can not be "loaded" with max unless you use
> them in an [mxj] maybe.