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
1
vote
0 answers

Calling dlopen() twice on a dynamic library with undefined symbol

I'm opening a dynamic library with a call to dlopen(): void *handle = dlopen("mylib.so", RTLD_LAZY | RTLD_GLOBAL); if (!handle) printf("%s", dlerror()); When this is called for a library which has an undefined symbol, the returned handle is…
user3132457
  • 789
  • 2
  • 11
  • 29
1
vote
2 answers

SharedObject (Flex 3.2) behaving unexpectedly when query string present in URL

Summary: The behavior detailed below seems to indicate that if your app at www.someplace.com sets/retrieves data via a SharedObject, there is some sort of .sol collision if the user hits your app at someplace.com, and then later at…
1
vote
0 answers

Shared Object - Get Remote

I have an application that will mirror the sales of individualities and the group that will then be presented in a panel. I currently have the code that writes the data locally on the machine, however, I need to write to the server and I can not!…
gandazeus
  • 11
  • 2
1
vote
2 answers

Guess the return type of function at runtime

I was wondering if I can 'guess' the return type of a function at runtime. To be more specific I use dlopen to load a dynamic library file, and then by calling dlsym I load a function (lets call it foo). Function foo has been written and compiled…
1
vote
3 answers

how to handle "undefined symbol" errors for mismatched shared objects

I developed an application using a recent Glade, so I need it to load the UI from XML at runtime, using the GtkBuilder. If I try to run this on a distro which has too old a Gtk (e.g. RHEL 5), it will fail like this undefined symbol:…
ecloud
  • 408
  • 4
  • 8
1
vote
0 answers

Golang declare plugin export list

I'm trying to reduce the size of a shared object produced by go plugin. (Building with 'go build -buildmode=plugin'). As it seems from disassembling the SO, all the public symbols are exported, so the linker cannot remove unused code as it does in…
Michael
  • 133
  • 3
  • 12
1
vote
0 answers

linked .so has : undefined reference to `fminf'

I have example.so, which uses fminf and fmaxf. This code of example does include . Now the problem is I am writing another sample.cpp code, in whose Makefile I have added LDFLAGS += -lexample to use the APIs under it. While making this code I…
moizh
  • 55
  • 6
1
vote
1 answer

Set SharedObject maximum size

Is there a way to set a (large) maximum size for SharedObject on my domain so that I can ask the user to allocate a size greater than 100k one time and not need to ask again, even if data is added?
Anonymous1
  • 3,877
  • 3
  • 28
  • 42
1
vote
1 answer

Android JNI - how to import function from shared object

Please Excuse my absolute lack of Android JNI I want to analize/call one function hidden in shared object: libEncodeAndDecodeUtils.so orginal code uses it like this: package com.midea.msmartsdk.common.utils; public class EncodeAndDecodeUtils { …
1
vote
2 answers

Why are nonstatic global variables defined in shared objects referenced using GOT?

I mean nonstatic global variables that are defined in the module, not externally. Why does it have to be referenced through GOT? Why no use relative address?(since the distance between the global variable in the .data section and the reference in…
Haiyang
  • 1,489
  • 4
  • 15
  • 19
1
vote
0 answers

statically linked executable requires shared libraries

EDIT: i asked a wrong question, don't reed, see clarification below. I have cross compiled two archive files a.a and b.a and statically linked them to an executable exe.elf . I have verified (following these instructions)weather my executable is…
Matze
  • 11
  • 4
1
vote
2 answers

Android - Dynamic module(.so) needs to be production signed

As i understand this from Hexagon DSP document: To enable a .so to be successfully deployed on production devices across a large number of OEM devices, the dynamic module needs to be production signed by the OEM. ISVs are encouraged to work…
1
vote
2 answers

SharedObject for High Score works in PC but not in Air for Android (Mobile)

I'm using the SharedObject code in ActionScript 3. It works perfectly fine when I publish it on my computer but when I publish it on Air for Android, the high score does not work anymore.
1
vote
1 answer

cc1plus: error while loading shared libraries

I am currently running a simulator which is mounted on a disk. When I am trying to cross compile an application, it always gives me this error: /mnt/mipsroot/cross-tools/bin/../libexec/gcc/mips-unknown-linux-gnu/4.6.3/cc1plus: error while loading…
Moumita Dey
  • 53
  • 1
  • 5
1
vote
2 answers

ActionScript 3 SharedObjects don't persist across different swfs?

I am serving two different swfs that read and write to the same SharedObject variable. The SharedObject variable is a number, and each swf checks that number to make sure it isn't using the same number twice. It then stores the last number it…
Yarin
  • 173,523
  • 149
  • 402
  • 512