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


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

Re: Anything new on run-time libraries loading?

From "Waldek M." <wm@localhost.localdomain>
Newsgroups comp.lang.c++
Subject Re: Anything new on run-time libraries loading?
Date 2011-11-03 21:06 +0100
Organization Mojito.pl
Message-ID <1dowqev7b14fj.dlg@localhost.localdomain> (permalink)
References <2u8yuf1f8xnx$.dlg@localhost.localdomain> <Xns9F90EFDA58424myfirstnameosapriee@216.196.109.131> <j8r0rb$mqa$1@node2.news.atman.pl> <Xns9F92852623Fmyfirstnameosapriee@216.196.109.131>

Show all headers | View raw


On Wed, 02 Nov 2011 17:03:04 -0500, Paavo Helde wrote:
>> Why would you use nm? Why not make an extern C factory method
>> returning an object with virtual methods you can call (same example)?
> 
> The OP did not like extern "C" for some reason. I just clarified it is 
> technically possible to avoid it (though most probably not wise). 

Actually, that wasn't exactly what I wrote :-) even though it's close.
Yes, I do not like that in order to load C++ library from a C++
executable, I need to provide a C interface on one side and use it on the
other one.
Yet, I'm just asking if there is a better way with the - I definitely 
wouldn't like to hack and depend on some particular version
of particular compiler... 

Thanks anyway.

Waldek

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


Thread

Anything new on run-time libraries loading? "Waldek M." <wm@localhost.localdomain> - 2011-10-31 18:54 +0100
  Re: Anything new on run-time libraries loading? Goran <goran.pusic@gmail.com> - 2011-10-31 12:34 -0700
    Re: Anything new on run-time libraries loading? legalize+jeeves@mail.xmission.com (Richard) - 2011-11-01 05:28 +0000
      Re: Anything new on run-time libraries loading? Ian Collins <ian-news@hotmail.com> - 2011-11-01 19:49 +1300
      Re: Anything new on run-time libraries loading? Dombo <dombo@disposable.invalid> - 2011-11-01 20:30 +0100
        Re: Anything new on run-time libraries loading? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-11-02 06:08 +0000
          Re: Anything new on run-time libraries loading? Edek <edek.pienkowski@gmail.com> - 2011-11-02 10:03 +0100
            Re: Anything new on run-time libraries loading? Dombo <dombo@disposable.invalid> - 2011-11-02 19:38 +0100
            Re: Anything new on run-time libraries loading? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-11-03 18:26 +0000
              Re: Anything new on run-time libraries loading? Edek <edek.pienkowski@gmail.com> - 2011-11-03 20:07 +0100
    Re: Anything new on run-time libraries loading? "Waldek M." <wm@localhost.localdomain> - 2011-11-01 08:28 +0100
    Re: Anything new on run-time libraries loading? Edek <edek.pienkowski@gmail.com> - 2011-11-01 11:28 +0100
  Re: Anything new on run-time libraries loading? Paavo Helde <myfirstname@osa.pri.ee> - 2011-11-01 16:34 -0500
    Re: Anything new on run-time libraries loading? Edek <edek.pienkowski@gmail.com> - 2011-11-02 10:01 +0100
      Re: Anything new on run-time libraries loading? Paavo Helde <myfirstname@osa.pri.ee> - 2011-11-02 17:03 -0500
        Re: Anything new on run-time libraries loading? Edek <edek.pienkowski@gmail.com> - 2011-11-03 20:40 +0100
        Re: Anything new on run-time libraries loading? "Waldek M." <wm@localhost.localdomain> - 2011-11-03 21:06 +0100

csiph-web