I will try to import the library functions for Windows 7.
I would simply write the code that allows me to have a progress bar in the taskbar icon through Windows SDK.
This guide explains something.
http://www.codeproject.com/Articles/80082/Windows-7-How-to-display-progress-bar-on-taskbar-i.aspxI downloaded the Windows SDK, I installed the libraries.
I load the libraries with C::B in this way:
Project->Build Options->Search Directories->Compiler->Add->%SDK_INCLUDE_DIR%
But when I compile a Hello World test, I take this error:
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\specstrings.h|11|error: sal.h: No such file or directory|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winnt.h|851|error: #error Must define a target architecture.|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winnt.h|1202|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winnt.h|12880|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winnt.h|13305|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winbase.h|2936|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winbase.h|2939|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winbase.h|2942|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winbase.h|3054|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winbase.h|3057|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
..\..\..\..\..\..\Program Files\Microsoft SDKs\Windows\v7.1\Include\winbase.h|3060|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
etc...
How can I do? How can I use the Windows SDK with C::B?