library

.Net library for console menu driven app

I was wondering if anyone knew of a library for .net console apps that handled all the menuing functionality. I know its not that complex and I can just use Console.WriteLine("..."); to write text then do Console.ReadLine();, but am just curious if anyone knows of something existing that would handle the menuing. I'm likely to need sub...

How do I build libmySQL ?

I aim to integrate libmySQL into my executable instead of using libmySQL.dll. I use VC++ 2008 @ Windows Vista. I've downloaded "mysql-connector-c-noinstall-6.0.2-win32-vs2005.zip" from http://dev.mysql.com/downloads/connector/c/ It contains only ".h" files with declarations. Where is the implementation code (".c" files)? As said, I wi...

Looking for a Java library with an interface containing a void single-argument method

Part of a big project I'm working on turned out interesting and potentially useful to others, so I'm trying to pull out a chunk of code and release it as its own project. One of its dependencies on the rest of the codebase is an interface that looks like this: public interface Body { void eval(A value); } I figure, rather than reinv...

What modbus library should I use for modbus protocol for GCC

Dear all, We are building a product, which requires modbus communication (both rs-485 and TCP/IP). The code has to run on an embedded device which has Linux running on it. We have following criteria for the selecting the library that we would be using. It has to be opensource, since we are opensource geeks. We would give this product ...

library for matrices in c++

I have a lot of elements in a matrix and when I access them manually it takes a pretty long time to eliminate all the bugs arising from wrong indexing... Is there a suitable library that can keep track of e.g the neighbors,the numbering, if an element is in the outer edge or not and so on. e.g. VA= 11 12 13 14 21 22 23 24 31 32 33 34 4...

python FLV checker

i need a simple python lib that check the uploaded files to my webserver are flash media (FLV), by reading the flv header (metadata) and not the mimetype extension. ...

Libraries vs Original Code?

I'm working on an LGPL game engine library and I prefer to code without dependencies. So far I have windowing code using Xlib and OpenGL code. But I'm worried that eventually I'll need to use libraries anyway. This may be the case, I can write my own image loading stuff and much more, but I can't write audio code or networking code. Now...

Codeigniter Active Record inside custom library class

My function breaks at the line where I make an Active Record call, so I must not be calling things right. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Class Stuff { public function specific($passedArray) { echo "Test"; $CI =& get_instance(); $CI->load->database(); ...

Unicode, char pointers and wcslen

Hi, I've been trying to use the cpw library for some graphics things. I got it set up, and I seem to be having a problem compiling. Namely, in a string header it provides support for unicode via #if defined(UNICODE) | defined(_UNICODE) #define altstrlen wstrlen #else #define altstrlen strlen Now, there's no such thing as wstrlen o...

What is the best JavaScript image processing library ?

Hi, I need some kick-ass effects for my web site, like gaussian blur, noise, convolution filters, morphological operations etc. All effects must be applied dynamically (no pre-renderend images) and being changed over time. What is the most powerful image processing library, implemented in JavaScript ? ...

Change background color of a scene in mt4j without clear

Hi all, I'm messing around with the examples of mt4j multitouch Java library and in the "advanced.drawing" example, i'm trying to change the background color of the drawingScene. Since it has set the setClear to false i'm not able to do it with the clearColor option. Any other ideas? Thanks ...

Which Actor model library/framework for Java?

There are so many different Actor model implementations for Java (and the JVM languages). A lot of Actor libraries and frameworks have been implemented to permit Actor-style programming in Java (which doesn't have Actors built-in). I think the Actor model has big advantages, but the choices for Java are overwhelming! Can someone post t...

.NET C++ Windows Form Application Connecting To Mysql

nvm, I'll just keep trying or switch over to C# ...

What is lib Swscale used for by ffmpeg programers?

What is lib Swscale used for by ffmpeg programers? What benefits it gives for AV encoding/decoding? What is its position relevantly to av* libs? ...

iPhone Static Library Initialization Popup

I have a static library build for iPhone/iPad and I want to show a pop up right at the initialization (before the main). My library initialize itself with: int InitLibrary( void ) __attribute__( ( constructor ) ); And Im trying to put the following code inside InitLibrary: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:[ NS...

Controlling Browser using Python?

Is it possible to control a web browser like Firefox using Python? I would want to do things like launch the browser force clicks on URLs take screenshots etc. ...

Is there a JGraph alternative for Python?

Which library can I use to develop an application for visual modeling with graphs? Is there a library for Python like JGraph for Java? Thank you! ...

How do I best use a library whose directory may change occasionally?

Hi, I am writing Perl scripts and when I have too many functions, I usually move them all into a library (also good for code reuse). So I usually create a package (e.g. my_lib.pm) and add use lib 'path/to/lib'; use my_lib; to my script. I wonder if it's possible to skip the use lib 'path/to/lib';, which sometimes gives me trouble sinc...

Abstract classes in Android library

Hi, I have an abstract Activity in an Android library (AbstractActivity) that is supposed to be used in other applications as the base Activity. Since this Activity isn't supposed to be used directly, it isn't declared in the library AndroidManifest.xml file (the real reason is because the Activity is declared as abstract) and so I can...

How to find a library with cmake?

To link an executable with a library that resides in a standard location, one can do the following in a CmakeLists.txt file: create_executable(generate_mesh generate_mesh.cpp) target_link_libraries(generate_mesh OpenMeshCore) This would work if the library, that is being linked against, was placed in /usr/local/lib/libOpenMeshCore.d...