shellapi.h problems in beta 20.1

William D Kirby wdkirby@ix.netcom.com
Tue Dec 15 08:36:00 GMT 1998


I found that the inclusion of shellapi.h with windows.h causes a number
of warnings and errors. One parse error concerning the use of POINT is
fixed by the following. Most remaining errors are conflicting types.
This is with the -mno-cygwin compiler option.

----------------------------- diff --------------
*** shellapi.h.org Tue Dec 15 06:02:43 1998
--- shellapi.h Tue Dec 15 06:07:39 1998
***************
*** 127,133 ****

  unsigned int WINAPI DragQueryFileW (HDROP, unsigned int, wchar_t *,
unsigned int);
  unsigned int WINAPI DragQueryFileA (HDROP, unsigned int, char *,
unsigned int);
! BOOL WINAPI DragQueryPoint (HDROP, POint *);
  void WINAPI DragFinish (HDROP);
  void WINAPI DragAcceptFiles (HWND, BOOL);
  HICON WINAPI DuplicateIcon (HINSTANCE, HICON );
--- 127,133 ----

  unsigned int WINAPI DragQueryFileW (HDROP, unsigned int, wchar_t *,
unsigned int);
  unsigned int WINAPI DragQueryFileA (HDROP, unsigned int, char *,
unsigned int);
! BOOL WINAPI DragQueryPoint (HDROP, POINT *);
  void WINAPI DragFinish (HDROP);
  void WINAPI DragAcceptFiles (HWND, BOOL);
  HICON WINAPI DuplicateIcon (HINSTANCE, HICON );
---------------------- end diff
-----------------------------------------

--
William D. Kirby             Voice: (703) 273-0005
Consultant                   Email: wdkirby@ix.netcom.com
3527 Cornell Road
Fairfax, VA 22030-1813

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list