Docklet Compile Help

Hi,

I'm trying to compile the waether docklet from the SDK to make it worlwide, but when I'm trying to compile it says that it can't find the file "Gdiplus.h", even when I manualy add it to the project.

does any of you know why?

Please help...

#50470

Can't remember who, but someone released an international weather docklet for OD before you, just search the forum and ask him....

#50500

Originally posted by Echro@Aug 26 2003, 11:40 AM

Can't remember who, but someone released an international weather docklet for OD before you, just search the forum and ask him....

true, it was richynorth, but his is based on uk.weather.com, and I want to make one based on the international section of www.weather.com

#50503

Hi xTc,

I had the same problem the first time I tried to compile - you probably need to have the MS Platform SDK installed and check that gdiplus.lib is added to the project dependencies too.

If I remember correctly, the platform SDK will install all the .h files you need into the visual c/include folder, but if it doesn't you'll need to copy them into there manually.

Another problem I encountered a little bit further down the line is a glitch (apparently in gdiplus.h!) which will cause compile errors in gdiplus.h. To fix this, add these lines to gdiplus.h near the beginning:

#ifndef ULONG_PTR

#define ULONG_PTR unsigned long *

#endif

This should sort you out! Good luck with the rest of the docklet.

Rich

(Platform SDK is at http://www.microsoft.com/msdownload/platfo...msdk/sdkupdate/ , you'll need the Core SDK, but it is pretty darn big!!)

#50603

Originally posted by xTc@Aug 26 2003, 11:43 AM

true, it was richynorth, but his is based on uk.weather.com, and I want to make one based on the international section of www.weather.com

Woah! Are you gonna do a weather docklet for the whole world? that's great! thank you in advance!

#50668