library

Linking Qt in a dynamic library

Hi, I have a dynamic library that works fine, and I would like to use a QObject in it. After including the "qobject.h" header, I compile adn evrything is fine. But when I try declaring a QObject, the compiler always gives me a "identifier not found" error. I tried foward eclaration of the QObject class, it did not help. It's weird becaus...

Designing a C++ library

I am in the process of designing a C++ static library. I want to make the classes generic/configuarable so that they can support a number of data types(and I don't want to write any data type specific code in my library). So I have templatized the classes. But since the C++ "export" template feature is not supported by the compiler I a...

DLL library interface

Hi All, I have a question that bothers me for a long time. I have a mathematical library, implemented as DLL. The library implements many types of mathematical functions. The mathematical functions are implemented in different classes based on their functionality. For example, all functions that implements polynomial equations are unde...

which opensouce image library supports most file format can be used in commercial application

which opensouce image library supports most file format can be used in commercial application? ...

Unresolved External Symbol

I am working on wrapping a large number of .h and .lib files from native C++ to Managed C++ for eventual use as a referenced .dll in C#. I have the .lib files linked in and everything has been going smoothly so far. Upon wrapping the latest .h file, I hit a snag when 2 functions came back with the link error: error LNK2019: unresolved...

PHP MySQL in 1 class & 1 file

Hi, I'm looking for a many-in-one PHP MySQL 1 class/file with the features: Connect to DB server Select database CRUD Prepare & binding Thank you in advance! ...

How do I set the Java library path from a Java task?

Is it possible to specify a library path in a java task? Like the equivalent of: java -Djava.library.path=somedir Whatever ...

How to get information passing through COM ports on Windows?

I'm programming a solution that requires parsing some data sent to a printer that is attached to a serial port. It's only reading, I don't need to interfere with the communication, but I need it to happen real time... I've searched around and found nothing that allows me to do this kind of stuff using the language i'm programming the so...

Libraries for parsing PDF, PostScript, and/or DjVu

What I want to do is pretty simple: given a PDF/PS/DjVu file containing a paper/book, find the authors and title of the paper (any other metadata would be good, but less needed). This recognition doesn't have to be perfect, but I'd like to make it as good as I can. I am looking for open-source .NET and/or Java libraries (preferably .NET)...

CppCMS vs. C++ Server Pages vs. Wt

I know Wt is the most stable of them, but it's a bit uncomfortable to use. CppCMS sounds good but how stable is it? How secure is it? I have encountered C++ Server Pages as well but there's nothing about their security in there. Has anyone had some experience with any of those libraries and can enlight me? ...

Compiler warnings in others' libraries

I link my C++ code against several libraries (a couple of which are heavily header-based), some of which haven't been updated in a while. I've been compiling my code with -Wall and Wextra on GCC 4.0 for a while with no warnings or errors. However, now that I'm using a newer version of GCC (4.3), a number of my files have been printing wa...

Installing usual libraries inside Google App Engine

How should I install (or where should I put and organize) usual python libraries in Google App Engine. Some libraries require to be installed using setuptools. How can I install that libraries. ...

Does GCC protect programmer from multiple including of C's library headers?

Is there a guarantee that each library header looks something like that? #ifndef STDIO_H #define STDIO_H /* contents here... */ #endif Can you please refer me to a source? Thanks! ...

When is MVC no longer applicable in large projects?

Having used some PHP frameworks such as Codeigniter and Kohana for some smaller sites, I'm starting to wonder if MVC is still applicable for larger projects and, if so, what precautions need to be taken to maintain clean clode. What practices do the larger sites use in order to prevent this? Does Amazon's or Flickr's code use MVC or some...

question on the use of libmemcached

Hello, This one could be a trivial 'yes or no' question but still could be helpfull. Could the C/C++ library libmemcached be used in a distributed file system ? I am asking this one because in all documentation on the net I came accross memcached was mostly assosciated with caching in web-service applications. An example : Let there be...

Any function / method in Java to implement a "freeze panes"-like sheet?

We are using Java and Javascript to try to display a huge sheet with freeze panes, but it is being very difficult. Does someone know about a library, method, script or something, either free or commercial, to do this? Thanks. ...

What are the steps in licensing a library ?

I wrote a library and I would like to make it open-source, but I am afraid of others stealing it and taking ownership of it. I am very new to licensing software. What should I do and what are the steps in licensing my software. ...

what are good libraries for map feature?

we are planning to have feature similar to Google maps like feature in our commercial desktop application. can anyone suggest any such map libraries? this application needs both drawing facilities and features that would help in showing the map too. the application will be in C# and hence if the libraries need to be .NET based. ...

how to play videos files from ipod video library ?

hi, please tell me that how can i play video files in my application from ipod video library? or is there any other possibility to search and play video files stored anywhere in iphone? ...

Qt wrapper for C libraries

Hello I'm working on a QT project based mainly on C libraries. I like the way QT works, and would like to make a C++ wrapper(with similar QT style) for each C library I'm working with. What are your recommendations and advices. What should I do, and what I shouldn't. I would like to hear answers based on real life experience. Thanks ...