From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Norlander To: Nirmal Prasad Cc: cygwin@sourceware.cygnus.com Subject: Re: DateTime Picker and MonthCal ctrl. under b20. Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: <36E61F42.5659B175@hem2.passagen.se> References: <001401be6a78$1472cc00$bf6f1e26@np_home_pc> X-SW-Source: 1999-03n/msg00314.html Message-ID: <19990331194500.Ggl646MqDuXhVAB3fsISLmtk53CFEneH2mvqOulu3X0@z> 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