RE: Using _ISource30.dll from C#.NET
here is something one user sent us. because we didn't write it, we won't be able to provide any support for it. it's old, so many newer functions won't be declared. but you should be able to figure out how to do handle anything that's missing by looking at what he's done. again, we can't provide any support for this, but thought we'd just share it .
here's what he told us about it:
[ul]The .NET solution is zipped up and attached. It includes two projects compiled against v1.1 of the framework: "IS3" (the ImgSource wrappers) and "Tester" (the testing application). The IS3 project compiles as a class library (public externs for each ImgSource function), which is referenced by the "Tester " application. I've only tested maybe 30-40% of the wrapper functions, so there's bound to be errors, memory leaks, etc. I also have some concerns about marshaling BITMAPINFOHEADERs with DIBs in managed code, and the tiff tag methods are a little shaky.
Otherwise, everything seems to work as expected.
Take a look at the XML comments from the IS3 methods. I've reproduced most of your header comments to make intellisense coding easy as well as to keep all of the .NET-specific comments in one place. If you don't like the comments or anything else included here, feel free to scrap it or modify it any way you like.
I've also included a little readme file that explains some of the required .NET marshaling techniques (and to explain that people can't just distribute the IS3 dll as a stand alone). Neither project includes my reg. code.
Thanks for all your good work and let me know if you have any trouble.
[/ul]
http://www.smalleranimals.com/zips/is3_csharp.zip
-c
--
chris losinger
smallest@smalleranimals.com
Chris Losinger
Smaller Animals Software, Inc