library

What is better - polymorphism or inheritance as a concept for operating with a .net library?

If I create a library with most functions meant for overwriting, meaning that you will need to put your logic into some of initial library functions to get what you want from library. will it be normal\usual\OK? will such library be called a framework? Example In my library I have CreateData function, lots of other functions and one, le...

how to strip a code inside a compile time macro after making a build

Hi, I do have say #if A in code and made a lib. Now for some reason i do want to take out code from lib containing #if A without recompiling the lib. Can i do this using some command. Regards, Kiran ...

How to test an Android Library Project

I am writing an Android Library Project basing on Android Bitmap class (call it AndroindLib) which contains only utility class (no activity). I tried to test it using Android JUnit, but it keeps complaining that can't find the AnroidLib.apk What's the right way to Unit test Android Library Project? Thanks. Lily ...

DNS resolver libraries with support for DNSSEC and/or experimental new RR types

What's the state of the art in DNS resolver libraries? I am particularly interested in full (not stub) resolvers that support any or all of: making multiple queries in one request packet, complete DNSSEC validation, returning detailed information about DNSSEC validation to the application, and can handle experimental new RRs without muc...

LXML library in PHP ?

Hi, Is anyone find the class for LXML in PHP. I have no idea about python. If anyone find the class or library or tutorials, please share with me Thanks, Nithish ...

Using a lib with enabled exception handling in an application where exception handling is turned off

Hi all, This question is about a C++ library for Windows and we use Visual C++ as our compiler. We enable exception handling compiler option in our library. We also use throw/catch in a few places. One of our customers says that they disable exception handling option in their application. Now the question is, whether they would exper...

Using STL in a closed-source library

Hi, Is it safe to use one standard compliant STL in a library, and another in a project that uses that library? For example: //library.h #include <string> //let's say here it uses minGW STL void Foo(std::string& str_mingw); //library.cpp void Foo(std::string& str_mingw) { /*do something*/ } //application.cpp #include "library.h...

UAgent CodeIgniter Library Installation Errors

The codeigniter library, UAgent, is giving me errors on installation. Here is the error: A PHP Error was encountered Severity: Warning Message: Missing argument 1 for Shared_Framework::__construct(), called in /system/libraries/Loader.php on line 928 and defined Filename: libraries/Shared_Framework.php This happens...

OS X can't find ANY libraries!!

I recently had some HD issues and had to get a new one. I transferred over my data using Migration Assistant on my freshly imaged disk. Then with but a minute left until I was in the clear, there is a town wide power outage. I was at work and had no backup generator and the university's didn't source the outlets, so my transfer was stopp...

JNI - UnsatisfiedLinkError - loadLibrary always fails

I am attempting to get a simple JNI example working, but no matter what I do, I cannot get it to work using the loadLibrary command. It works perfectly if I specify the absolute path of the .so file and use System.load instead of System.loadLibrary. Here is my directory tree: . |-- - |-- TranslatorWrapper.c |-- TranslatorWrapper.class...

iPhone Static Library for iOS3 and iOS4

Hi I'm trying to build a universal binary from a static library that works for both ios4 and ios3. However, when I add the library built in ios4 and try to use it in ios3 it gives me these kinds of errors: Undefined symbols: "_OBJC_CLASS_$_NSMutableCharacterSet", referenced from: objc-class-ref-to-NSMutableCharacterSet in myL...

PHP Annotation Library

Hi, Which is the best PHP Annotation library out there? Thanks ...

(My)SQL in Flex - any good libraries?

Hello! I need to develop a small Flex application that needs to access a MySQL database. Since I have little experience in server-side Java, PHP programming I would prefer to use a library/framework that allows me to write SQL queries in ActionScript/MXML. After a bit of research, I have come across two 3rd party libraries, AS3FlexDB(...

Are there any open source C Library (not c++) for Windows Driver Development ?

Are there any open source C Library (not c++) for Windows Driver Development ? I am developing a network device driver that need some functionality such as RegEx, string manipulation, Object Oriented by C and XML and so on... thanks. ...

Double-entry accounting libraries for Java?

What double-entry accounting libraries are available for Java? ...

Open source libraries for generating automated summaries

Hello All, I was looking for a open source library for generating automated summaries out of few words. For ex: if two qualities are given of a person a) good thinking skills b) bad handwriting, i need to generate a sentence like "Bob has good thinking skills however needs to improve on his handwriting". I need to know if any open sourc...

Automate publishing of a WCF library using MSBuild

I searched and couldn't find anything releated to this topic. When using Visual Studio 2010 for a WCF library, you can right-click it and publish the WCF Library, which generates/creates the .svc and web.config file as well as deploys it. I have been trying to mimic this in msbuild and have had no success. Is this possible? I have bu...

Android - failure on loading library

I have a similar problem to this question, but slightly different. I have compiled a .so library to use with JNI. Because it is large (15 MB), I am putting it on the SDCard instead of in the standard application place. The file is called libSample.so and it's located at /data/library/libSample.so I load it in a static initialization ...

Eclipse - Importing your own library

Okay, hopefully this is quick and easy. I have two separate java projects, 'Library' and 'Project', and I have a class in 'Project' that wants to implement a method found in 'Library'. I am looking for some kind of 'import' call to make at the top of my 'Project' class, to make the methods found in 'Library' accessible in that project. ...

Looking for a C++ GUI library in which you can design fancy GUIs (like for games),

Looking for a C++ GUI library in which you can design fancy GUIs (like for games), something in which you can make something beautiful (rounded buttons with rollover effects, embed beautiful background graphics, cool and colorful scrollbars and progress bars, etc.) It needs to be open source & allowed to be used in proprietary software...