Thread overview
How to use MS Platform SDK
Sep 09, 2003
Roger Scudder
Re: How to use [...] sould be: commctrl extended styles
Sep 09, 2003
Roger Scudder
Sep 09, 2003
Walter
September 09, 2003
I want to use extended styles of common controls in my MFC apps.  The headers in the dm\include\win32 folder are rather dated and do not contain the extended style definitions.  I know they are defined in the Platform SDK.  I tried to add the path to the Platform SDK include and lib folders in the IIDE on the Settings...|Directories property sheet, but it seem that is not the correct solution to my problem.

How can I use the new common control features in my MFC apps using Digital Mars?


-Roger Scudder
September 09, 2003
In article <bjjntt$396$1@digitaldaemon.com>, Roger Scudder says...
>
>I want to use extended styles of common controls in my MFC apps.

I simply copied the macros for the ListView extended styles from the Platform SDK header file and pasted them into the x:\dm\include\commctrl.h and it works fine.

About using the Platform SDK:

I got an invalid lib file format error when I tried to use the Platform SDK libraries with the Digital Mars linker.  I am assuming that is because dmc doesn't support COFF.

Will I need to create a separate set of export libs for Digital Mars in order to use the Platform SDK?

-Roger Scudder
September 09, 2003
"Roger Scudder" <r.scudder@rcn.com> wrote in message news:bjkn20$1hq9$1@digitaldaemon.com...
> In article <bjjntt$396$1@digitaldaemon.com>, Roger Scudder says...
> >
> >I want to use extended styles of common controls in my MFC apps.
>
> I simply copied the macros for the ListView extended styles from the
Platform
> SDK header file and pasted them into the x:\dm\include\commctrl.h and it
works
> fine.
>
> About using the Platform SDK:
>
> I got an invalid lib file format error when I tried to use the Platform
SDK
> libraries with the Digital Mars linker.  I am assuming that is because dmc doesn't support COFF.
>
> Will I need to create a separate set of export libs for Digital Mars in
order to
> use the Platform SDK?

Yes. Usually running COFF2OMF on them will resolve the issue.