FLTK logo

RE: [fltk.general] Fl_Preferences instead of boost::interprocess

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

RE: Fl_Preferences instead of boost::interprocess "'Philip Rose' via fltk.general" Nov 22, 2021  
 

From: anmol....@gmail.com
Sent: 23 November 2021 03:32
To: fltk.general
Subject: Re: [fltk.general] Fl_Preferences instead of boost::interprocess

 


Only under WinXX. This thread explains the issue - https://stackoverflow.com/questions/19373061/what-happens-to-global-and-static-variables-in-a-shared-library-when-it-is-dynam

On Wednesday, November 17, 2021 at 10:28:28 PM UTC+5:30 Ian MacArthur wrote:

 

3. Just in case you plan to link FLTK to s dynamically linked library: You can not link FLTK statically multiple times in the same app. If you link FLTK (or any other library) dynamically once, you can't link it again statically.

 

Yes, I can't really see that working out -  This is under WinXX I think? Anyway, I think you'd need to build fltk as a DLL and use that, if there's a lot of other DLL's and they all want to interact with the fltk lib at runtime.

 

 

For what it’s worth, under Virtual Studio, I can only statically link any library into the final application. Although I access FLTK methods in my own library, they can only be linked when I bring all the .libs together in the application.

 

Phil.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/619c80e4.1c69fb81.1aa38.fafaSMTPIN_ADDED_BROKEN%40gmr-mx.google.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.