I agree, DotImage looks great, but unless I'm missing something ... I have to pay $499 for the most basic SDK, then another $329 to use it on a server ... which is $828 ... for 1 person ... as the cheapest option. And when I look in my pants pockets, I can't find $828 in them. Telerik and CodeJock already got it. The stuff that DotImage does though, I already have created, and have used for the last decade in MFC/C++ type code... including writing my own convolution filters, of different matrix sizes, by experimenting with Adobe Photoshop (as it has a feature to play around with that), etc. In any case, thanks for the link to pinvoke.net. I'll check it out. Although my most basic question is how to get from something like this: (WebSite)/App_Code/MyClass.cs
public class MyClass
{
public static void ProcessImage( String ImageFileName )
{
// I want to call a static linked VC6/MFC/C++ DLL here,
// named perhaps ImageProc.dll, located in the Bin directory,
// in a manner such as this:
//
// void ProcessImage( LPCSTR lpstrImageFileName );
}
}
And assuming ImageProc.dll exists as: (WebSite)/Bin/ImageProc.dll To do something that works. I assume there is some simple trick or technique for using P/Invoke to do this? Obviously there is going to be some sort of conversion problem between the C# String type and the Win32 LPCSTR type. Is there some sort of super easy bit of wisdom you can provide? And also, as to how I can call the function in the first place? If not, thank you. I will check out pinvoke.net further. Your help is appreciated greatly however. Regards.