Exporting a C++ class from a .SO ( linux )
How can I export whole class to shared library? Is it posible to use THIS library by other languages? ( pascal ) ...
How can I export whole class to shared library? Is it posible to use THIS library by other languages? ( pascal ) ...
Possible Duplicate: How to escape os.system() calls in Python? Is there a Python method of making filenames safe (ie. putting \ infront of spaces and escaping ( , ), symbols) programatically in Python? ...
Under linux, can I use GDB to debug a process that is currently running? ...
Question: Is it possible to debug, when the target is on a remote host? Example: # ddd --debugger /usr/bin/bashdb <sript-name> (on remote host) ...
Hi all, I have to make a project to run successfully on a Linux machine. Right now my project works very well on windows machine. On Windows machine it is compiling and working fine. My project is using one ".lib" and one ".dll" file to do the tasks successfully on Windows. Can i use the same .lib file and .dll file on linux machine to...
how can i read and write hardware clock (system clock) using c program on linux...thnxxx ...
Hello, I tried to use BIRT in my webapplication project. But I'm getting this kind of exception all the time: org.eclipse.birt.core.framework.FrameworkException: Could not find the Framework - org.eclipse.osgi at org.eclipse.birt.core.framework.osgi.OSGILauncher.doStartup(OSGILauncher.java:123) at org.eclipse.birt.core.framework.osgi...
Hi, i am very new to unix/linux/c which i guess is why i am in this predicament. Anyway, i have just completed a c programme assignmnet and am trying to run it from linux terminal. So far i can create the main programme by navigating to the folder running gcc myFile.c then doing .a/.out this then runs my programme from the terminal wi...
In a bash script, I can write: exec 2>&1 exec someprog And the stderr output of someprog would be redirected to stdout. Is there any way to do a similar thing using python's os.exec* functions? This doesn't have to be portable, just work on Linux. ...
I have a bash script in which i check the exit code of a last run command by using $? variable but now I am executing a C program (from that script) which returns 0 if the program gets executed successfully. Is there any way I can catch this return value of the C program from with in my bash script? I believe different commands like awk...
I am working on multhithreading application when ever the process dump it always generates core as shown below i am not able to understand where it is actually dumping. GNU gdb Red Hat Linux (6.5-25.el5rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welco...
I need to make a screenshot of my form created in QT designer. There are numerous approaches to do screenshots(gimp, import, etc..) but alt of them deal with same dpi as on my monitor(about 100dpi). This is quite enough to publish on web site, but 300dpi images are required for paper publications. Are there any ways to create 300dpi scre...
Hi I have a libpthread linked application. The core of the application are two FIFOs shared by four threads ( two threads per one FIFO that is ;). The FIFO class is synchronized using pthread mutexes and it stores pointers to big classes ( containing buffers of about 4kb size ) allocated inside static memory using overloaded new and del...
I am working on an embedded project that will be using Linux and we are trying to figure out the best practice method to source control the Linux version. We want to maintain local configure files and various changes but also allow us to update the kernel if we need to. Does it make sense to make it a "vendor" branch in Subversion? I ...
Just out of curiosity I wonder if it is possible to relocate a piece of code during the execution of a program. For instance, I have a function and this function should be replaced in memory each time after it has been executed. One idea that came up our mind is to use self-modifying code to do that. According to some online resources, s...
Using Python, how does one parse/access files with Linux-specific features, like "~/.mozilla/firefox/*.default"? I've tried this, but it doesn't work. Thanks ...
I am attempting to create a UPnP method on an internal PHP server if at all possible. I need it to be mostly platform independent so that it may run on Windows, OSX, or Linux. I believe I can get my SOAP protocols working for UPnP, but first I must determine the IP address of the gateway/router that the server goes through. Is it possib...
Hi, I have an app that depends on a dynamic library that is not in a system location. If the library is located in the location from which the executable was linked and LD_LIBRARY_PATH is set to that directory, the application runs. If the libraries are copied to another directory and LD_LIBRARY_PATH is reset, the application won't st...
I often use the find command to search through source code, delete files, whatever. Annoyingly, because Subversion stores duplicates of each file in its .svn/text-base/ directories my simple searches end up getting lots of duplicate results. For example, I want to recursively search for uint in multiple messages.h and messages.cpp files:...