GDIPlus on CF 1

  • Thread starter Thread starter Hilton
  • Start date Start date
H

Hilton

Hi,

Alex Feinman wrote code to get GDI shading etc on a CF app. Unfortunately
(for me), it cannot be compiled for CF 1, no generics etc, (please correct
me if I'm wrong). I'd love to have this functionality without having to use
the latest Version 2 stuff since my app is written specifically to *not*
require users to installed CF 2. Is there any way to get this
compiling/running on CF 1 or are there other 'wrappers' out there?

I don't need all of GDI. Rectangle shading and line drawing would be a
great start.

BTW: I am planning on looking at the code and seeing how much of it I could
get working on CF 1, but if anyone can help in this regard, it would be
greatly appreciated.

Thanks,

Hilton
 
There are no magic bits that will allow newer C# code to compile against the
old framework. You'll have to go into the code and cut or replace what
isn't supported.
 
OK, Chris thanks, I'll look at doing that. I was hoping that there is/was a
Version 1 version of a GDI wrapper, but hopefully it won't be too difficult
to get shading and lines working. I started looking at changing the syntax,
but then it was using CF 2 class/structs...

Great article and code BTW.

Thanks,

Hilton
 
Back
Top