library

How do I do source level debug of library

I have a following setup. Although my working setup deals with ARM compiler Real View Developer Suite (RVDS) 3.2 on a Windows host, the situation could be generic for any other C compiler on any host. I build a ARM library (static library - .a file) of C code using RVDS 3.2 compiler toolchain on Windows host. Then I link this library w...

Tool to remove unnecessary dependencies in a Java project

I have a Java project that currently has a lot of JARs in its libraries directory, which are all included in the resulting package when building. I know, however, that some of these libs are never referenced in the project. Is there a tool that can search for libs that are not referenced within the project? I guess there must be somethi...

Edit .doc in Word via custom Document Library DispForm.aspx

Hi! I have a document library with a workflow that dynamicly sets user permissions to edit these documents when certain criteria is met. The users who need to edit these items are not the brightest users, so to make it failsafe and simple for them I am customizing the DispForm.aspx to only show 2 fields in the Document Library. "Docu...

Event (com library) - Update GUI

I got a financial library (com) that call an event each time a price is change. I subscribed to this event and try to update a textbox, but I always get a cross-thread operation. Fine, I use delegate, but it's doesn't work at all... it's freeze the application. My hypothesis is that the event is call to quickly, before the GUI have time ...

How do linkers decide what parts of libraries to include?

Assume library A has a() and b(). If I link my program B with A and call a(), does b() get included in the binary? Does the compiler see if any function in the program call b() (perhaps a() calls b() or another lib calls b())? If so, how does the compiler get this information? If not, isn't this a big waste of final compile size if I'm l...

How do you find good code libraries?

With all the available code libraries out there, what resources do you use to find a library that is: In your language The "best" for your requirements Well supported Being free or otherwise. [EDIT] After doing the obvious Google search! ...

Using dependency injection in a library

I'm writing a java library that will be used by an existing application. I'm using dependency injection so testing is easier, and I'm familiar with Spring so I was planning to use it to manage the dependency injection while testing. The applications that will eventually use the library are not Spring-based, however, nor does it use any...

Not Throwing Errors in a JavaScript Library

On the front page for MooTools, it says: MooTools code respects strict standards and doesn't throw any warnings. I like MooTools, but having recently read The art of throwing JavaScript errors, I'm a bit confused as to why 'not throwing any warnings' is a feature. If a library doesn't tell you when there's an error (which may b...

Static Lib Multiple Definition Problem

So I'm trying to build a small 3D engine as an exercise on VC++ 8.0. I have a MathLib static lib and a Render static lib that is being linked by my TestBed exe. Right now Render has two classes: Color and DXManager3D. Color includes my Vector.h from MathLib just fine, no problems. The second I try to include Vector.h in DXManager3D it ...

What is the best Free/Open-Source image conversion library in .NET?

System.Drawing has supports for very limited number of image formats What I am trying to do is, given an image of some format(JPG, TIFF, GIF, or PDF), conver them to other formats. I am specifically looking for a free or an open-source versions of library for .NET. Google and Stack Overflow gave me results libraries such as LeadTools (...

What is a good multiplatform vector graphics library for C/C++?

I'm looking for a good multiplatform library for vector graphics in C/C++. Any recommendation or thougts? Thanks EDIT: Thanks for all your answers!! Could anyone tell me the pros and cons of qt vs cairo, for example? Cairo got more votes, but it seems to be from 5 to 7 times slower according to some benchmarks... ...

Is there a way to know which compiler generated a static library ?

A third party provided me a static lib (.a) to link with on solaris station. I tried to compile with sunpro, and failed at link step. I suppose the issue is coming from the compiler I use (gcc instead?) or simply its version (as the std lib provided by the compiler could change from the version expected by the library AFAIK it could lea...

layered png image using a PHP library

Hi there, Does anyone know about a PHP library which can produce layered PNG images? (I'm not sure, but I think that tiff image standard supports layers also) ...

How to compile C# application with C++ static library?

Hello, I turned my C++ Dynamic link library into Static library just to acquire more knowledge. My question is how can I use the .obj file to compile both projects with C# express/MS visual studio? ...

PDF document manipulation

I have several PDFs with the following properties: Each PDF contains a variable number of "documents" with differing number of pages. Each page in a "document" has text such as "Page 3 of 26". I want to be able to automatically identify the first and last page of each "document" within a PDF (Note: this is not the same as the first an...

Problem running 32 bit apps on 64 bit Linux

I have a very minimal install of 64 bit Ubuntu 8.04. When I try to run some 32-bit programs, such as my "jhead" program, I get the message "No such file or directory" I figured it may be a library problem, but when I do ldd jhead instead of a list of libraries it needs, I just get the message "not a dynamic application". Same for ano...

Best free library or database to determine if a date is a US or international holiday?

In hopes of improving the relevance of year to year comparisons I would like to correct for the fact that the data last year fell on Easter, Labor Day, or whatever. What is the easiest way to programatically determine this information? Are any solutions known to account for international holidays? I could scrape a site like this one b...

C# graph drawing library?

I'm looking for a (free) library which allows me to draw a CFG (control flow graph). Something like yFiles, but free or preferably open source? Ideally this library would allow the user to navigate the graph (and modify it), i.e. the graph isn't just a static a priori rendered bitmap. Ideas? Update: Glee in combination with the mentione...

Is there a mono for c++?

Are their any libraries similar to mono but for the c++ language? I know boost exist but i like mono much more then boost. -edit- I'm looking to do more. Like play sound easier (crossplatform), GUI, load image, time, etc. I guess i am looking for what people might consider an engine or a large library. ...

Recommendation for JavaScript URL manipulation library / API

What are your recommendations for JavaScript URL manipulation library / API Specifically, I would like to Extract URL parameters out of a URL string. Ideally, would reflect into a JS object. Form URL parameter strings (ideally from a JS Object). ...