www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - How to use MS Platform SDK

↑ ↓ ← Roger Scudder<r.scudder rcn.com> writes:
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
Sep 08 2003
↑ ↓ Roger Scudder<r.scudder rcn.com> writes:
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
Sep 09 2003
↑ ↓ → "Walter" <walter digitalmars.com> writes:
"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

 SDK header file and pasted them into the x:\dm\include\commctrl.h and it

 fine.

 About using the Platform SDK:

 I got an invalid lib file format error when I tried to use the Platform

 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

 use the Platform SDK?

Yes. Usually running COFF2OMF on them will resolve the issue.
Sep 09 2003