GDIPlus on CF 1

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
 
G

Guest

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.
 
H

Hilton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top