delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/07/01:51:59

From: mwood AT mhw DOT oit DOT iupui DOT edu (Mark H. Wood)
Subject: Trouble linking to CommandLineToArgvW()
7 Apr 1998 01:51:59 -0700 :
Message-ID: <Pine.LNX.3.91.980406172315.31924B-100000.cygnus.gnu-win32@mhw.OIT.IUPUI.EDU>
Mime-Version: 1.0
To: Gnu-Win32 list <gnu-win32 AT cygnus DOT com>

By grepping through nm output from all the libraries I finally found that
CommandLineToArgvW is defined in libshell32.a .  Fine -- I added -lshell32
to the end of the appropriate makefile line.  However, when I try to make
my application, ld complains that there is an undefined reference to 
CommandLineToArgvW !  Clues would be welcome.

-- 
Mark H. Wood, Lead System Programmer   mwood AT IUPUI DOT Edu
One more time:  a (level-2) switch is a bridge.  A "level-3 switch" is
a router.  Deal with it.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019