News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Rebar Common Control

Started by Robert, August 18, 2009, 09:26:08 AM

Previous topic - Next topic

Robert

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

#1
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

Robert

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