473,386 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Library conflict, shared memory

Hi

I use a library called system-c i a project that likes to be compiled
single-threaded and I would like to add shared memory capability. I found
some nice code that works fine but only if compiled in multi-threaded dll
mode.
If I change the compile mode of any of these projects I get library
conflicts. Does anyone have experience with this kind of mixing of
libraries? How do I incorporate both projects? Is it possible at all or
should I take another approach?

Alternatively; does anyone know how to program simple, inter process shared
memory without using threads and mutexes and such?

Thanx a lot!
//Firas

Jul 22 '05 #1
2 1763

"news.dd.chalmers.se" <d9******@dtek.chalmers.se> wrote in message
news:c1**********@eol.dd.chalmers.se...
Hi

I use a library called system-c i a project that likes to be compiled
single-threaded and I would like to add shared memory capability. I found
some nice code that works fine but only if compiled in multi-threaded dll
mode.
If I change the compile mode of any of these projects I get library
conflicts. Does anyone have experience with this kind of mixing of
libraries? How do I incorporate both projects? Is it possible at all or
should I take another approach?

Alternatively; does anyone know how to program simple, inter process shared memory without using threads and mutexes and such?

Thanx a lot!


None of 'threading', 'shared memory', 'DLL', 'project', 'inter-process',
'mutex', or third-party libraries are topical here, as they're not part of
ISO standard C++.

Try asking about this in places where your operating system and/or
compiler and/or your 'system-c' library are topical. See www.usenet.org
and/or www.groups.google.com to locate newsgroups about particular topics.
Your OS/compiler/library vendors also might have support resources on
the web.

Purpose of comp.lang.c++:
http://www.slack.net/~shiva/welcome.txt
Please read this before posting here again.
Thank you.

-Mike
Jul 22 '05 #2
ak
On Fri, 27 Feb 2004 11:06:04 +0100,
"news.dd.chalmers.se" <d9******@dtek.chalmers.se>
wrote:

//Hi
//
//I use a library called system-c i a project that likes to be compiled
//single-threaded and I would like to add shared memory capability. I found
//some nice code that works fine but only if compiled in multi-threaded dll
//mode.
//If I change the compile mode of any of these projects I get library
//conflicts. Does anyone have experience with this kind of mixing of
//libraries? How do I incorporate both projects? Is it possible at all or
//should I take another approach?
//
//Alternatively; does anyone know how to program simple, inter process shared
//memory without using threads and mutexes and such?
//
//Thanx a lot!
////Firas
//
//

Since you didnt specify what compiler OS it is a
bit difficult to help, on the other hand a simple
google search may help you:

http://www.google.com.sg/search?hl=e...e+Search&meta=
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: K.S.Liang | last post by:
Hi all, 1> If there are more than one dynamic linking libraries in the file system, how do I know which one is loaded into system? Any C library or system call can tell me which *.so or *.sl is...
2
by: santa19992000 | last post by:
Confusing th eword with "library", "shared library" and how to use these things in real C project, is there any small example I can take a look. Thanks.
1
by: Ron | last post by:
Hello, I need to create/instantiate a global class library project so that 2 EXE's can write to the same class library form in the same instance of the class libary. I am thinking something...
1
by: fallleaf | last post by:
i make library, this library function is create circula-queue in shared memory and attach, queue put, queue get, etc... sample program make, 1 sample program use library, test make queue in...
2
by: Serman D. | last post by:
Hi all, I'm trying to complete the samples from the excellent 2003 developerWorks article "Bringing the Power of Regular Expression Matching to SQL" by Knut Stolze: http://tinyurl.com/3bhrnn...
21
by: llothar | last post by:
Hello, i need to manage a heap in shared memory. Does anybody know about a portable (win32+mac+posix) c implementation for this.
2
by: S S | last post by:
Hi I have my shared (.so) library which uses our own memory manager. 32 bit lib was working fine, but when we switched to 64 bit library, as our own defined small pointer can not handle big...
3
by: S S | last post by:
Hi Are there some known issues using STL with shared library. Recently I got some crash for which the reason I dont see any, and searching on goolge shown some such issues with shared library. ...
16
by: Xiaoxiao | last post by:
Hi, I got a C library, is there a way to view the public function names in this library so that I can use in my C program? Thanks.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.