GDI +
-
GDI+ is available in .NET beta 1 and the downloadable GDI SDK (where did that link go...?). Info about it is all over the place, so post away! BTW - GDI+ is part of Visual Studio.NET (however loosely), so your articles will go into the competition (Mmmm...razor scooter... :)) cheers, Chris Maunder
OK - hopefully by the weekend I will have learned enough to write up something meaningful. It will be kinda ironic if I win the .Net competition though, doncha think ? :-D Christian I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in. The early bird may get the worm, but it's the second mouse that gets the cheese.
-
Hey Christian, I love GDI programming and have been itching to get started with GDI+ but haven't had the time. If you could write up some sample GDI+ articles for us all it would be way cool! AFAIK MS intends to have GDI+ running on all platforms back to Win95. Not sure if this is the still the case. (I remember hearing this at an early .NET talk so not sure on the current plan) cheers, Chris Maunder
> AFAIK MS intends to have GDI+ running on all platforms back to Win95. Please read the redistribution license. You are not allowed to distribute it on Windows 95. I immediately drop the use after spending a whole night to download the 580 MB+ Feb2001 SDK. I just love open-source :( Regards, Paul. Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for day job or programming contract anywhere!
-
> AFAIK MS intends to have GDI+ running on all platforms back to Win95. Please read the redistribution license. You are not allowed to distribute it on Windows 95. I immediately drop the use after spending a whole night to download the 580 MB+ Feb2001 SDK. I just love open-source :( Regards, Paul. Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for day job or programming contract anywhere!
He's right, you know. =========== Gdiplus.dll =========== For the Microsoft Operating System code named "Whistler," use the system-supplied gdiplus.dll. Do not install a new gdiplus.dll over the system-supplied version (it will fail due to Windows File Protection). For Windows 2000, Windows Millennium Edition, Windows NT 4.0 and Windows 98, install gdiplus.dll into the private directory of the application not into the system directory. In addition to the rights granted in Section 1 of the Agreement ("Agreement"), with respect to gdiplus.dll for Windows 2000, Windows Millennium Edition, Windows NT 4.0 and Windows 98, you have the following non-exclusive, royalty free rights subject to the Distribution Requirements detailed in Section 1 of the Agreement: (1) You may distribute gdiplus.dll solely for use with Windows 2000, Windows Millennium Edition, Windows NT 4.0 and Windows 98. Does this mean it won't work for W95, or just that I'll go to jail if I distribute software that runs on W95 with it ? Christian I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in. The early bird may get the worm, but it's the second mouse that gets the cheese.
-
He's right, you know. =========== Gdiplus.dll =========== For the Microsoft Operating System code named "Whistler," use the system-supplied gdiplus.dll. Do not install a new gdiplus.dll over the system-supplied version (it will fail due to Windows File Protection). For Windows 2000, Windows Millennium Edition, Windows NT 4.0 and Windows 98, install gdiplus.dll into the private directory of the application not into the system directory. In addition to the rights granted in Section 1 of the Agreement ("Agreement"), with respect to gdiplus.dll for Windows 2000, Windows Millennium Edition, Windows NT 4.0 and Windows 98, you have the following non-exclusive, royalty free rights subject to the Distribution Requirements detailed in Section 1 of the Agreement: (1) You may distribute gdiplus.dll solely for use with Windows 2000, Windows Millennium Edition, Windows NT 4.0 and Windows 98. Does this mean it won't work for W95, or just that I'll go to jail if I distribute software that runs on W95 with it ? Christian I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in. The early bird may get the worm, but it's the second mouse that gets the cheese.
Nice you got it! > Does this mean it won't work for W95, or just that I'll go to jail if I > distribute software that runs on W95 with it? I always read licence files before playing with MS stuff. Chris seems to be in MS good books, he might give some insight here. Otherwise, you will have to wait for the CodeProject Tour!!! Regards, Paul. Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for day job or programming contract anywhere!
-
Nice you got it! > Does this mean it won't work for W95, or just that I'll go to jail if I > distribute software that runs on W95 with it? I always read licence files before playing with MS stuff. Chris seems to be in MS good books, he might give some insight here. Otherwise, you will have to wait for the CodeProject Tour!!! Regards, Paul. Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for day job or programming contract anywhere!
I wish I had some insights - but I've no information on this. My guess is that it's not a matter of them saying 'Don't you dare install in on W95 or we'll do bad things to you', but more along the lines of 'It just ain't gonna work on W95, so please don't bother'. But Paul is right - come and join us at one of the 8 cities and ask the guys yourself! cheers, Chris Maunder
-
I wish I had some insights - but I've no information on this. My guess is that it's not a matter of them saying 'Don't you dare install in on W95 or we'll do bad things to you', but more along the lines of 'It just ain't gonna work on W95, so please don't bother'. But Paul is right - come and join us at one of the 8 cities and ask the guys yourself! cheers, Chris Maunder
Actually I took it to be more a reflection on the fact they no longer support W95, therefore they don't want to support GDI+ on W95. To enforce this, they do not allow us to distribute GDI+ to W95. I'd love to come and ask the guys myself - which of the shows is closest to Hobart ? Like within $50 worth of travel distance ? I had a look at the page - I hope they are asking if MFC is dead in order to say not yet ? I mean, they are extending it with .Net, so surely they intend to say it has more life in it ? ( I personally try not to use it anymore, and to use WTL instead, which of course is unsupported and therefore would not rate a mention ). Also, it would be hilarious if they announced MFC was dead, as those present glance down at their complimentary Dundas suite of MFC components... Damn - I wish I could be there, but Chris, would you really like to see someone asking people from M$ if C# is ported over from the J++ code ? ;P Hey, I could be a presenter, and you could fly me over. 'Why I'm not going to use C#". Any takers ? Christian I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in. The early bird may get the worm, but it's the second mouse that gets the cheese.
-
Actually I took it to be more a reflection on the fact they no longer support W95, therefore they don't want to support GDI+ on W95. To enforce this, they do not allow us to distribute GDI+ to W95. I'd love to come and ask the guys myself - which of the shows is closest to Hobart ? Like within $50 worth of travel distance ? I had a look at the page - I hope they are asking if MFC is dead in order to say not yet ? I mean, they are extending it with .Net, so surely they intend to say it has more life in it ? ( I personally try not to use it anymore, and to use WTL instead, which of course is unsupported and therefore would not rate a mention ). Also, it would be hilarious if they announced MFC was dead, as those present glance down at their complimentary Dundas suite of MFC components... Damn - I wish I could be there, but Chris, would you really like to see someone asking people from M$ if C# is ported over from the J++ code ? ;P Hey, I could be a presenter, and you could fly me over. 'Why I'm not going to use C#". Any takers ? Christian I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in. The early bird may get the worm, but it's the second mouse that gets the cheese.
Christian, I would *love* to have you there - especially for all the entertaining questions you would ask the MS guys! (for the record, MFC is certainly not dead :)) cheers, Chris Maunder
-
Hey Christian, I love GDI programming and have been itching to get started with GDI+ but haven't had the time. If you could write up some sample GDI+ articles for us all it would be way cool! AFAIK MS intends to have GDI+ running on all platforms back to Win95. Not sure if this is the still the case. (I remember hearing this at an early .NET talk so not sure on the current plan) cheers, Chris Maunder
Chris Since stimbling on GDI++ a month ago, I am seriously contemplating using it in some of our commercial software. I too do a lot of GUI work and this kindof stuff has been long awaited. So far I have have only tried it on Win2K, whats the target platform compatibility - ignoring Microsofts suggestion for XP. Oh is it possible to 'pull some strings' with some of your contacts at Microsoft to see if the GDIPlus.dll will run on Win NT and Win2000 (with problems), if I meet upto with you and the tour and I'll buy ya a couple of cold ones. Rgrds Norm
-
Is anyone else here playing with GDI+ ? As some of you may know, my main project is a paint program, so I've started converting all the drawing tools to use GDI+. I wondered how other people are finding it and also specifically if anyone else noticed the presence of a flood fill, and of rounded rectancles, because I can't find either. I recently wrote my own fill routine, but I wondered if GDI+ had addressed the deficiencies of the GDI one ( no allowance for tolerance on the colour being filled, no way of knowing the area covered by the call ), and the rounded rect is a problem as I previously offered one. I *know* I can mix GDI calls, but I want to use GDI+ exclusively, as the point is for me to learn it. I also know I can round the corners of a rect, but I don't see a way to specify by how much. So some specific questions, but I also hoped to discuss generally what people thought of it, hence my posting here. I like it a lot - the ability to specify alpha is just great, although now I need to do some fiddly stuff to blend this idea with the alpha masks I generate for layers. Tonight I intend to make my shapes texture with a bitmap, which will be another cool thing I would have had to eventually write myself otherwise. Finally, is anyone running it on W95 ? The docs say everything needs Whistler - do we know if this means reverse functionality will be cut out, or will we be able to distribute the dll ? Christian I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in. The early bird may get the worm, but it's the second mouse that gets the cheese.
Win98/ME are the only 9x platforms supported. Win95 isn't supported by GDI+. This was a technical and resource based decision. We have so many platform combinations to test on that adding another set dramatically increases the Development/Testing burden. That said, you could try and see if it'll work for your application, it might work. I don't think any platform checks exist in the GDI+ code (but I could be wrong about that). Microsoft won't lobby for your imprisonment for such activities...;) We don't support, and wouldn't service pack, any issues resulting on Win95 only for this DLL. That is the main thing to take away from the license agreement. The other very important thing is to make sure you're installing it into your apps directory. In general, Microsoft is going to try and restrict the DLL's (including our own) that get installed into the \system directories...it just causes too many versioning problems. Later, Walter Sullivan Lead Program Manager, ATL/MFC
-
Chris Since stimbling on GDI++ a month ago, I am seriously contemplating using it in some of our commercial software. I too do a lot of GUI work and this kindof stuff has been long awaited. So far I have have only tried it on Win2K, whats the target platform compatibility - ignoring Microsofts suggestion for XP. Oh is it possible to 'pull some strings' with some of your contacts at Microsoft to see if the GDIPlus.dll will run on Win NT and Win2000 (with problems), if I meet upto with you and the tour and I'll buy ya a couple of cold ones. Rgrds Norm
It'll run fine on other platforms except Windows 95. That is the only platform that has been dropped for the release of GDI+ (well, and NT 3.x as well). Walter Sullivan Lead Program Manager, ATL/MFC
-
Win98/ME are the only 9x platforms supported. Win95 isn't supported by GDI+. This was a technical and resource based decision. We have so many platform combinations to test on that adding another set dramatically increases the Development/Testing burden. That said, you could try and see if it'll work for your application, it might work. I don't think any platform checks exist in the GDI+ code (but I could be wrong about that). Microsoft won't lobby for your imprisonment for such activities...;) We don't support, and wouldn't service pack, any issues resulting on Win95 only for this DLL. That is the main thing to take away from the license agreement. The other very important thing is to make sure you're installing it into your apps directory. In general, Microsoft is going to try and restrict the DLL's (including our own) that get installed into the \system directories...it just causes too many versioning problems. Later, Walter Sullivan Lead Program Manager, ATL/MFC
Thanks for this - it's pretty much as I expected, that the issue is one of complexity, and the age of Win95, which I am lead to believe is generally not 'supported' by M$ anymore. I've been pushing for dropping W95 support for a while, but I see our dilema - so many people are still running it. Maybe this will push us over the edge... Christian I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in. The early bird may get the worm, but it's the second mouse that gets the cheese.
-
It'll run fine on other platforms except Windows 95. That is the only platform that has been dropped for the release of GDI+ (well, and NT 3.x as well). Walter Sullivan Lead Program Manager, ATL/MFC
WHAT? No NT 3.X??? Next you'll be telling us you've dropped support for Win3X too. Shame! cheers, Chris Maunder