public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Anders Norlander <anorland@hem2.passagen.se>
To: Nirmal Prasad <nprasad@truept.com>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: DateTime Picker and MonthCal ctrl. under b20.
Date: Wed, 31 Mar 1999 19:45:00 -0000	[thread overview]
Message-ID: <36E61F42.5659B175@hem2.passagen.se> (raw)
Message-ID: <19990331194500.Ggl646MqDuXhVAB3fsISLmtk53CFEneH2mvqOulu3X0@z> (raw)
In-Reply-To: <001401be6a78$1472cc00$bf6f1e26@np_home_pc>

Nirmal Prasad wrote:
> 
> Hi there,
> 
> I happened to notice that there was no support for the Date-Time Picker and
> Month Control under gnu-win32 b20. Well i have put in the necessary message
> constants , macros and structures into the various files but i found that
> the CommonControl library (libComCtl32.a does not have an export called
> InitCommonControlsEx.) I have a comctl32.dll that has this exported function
> but my question is how was libcomctl32.a built. ( Pls. correct me if i am
> wrong .. i was looking for something like implib).  It will be great if
> someone could tell me how i could build a new libcomctl32.a

InitCommonControlsEx and related things are new features of the win32
gui
and they are not (as you've noticed) in any headers or import libraries.
Get the .def file for comctl32.dll (comtl32.def) and add the line:
InitCommonControlsEx@4

To build the library execute:
dlltool -k --output-lib libcomtl32.a --dllname comctl32.dll --def
comctl32.def

You also have to add the prototype for InitCommonControlsEx to
commctrl.h
(don't forget WINAPI). Could you send me your patches?

Get the def file from the mingw32 package
http://www.fu.is.saga-u.ac.jp/~colin/gcc.html
or from the GNU Windows32 library
or from the cygwin source distribution.

Anders

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


  reply	other threads:[~1999-03-31 19:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-09 13:57 Nirmal Prasad
1999-03-09 23:31 ` Anders Norlander [this message]
1999-03-31 19:45   ` Anders Norlander
1999-03-31 19:45 ` Nirmal Prasad
1999-03-10 17:36 Nirmal Prasad
1999-03-31 19:45 ` Nirmal Prasad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36E61F42.5659B175@hem2.passagen.se \
    --to=anorland@hem2.passagen.se \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=nprasad@truept.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).