library

C++ (Really) Safe Standard String Search?

Buffer overrun problems are well known. Thus we were blessed with standard library functions such as wcscat_s(). And the kind folks at Microsoft have created similar safe string functions such as as StringCbCat(). But I have a problem where I need to search a bit of memory for a string. The Standard library function: wcsstr( wchar_t* ...

COMET javascript library

I am looking for a simple and reliable Comet javascript library. I want to keep a persistent streaming of data from my server (via PHP script) to the client side. I tried building my own using the iframe technique, but there are lots of issues with safari which I experienced. I am just hoping someone else has created a simple library for...

Inspecting dependencies of static libs / executables

Hi, I have a rather large project with a whole bunch of linked dependencies. The problem is that there's a dependency getting linked to which was compiled with VS 2005 and links with the vc80 debug crt, while I've migrated to VS 2008. The problem is that this also means that I must have the vc80 debug crt installed, something which I'd ...

ERROR: request not found in the TrackedRequests. We might be creating and closing webs on different threads.

This is an error I receive from Sharepoint when I deploy a custom workflow to a forms library. The workflow is very straightforward and doesn't do anything fancy. I was reading from the an infopath form, but have since stripped down all non-essential code to see if I can get it working. As far as I can tell, other workflows are fine (...

How decide what to put in a MOSS site template/definition

Hi When deciding on what elements to include in a MOSS site definition, i.e. lists, libraries etc. is there a rule of thumb on how best to make this decision? Would appreciate anyones suggestions. All the best ...

Lightweight and portable regex library for C/C++?

Hello, What is a good and portable regex library for C/C++? (C++ preferably) ...

What's the difference between a header file and a library?

One of the things I'm having a hard time understanding is how the compiler works. I'm having a lot of difficulties with it, but in particular I keep getting headers and libraries mixed up. If somebody could clear things up a bit, that'd be great. ...

Building C++ source code as a library - where to start?

Over the months I've written some nice generic enough functionality that I want to build as a library and link dynamically against rather than importing 50-odd header/source files. The project is maintained in Xcode and Dev-C++ (I do understand that I might have to go command line to do what I want) and have to link against OpenGL and S...

Creating libraries in C/C++ - ld can't find my library.

Hi, I'm trying to learn how to create a C/C++ library in a linux environment but I'm having a problem (probably a trivial one) that online tutorials had not helped to solve. For definiteness let's say I have a foo.c file with the following code: //file: foo.c #include <stdio.h> void hello(void) { printf("hello!\n"); } a foo.h: ...

Is J2EE required for Hibernate

Are the extra J2EE libraries required to run Hibernate standalone Java applications, or is the standard SDK sufficient? Thank you. ...

How do I connect to a Telnet Server in c#?

I am having my OJT and my current task is to do an FTP Client Server connecting to a telnet Server. This is my first time doing this kind of a program. Any idea how I can do this in c# windows app? how do i establish a connection to telnet with completeauthentications? Are their any open source libraries to help me do this? Any help with...

Should I link to Google API's cloud for JS libraries?

I'm looking for the pros/cons of pulling jQuery & other JS libraries from Google API's cloud as opposed to downloading files and deploying directly. What say you? My decision The likelihood of the lib already cached on the users system is the overriding factor for me, so I'm going with a permalink to googleapis.com (e.g. ajax.googl...

Creating connection between two computers in python

The question: How do I create a python application that can connect and send packets over the internet to another computer running the same application? Is there any existing code/library I could use? The background: I am pretty new to programming (HS senior). I've created a lot of simple things in python but I've recently decided to st...

Determining what object files have caused .dll size increase [C++]

I'm working on a large c++ built library that has grown by a significant amount recently. Due to it's size, it is not obvious what has caused this size increase. Do you have any suggestions of tools (msvc or gcc) that could help determine where the growth has come from. edit Things i've tried: Dumpbin the final dll, the obj files, cre...

Which libraries should a C or C++ newbie know?

I recommended my friend the libraries in the book Numerical Recipes. However, it seems that they are too challenging for him. I am not sure which libraries are the best for a newbie in C/C++. Which libraries should a C or C++ newbie know? ...

What is a good network graph library for language X?

I have noticed that a recurring question is: “What is a good network graph library for language X”. I have played with quite a few of the libraries and I can share my experiences with you. Python: NetworkX is a robust library which has built-in visualization but also has an interface to Graphviz using pyGraphviz. (pyGraphviz and Network...

Java BitTorrent library

Are there any decent BitTorrent libraries for Java? I need to program a simple torrent client, but it would be great if I didn't have to write everything from scratch. ...

Open Source .Net Authentication Libraries?

I'm building a website and I'd like to avoid using asp.net membership. I want to consider some alternatives before I decide to write this code from scratch. Are there any open source projects that tackle the authentication problem? note: I need user/pass auth (can't use Open Id). ...

JavaScript libraries / toolkits that support binding JSON data to HTML controls?

Are there any JavaScript libraries or Toolkits that allow me to bind the JSON data to html controls on the client? So essentially I should be able specify the object property to which a html control should be bound. Hence when the form receives the JSON data, the controls are updated, and when the controls are updated, the data should b...

Using a .lib file from C

I am new to C/C++. I have a static library (.lib) file created using VC++. (I also have .h file for it). And I need to use this in a C program. Can you please help me doing this? Thank you, Prashanth. ...