Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #89486

Re: Link at runtime instead of build-time

From Muttley@dastardlyhq.com
Newsgroups comp.lang.c++
Subject Re: Link at runtime instead of build-time
Date 2023-03-06 17:14 +0000
Organization A noiseless patient Spider
Message-ID <tu571n$8fl$1@dont-email.me> (permalink)
References <6e54715f-9094-46c2-94ec-82aa9d7eaccdn@googlegroups.com> <tu2m2g$1ddsn$1@dont-email.me> <bd9d76af-a28d-4c27-9b1b-4246cc25a8e4n@googlegroups.com> <tu4u9t$1n67n$1@dont-email.me>

Show all headers | View raw


On Mon, 6 Mar 2023 15:45:17 +0100
"Alf P. Steinbach" <alf.p.steinbach@gmail.com> wrote:
>On 2023-03-05 8:11 PM, Frederick Virchanza Gotham wrote:
>> 
>>> As always, I'm questioning this NEED.
>> 
>> 
>> I'm combining a console program and a GUI program into one program
>> (i.e. one executable).
>> 
>> Depending upon the command-line arguments to the program, it might
>> enter into GUI mode, and if it does, it needs to load the GUI
>> libraries.
>> 
>> But if it runs in console mode, I don't want the system to need to
>> have the Gui libraries installed.
>
>[C:\Users\Alf P. Steinbach\Desktop]
> > where devenv
>C:\Program Files\Microsoft Visual 
>Studio\2022\Community\Common7\IDE\devenv.com
>C:\Program Files\Microsoft Visual 
>Studio\2022\Community\Common7\IDE\devenv.exe
>
>
>Guess which one has console subsystem and which has GUI subsystem?
>
>Well, not that hard to guess, because invoked by command should choose 
>the console subsystem one:

Use a version of *nix. It doesn't have this cretinous differentiation between 
a console or GUI program. They're just programs.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Link at runtime instead of build-time Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-03-05 09:59 -0800
  Re: Link at runtime instead of build-time Christian Gollwitzer <auriocus@gmx.de> - 2023-03-05 19:12 +0100
    Re: Link at runtime instead of build-time Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-03-05 11:11 -0800
      Re: Link at runtime instead of build-time Christian Gollwitzer <auriocus@gmx.de> - 2023-03-05 22:45 +0100
        Re: Link at runtime instead of build-time Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-03-05 16:10 -0800
          Re: Link at runtime instead of build-time Christian Gollwitzer <auriocus@gmx.de> - 2023-03-06 09:29 +0100
            Re: Link at runtime instead of build-time Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-03-06 02:37 -0800
      Re: Link at runtime instead of build-time "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2023-03-06 15:45 +0100
        Re: Link at runtime instead of build-time Muttley@dastardlyhq.com - 2023-03-06 17:14 +0000
          Re: Link at runtime instead of build-time Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-03-06 13:41 -0800
            Re: Link at runtime instead of build-time gazelle@shell.xmission.com (Kenny McCormack) - 2023-03-06 22:20 +0000
            Re: Link at runtime instead of build-time Christian Gollwitzer <auriocus@gmx.de> - 2023-03-06 23:58 +0100

csiph-web