Questions tagged [shared-objects]

Shared Objects in Flash are used to store persistent data on the client or server side.

Local Shared Objects

Local Shared Objects are used in Flash-based applications to store ActionScript objects persistently on a client. The disk space is limited and defaults to 100 KB per domain.

Remote Shared Objects

Remote Shared Objects can be used with Flash Media Server to store ActionScript objects remotely. They can be shared across multiple clients.

418 questions
5
votes
1 answer

Does static initialization (and/or other) code get run when dlopen'ing?

When you dlopen() a shared object, is there a mechanism for having code in that DLL execute without being called explicitly? Specifically, C++ static initialization code for globals/statics which the caller of dlopen() might not know about? I'm…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
5
votes
1 answer

Unable to load any package in R (unable to load shared object)

I have been using R for the last 2 years. I tried to start the program yesterday to run one of my scripts and the packages that I am using failed to load. I am not sure what happened as it was working fine earlier. I tried to uninstall and…
Error404
  • 6,959
  • 16
  • 45
  • 58
5
votes
5 answers

Is there something like .dll or .so, but cross-platform?

is there something like .dll or .so, but cross-platform?
SomeUser
  • 1,976
  • 15
  • 42
  • 60
5
votes
3 answers

Is it possible to store images in the SharedObject of Flash?

Is it possible to store a Image in a SharedObject in Flash? It would be nice if it would work. I need to "store" Images locally but it seems not to be supported by Flash... So I 'ld like to put those images in a SharedObject that can be saved... but…
Hank
  • 65
  • 1
  • 4
5
votes
2 answers

Using Shared Object File in iOS (.so file)

I have been given a Shared Object file (.so) and the functions inside of it, but I don't have a clue as to how to use it, or alter it for use in an iOS application. Could someone point me in the right direction? I know the .so came from an Android…
RileyE
  • 10,874
  • 13
  • 63
  • 106
5
votes
1 answer

Air iOS SharedObject deleted after updating

I'm using SharedObjects in my game to store the progress of the player in the game (level scores, unlocked levels, etc.). Everything is working fine, but the problem is when I submitted an update of the game (with the same certificates and the same…
5
votes
1 answer

How to use RTLD_DEEPBIND when invoke implicitly?

Now i have 3 shared objects,A.so,B.so,C.so A.c void libA() { common(); } B.c void common() { printf("COME HERE B\n"); } C.c void common() { printf("COME…
sonicx990
  • 51
  • 1
5
votes
1 answer

How to share variable in a shared object library

I am creating a shared object library which will be LD_PRELOADed with my program. In that shared library, I also want to use some variables from my program. What is the way of declaring such variables. Note that shared object library is compiled…
pythonic
  • 20,589
  • 43
  • 136
  • 219
4
votes
2 answers

DLL / SO library, how does library memory relate to the calling process's?

I was reading that all a process's memory is released by the OS when the process terminates (by any means) so negating the need to call every dtor in turn. Now my question is how does the memory of a DLL or SO relate to clean up of alloc'd memory? I…
John
  • 6,433
  • 7
  • 47
  • 82
4
votes
1 answer

How to call methods of an object that is created by loading shared object run time using dlopen

I created a test library called libmathClass.so which I will be loading from the code below. This shared object has a class and library call is created to return object of this class. How can I call the methods of this object from the main code…
user2580634
  • 43
  • 1
  • 4
4
votes
1 answer

Set Chromium as default web browser using update-alternatives on linux

I tried to use update-alternatives to set Chromium as default web browser by the following command. Although I successfully added '/snap/bin/chromium' into --config, it didn't work. levi@Lab-XPS:~$ sudo update-alternatives --install…
Levi Wu
  • 66
  • 4
4
votes
1 answer

building a shared object library: ldd does not show specified name

I'm trying to build a shared object library on Debian cat /etc/issue Debian GNU/Linux 9 \n \l I build the library and object as normal (wrap.c serves as a wrapper to create all object files) gcc -c -fPIC -W -Wall -O2 -funroll-loops wrap.c gcc…
floopy
  • 43
  • 1
  • 4
4
votes
4 answers

Linking shared library to executable

libourown.so provides function f definition After execution of gcc command, gcc a.o libourown.so.1 -o app 1) Does libourown.so get linked to app at runtime , when f is called in app? or Does libourown.so gets linked to app at build time? 2) Does…
overexchange
  • 15,768
  • 30
  • 152
  • 347
4
votes
1 answer

How to determine which dynamic library is responsible for creation of a pointer?

Assume you have a program that loads several shared objects/dynamic libraries using dlopen(). Given a pointer to a global object (e.g. static member variable), is it possible to determine the pointer is allocated in the boundary of which library?
CommanderHK
  • 1,128
  • 11
  • 7
4
votes
1 answer

How would I go about sharing variables in a C++ class with Lua?

I'm fairly new to Lua, I've been working on trying to implement Lua scripting for logic in a Game Engine I'm putting together. I've had no trouble so far getting Lua up and running through the engine, and I'm able to call Lua functions from C and C…
Blank
  • 7,088
  • 12
  • 49
  • 69
1 2
3
27 28