Programming :: Possible To Make Application Module Similar To LKM?

Feb 8, 2011

Is it possible to create a loadable module for a C app that could be loaded into the app in runtime from a CLI or web interface?I would like the code to handle a particular type of structure to be "swappable" for lack of a better term. This would allow different modules to be used based on the users wants without having to mess with code. A different module could be downloaded into the application directory then loaded. Basicaly the code would be handed a pointer process it then return it.

View 2 Replies


ADVERTISEMENT

Programming :: Make Command For An Application?

Jul 21, 2010

i have made a small program to find the md5 checksum of a string.i am using xshell to compile the program.

Code:
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
#include <md5.h>

[Code]...

View 4 Replies View Related

Programming :: Real Time Application - Make Sound Equalization

Nov 28, 2009

An application that can make sound equalization but I couldn't find any powerful tool so I decided to do one my self I know it will be very hard task but their is no other solution my program will do some audio effects like (echo, repeat, trible, bass, filtering, fading,...)and (fft,addition,....), I will take the signal from the mic and put it on the speaker after my operation is done I think I must take into consideration that application is a real time but i don't know what to do! i don't know should I use java or C/C++! I don't know how to deal with the audio driver (take signal from mic and put it on the speaker)

View 10 Replies View Related

Programming :: Make A Java Application In Netbeans 6.9.1 - V4L4J - Import The Libaries

Oct 27, 2010

I'm trying to make a java application in netbeans 6.9.1 (ubuntu 10.10) and I need to use the webcam on the system. Now I found this project: [URL] I am able to run the program and see the vid imput from the webcam using: "java -cp /usr/share/java/v4l4j.jar -Djava.library.path=/usr/lib/jni au.edu.jcu.v4l4j.examples.DeviceChooser" The problem is how to import the libaries into netbeans, there is an explanation on the site how to do it with eclipse but I don't have any experience with ecplipse and judging from what people have to say about how it works I don't want that either. I get the following error as output:

[Code]...

View 3 Replies View Related

Ubuntu :: Finding An Application Similar To Xournal That Can Use Handwriting Recognition?

Sep 14, 2010

Is there an application similar to Xournal that can use handwriting recognition?

View 6 Replies View Related

Fedora :: How To Install KDE / Make Gnome Do Similar

Sep 10, 2010

Just installed fc13 and wasn't given the option for kde.... I like the desktop effect and Widgets.... is there a way to do the same with gnome???? If not what packages do I. Install from the apps list?

View 10 Replies View Related

Ubuntu :: Make An Application Launcher In The Panel Launch More Than One Application?

Mar 16, 2010

How do I make an application launcher in the panel launch more than one application? Is there some sort of a symbol I type between the apps in the command line? Like ;

View 1 Replies View Related

Ubuntu Multimedia :: Program Similar To Garageband For Make Music?

Jan 18, 2011

if there is a program similar to Garageband for Ubuntu? I just want something to screw around with and make music. I'm using 10.4 if it matters.

View 8 Replies View Related

Programming :: Load Fortran Module For Matio Libraries Using Gfortran - Can't Open Module File 'matio.mod' For Reading

Jun 27, 2010

I am interested in using fortran and an external library called matio used to save arrays to matlab .mat files. I have installed the matio and matio-dev packages from synaptics but i cannot compile a code receiving an error Code: christos@christos-laptop:~/Desktop$ gfortran -o test test.f90 -lmatio -lz test.f90:2.13: USE MATIO 1

Fatal Error: Can't open module file 'matio.mod' for reading at (1): No such file or directory How can i load a module in order to use it in fortran through the GCC compiler?

View 1 Replies View Related

Programming :: Get Similar Results Using Both Gcc And G++

Mar 7, 2011

consider these lines of code and their outputs:

