How to make a simple GUI in C # for DCRAW

I have a problem. I need to make a simple GUI in Visual Studio 2008 using C Sharp which uses Dave Coffins DCRAW written in C, but I don't know how to "hook up" dcraw.c (DCRAW source code) using Csharp ... UFRAW example GUI that dcraw uses, but I can't find it in source code. My application should be very simple: recognize a raw file on a digital camera or any disk and use one interpolation algorithm for that raw file.

+2


a source to share


1 answer


you have to compile c code into dll. this dll can be used via pinvoke from c #



you can also create a managed C ++ project and convert your c code to native C ++ code. in managed C ++, there is a very simple way to access native code.

+1


a source







All Articles