Hi everyone.

Does anyone have or know of a C# wrapper for the pm_dll DLL? I have a wrapper for PortAudio which I've tried to mimic, but this seems to be failing ("Entry point Initialize() not found."). What I have going is this:

        [DllImport("pm_dll.dll")]
        public static extern void Initialize();

What is more concerning to me is that this is a *runtime* error. I seem to be attempting to bind to a DLL found in the directory at runtime. I had no idea I was doing this for PortAudio either.

I've read some stuff saying that if I'm compiling my DLLs with Visual Studio I need only add them as a reference in order to get it to go, but this tells me the DLL is not a valid assembly (as I would expect for unmanaged C++ output).

This is basically where I get stuck each time I attempt something like this. I have no idea what I'm doing or what direction to take. Could I for instance compile a managed version of PortMIDI?

Thanks again,
Aaron.
---------------------------------------------------------------------------------
Aaron Oxford   -   aaron+hardwarehookups .com .au
Director, Innovative Computer Solutions (Aust) Pty. Ltd.
49 Maitland Rd, Mayfield, NSW 2304 Australia
http://www.ic-solutions.com.au
Developer, SourceForge project VioLet Composer
http://sourceforge.net/projects/buzz-like

_______________________________________________
media_api mailing list
[email protected]
http://www.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to