[CODE]
int C = 0;
fprintf(stdout, "
(C, ++C) Bef = %d, Aft = %d
", C, ++C);
fprintf(stdout, "(C++, C) Bef = %d, Aft = %d
", C++, C);

[Code].....

The only one that looks right to me is the second one. I get similar results using both gcc and g++.

View 4 Replies View Related

Programming :: Use Of Dlopen When Forking Many Similar Processes?

Dec 27, 2010

I am building a queue system (in C on CentOS 5) where each directory queue has a number of process instances 'watching' it. I have a root-permission queue supervisor process which does all the forking, and the instance processes give up root as their first action. For max security each queue is accessible to a different set of users and groups.

I need to keep the RAM requirements as low as possible, so I am relying heavily on copy-on-write (since all memory writes are to shmget() shared memory)

Each process presently dlopen's the libraries it requires after fork, but I'm wondering if I would gain by performing the dlopen before forking a number of instances which all require the same libraries.

Any pointers to mid-level tutorials on dlopen and fork internals would be most appreciated: this is about my third post anywhere since I converted to Linux, but I just can't find the answer to this anywhere online.

View 3 Replies View Related

Programming :: How To Allocate Region Of Memories Which Similar VirtualAlloc?

May 21, 2011

I was looking for a method of allocating memories on Linux which similar VirtualAlloc on Windows.Requirements are:

1. Size of memories block to allocate is 2^16.
2. Address of memories block is larger than 0x0000ffff
3. Address of memories block must have last 16 bits are zero.

On Windows because lower limit of application address (lpMinimumApplicationAddress) we have (2) obvious right. From (1), (2) and system rules we also achieved (3).

View 2 Replies View Related

Programming :: Bash Script To Find And Remove Similar Lines From Multiple Files?

Jun 5, 2009

I want to remove duplicate or multiple similar lines from multiple files. I.e. if I have four files file1.txt file2.txt file3.txt and file4.txt and would like to find and remove similar lines from all these files keeping only one line from these similar lines. I only that uniq can be used to remove similar lines from a sorted file.

View 9 Replies View Related

Programming :: Paralel Port Kernel Module Programming

Jan 5, 2011

do you have any code to flash led lights with paralel port (device driver programming)or any lecture about this subject .if there is a working code this would be better ofcourse.

View 1 Replies View Related

Programming :: Socket Programming In Module Perl

Jul 21, 2010

Where is the perl module for programming with sockets?

View 4 Replies View Related

Ubuntu Multimedia :: Nvidia Module Won't Load / Make It Possible?

Jul 23, 2010

This nvidia driver is driving me nuts... I have tried everything I can think of including multiple solutions from threads.

I have a GeForce FX5200 with the nvidia-current drivers installed. On boot I receive the following error messages... code...

If I try and open the nvidia server settings I get the following message.

You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.

In Jockey I get:

The driver is activated but not currently in use.

I am using headers 2.6.32-23 and have updated to grub2 (something that seems to have fixed a mismatched header issue for others). I have uninstalled and reinstalled drivers, edited the xorg.conf with nvidia-xconfig as well as manually and I don't know what else to do... any suggestions would be appreciated... 640x480 is crap.

View 2 Replies View Related

Ubuntu Servers :: Unable To Make A Vmmon Module?

Jul 31, 2011

Unable to make a vmmon module that can be loaded in the running kernel

View 2 Replies View Related

General :: Writing A Kernel Module And Make Concepts

Mar 13, 2011

i have written some really basic loadable kernel modules. There are a couple of concepts that i'll like to get cleared.

In a tutorial, the Makefile was given as follows-
obj-m += try.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

I understand that -C option of 'make' changes the current directory to /lib/modules/$(shell uname -r)/build (which depends on my kernel).

Now, my question is why to change to that particular directory? Also M=$(PWD) will hold the dir where i have written the module. Why is it required? What does 'modules' at the end of that line indicate?

Q2> We need to include <linux/module.h> and <linux/kernel.h> in a module. If i am right, the module uses kernel headers for these definitions. But how does 'make' find these definitions.

Q3> We are planning to write a custom scheduler for linux kernel. cat /sys/block/sda/queue/scheduler gives us the currently loaded schedulers. How do we expose our scheduler to linux kernel so that we can use it by switching to it.

View 3 Replies View Related

Programming :: Makefile - Error When Run The Make Run - No Rule To Make Target - Shell.h

Sep 15, 2010

I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)

My current Makefile

Quote:

#What needs to be built to make all files and dependencies

clean:

# End of Makefile

I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.

I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop

View 1 Replies View Related

Programming :: Perl: Turning A Seconds-since-the-epoch Number Into "X Days Ago" Or Similar?

Aug 26, 2010

Is there a perl module that will let me turn numbers into human readable measures of time? For example, 1280513294 would be "26 days ago". If so, what's its name?

View 2 Replies View Related

Programming :: Shell Scripting / Create A Shell Script Similar To Ls?

Jun 5, 2011

I am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax.

Code:
if [ $# -eq 0 ] ; then
d=`pwd`
for i in * ; do
if test -d $d/$i ; then
echo "$i:"
code....

View 10 Replies View Related

OpenSUSE Install :: WPN111 Wireless Adapter And NETGEAR - Make The Module Load Automatically On Boot ?

Feb 14, 2011

Above adapter can be installed on v10.2 and 11.3 using ndiswrapper:-

1. Copy the 3 driver files from Windows:- like netwpn111.inf, WPN111.sys & ar5523.bin.
(Be carfeul about the exact names, because they have changed over time).

2. sudo ndiswrapper -i netwpn111.inf

3. sudo ndiswrapper -m

4. sudo modprobe ndiswrapper (the adapter should light up at this point and networks will be detected shortly after - see network manager). (Be careful of paths here - e.g. I had to use /sbin/modprobe - so 'whereis' may be necessary to find these commands).

2nd When I reboot, I need to run the modprobe command again. How do I make the module load automatically on boot? Also (and this is minor), can I bypass the KWallet, keyring thing? it seems silly to enter a password for the keyring and then click another password dialog, when I can just as easily enter the password for the network itself.

View 1 Replies View Related

Debian :: How To Make Executable Firefox Appear As Application

Feb 15, 2016

I downloaded the tar file form mozilla's website, in which I must click the firefox executable in order for it to run

I'd like the firefox logo to appear in my apps, how do I do it? I already moved the firefox folder to /opt

View 2 Replies View Related

Fedora :: Make An Application Launched As Root

Oct 28, 2010

I wonder how I can do to make an application launched as root, without having to go to console and run it from there?

View 14 Replies View Related

General :: Make Specific Keymaps For Application ?

Oct 14, 2010

I want to make specific keymaps for application, that working only in it and doesn't affect other apps.

For example, I already use my Caps key to toggle input language (via xorg.conf), but I want Capslock to behave like Esc in vim.

Looks like xmodmap doesn't have any options related to that.

View 1 Replies View Related

Ubuntu :: Make Application Load In One Monitor?

May 10, 2010

I just installed Ubuntu 10.04 on my laptop, and am amazed how well everything is working, even on my dual-monitor setup! But, I also have a problem with said setup. I downloaded and installed the XBMC media center, but whenever I open up the application, it displays across both monitors. Since my two monitors are of different sizes and at different heights, it looks really bad. Is there a way to always force it to load on just one monitor?

View 1 Replies View Related

OpenSUSE :: Make Voice Chat Application For Gtalk

Aug 12, 2010

Figuring out a chat application for gtalk and how to make voice chat with that in Opensuse 11.3.

View 1 Replies View Related

OpenSUSE :: Make An Application Default For Opening Documents

Sep 10, 2010

I want to use my Thunderbird as default newsreader for rss feeds. When I click on the icon of the website, it tells me that another application is the default. There is an option to browse for another application that I can set as default.But where do I have to browse to find the Thunderbird program. I have to same problem with pdf -files. I want to use acrobat reader as default.

View 1 Replies View Related

Ubuntu Networking :: Make An Application Use Ppp0 Exclusively?

May 18, 2011

I'm running 10.10 64 bit. I have a vpn service and I'd like to configure my bittorrent client to use only the vpn link (and NOT continue through my plain-old ISP service if the vpn drops). I imagine there are a few possible approaches to this:

1.have a script that checks if ppp0 is up an terminates the bt client if not

2.configure the bt client to use only ppp0 (though I tried this with qtorrent and it switches over to eth0 if vpn drops...)

View 1 Replies View Related

Ubuntu :: Make A Desktop Icon For Wine Application?

Jun 7, 2011

I'm a beginner to Ubuntu so this is probably an easy question, but: I installed a windows application using Wine and that worked, it launched the application just fine. But now after restarting the computer I can't see how to run that application again. It would be nice to make a desktop icon for it.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved