Hi guys and thanks for the responses. I'm in a bit of a muddle here now. I was trying to get

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

to work in .NET 2.0. It seems I completely didn't understand what I was attempting in the first place.

:-D :-D :-D       [smacks self in forehead]

Eric: Actually it seems that no such function exists like the exception said - probably because I'm using the wrong DLL. :-) So is there a way to get the compiler to make the binding and find these errors (is this faster/better/more portable?), or is that what we are doing already and its just .NET/DLL weirdness to get a runtime error if you stuff up? Also, I'm still having issues building PA, now with ASIO support. But that is totally non-mission-critical (I just keep lowering the mission goals). :-)

PM Guys: Am I correct in believing that the PM project as it stands only builds one DLL, and this DLL is not the one for accessing MIDI? If so, how do I make the portmidi.lib into a portmidi.dll, or part of pm_dll.dll? Sorry, I know this is a total newbie question in the C++ world, but when I switch the output type of the portmidi project nothing in the whole solution builds right - and no DLL. :-(

... and so many more questions. Believe me, I really do try to Google and search old posts for this stuff for myself - but what to search for? :-S

Thanks again everyone for your help and patience, and I promise to stop cross-posting once I work out what I'm talking about with whom. :-)

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