NO

Author Topic: Rebar Common Control  (Read 2863 times)

Offline Robert

  • Member
  • *
  • Posts: 245
Rebar Common Control
« on: August 18, 2009, 09:26:08 AM »
I have been trying to get the rebar example from John Findlay's site at

http://www.johnfindlay.plus.com/lcc-win32/comctrl/ReBar.zip

to compile correctly with Pelle's C 6.0.

The .exe produced does not display the expected rebar. The example does display the expected rebar when compiled with other compilers.

I would appreciate it if anyone else can verify the problem.

Thank you

Robert Wishlaw

JohnF

  • Guest
Re: Rebar Common Control
« Reply #1 on: August 18, 2009, 10:40:56 AM »
Put

#define _WIN32_WINNT 0x0500

before including windows.h

EDIT: I've added that ZIP to the PellesC Common Controls Section.

http://www.johnfindlay.plus.com/pellesc/comctrls/comctrls.html

John
« Last Edit: August 18, 2009, 10:48:31 AM by JohnF »

Offline Robert

  • Member
  • *
  • Posts: 245
Re: Rebar Common Control
« Reply #2 on: August 18, 2009, 08:44:52 PM »
Thank you John. It now works as expected.

I had read your advice in one of your previous posts but when I typed in the line my fumble fingers omitted the prepended underscore.

I do appreciate your website and examples. Thank you again.

Robert wishlaw