library

how to differentiate whether a managed library is running in the context of asp.net application or in a executable?

Hi, how to differentiate whether a managed library is running in the context of asp.net application or in a executable? Thanks in adv ...

Trying to load a DLL with LoadLibrary and get R6034 "An application has made an attempt to load the C runtime library incorrectly"

I'm writing a wrapper program that loads Winamp input plugins. I've got it working well so far with quite a few plugins, but for some others, I get an error message at runtime when I attempt to call LoadLibrary on the plugin's DLL. (It seems to happen mostly with plugins that were included with Winamp.) A dialog appears and gives me t...

implementing proxy support in C, is there any library for that?

Hi, I want to implement proxy support (SOCKS5 and HTTP CONNECT method) in my application. There are two parts that needs to be implemented: Detection of proxy details (protocol, host, port): I am using libproxy for that. Connecting to the the proxy server and telling it to relay the packets. Get the connected socket and then use it in...

What are some good/reputable/widely-used libraries written in VB.NET?

Question: What are some good libraries that've been written in VB.NET? The best would be open source, as that would allow interested developers to take a look at some good VB.NET code and see how the language can be used effectively. But I'd be interested to know about any libraries at all, particularly reputable ones. Long-winded expl...

MOSS - Rendering template for document library

Hi, I have created: A custom content type that inherits from document 0x0101. A custom list that is based on my content type. I have also set so that the id for the rendering template is set to my own developed template. The problem is that when i click on "New" on my new list it will automatically go to the upload.aspx and then to ...

Is it OK to set state within Event Raising methods?

I ran across this pattern in the code of a library I'm using. It sets state within the event raising method, but only if the event is not null. protected virtual void OnMyEvent(EventArgs e) { if(MyEvent != null) { EnsureChildControls(); MyEvent(this,e); } } Which means that the state is not set when overriding the met...

PInvokeStackImbalance -- C# with offreg.dll ( windows ddk7 )

I am trying to create an offline registry in memory using the offreg.dll provided in the windows ddk 7 package. You can find out more information on the offreg.dll here: MSDN Currently, while attempted to create the hive using ORCreateHive, I receive the following error: "Managed Debugging Assistant 'PInvokeStackImbalance' has dete...

A good file path builder library for C#?

System.IO.Path in .NET is notoriously clumsy to work with. In my various projects I keep encountering the same usage scenarios which require repetitive, verbose and thus error-prone code snippets that use Path.Combine, Path.GetFileName, Path.GetDirectoryName, String.Format, etc. Scenarios like: changing the extension for a given file n...

Java UML API/Library

Is there a Java API/Library that I can use to generate UML diagrams (Class, Sequence and Package)? I want to be able to embed the diagrams within my Java Application. ...

Easiest Java image processing solution

Here is the deal, in my Java project I have to make a composite document that combines both text and images; So I'm looking for a way to manipulate pictures (rotate, change size, that sort of thing). The API I'm looking for should be clear and easy to learn (preferably with some examples), it should cover the basic transformations I made...

What's the relationship between header files and library files in c++?

Why do we need to add both includes and libs to the compilation? Why doesn't the libs wrap everything in it? ...

Sharepoint Document Library Schema.xml Customization

Hi I am trying to add a custom field to the Schema.xml of Document library in sharepoint here is the code that I took from a blog In the ID i have to put the guid to do so do I have to add my own guid or do i have to query the sharepoint database and find the guid and paste it there... If i have to get it from sharepoint database...

How do I package an SDK (static lib + xibs) for the iPhone?

I am creating an SDK for a client that includes predefined view controllers. What is the recommended way to package everything (static lib, .xib(s), and .png(s)) for easy use? SDKs that I've used (e.g. Pinch Media) do a good job of just providing a .h and .a file that expose only user accessible functionality and hiding everything else....

32 bit unsigned int php

Hello! Does anyone know of a class/library/etc. that can simulate 32 bit unsigned integers on a 32 bit platform in PHP? I'm porting a C lib into PHP and it uses a lot of integers that are greater than the maximum for 32 bit signed int. ...

How to export all dependency external libraries into a folder in eclipse automatically

I want to copy all external dependency libraries to a directory, but I don't want to do this job manually, since there are quite lot of libraries. I wonder if there is a way to let the eclipse do it for me automatically. ...

Where is cmcfg32.lib?

Hello! I found a source code on MSDN about how to enable/disable privileges in C++ According to the source code, the linker must include cmcfg32.lib, but it can't be found... I tried to compile without including that lib, it compiles without any error, but when I launch my program, it crashes with a fatal error. So please, if you kno...

best java Xml parser to manipulate/edit an existing xml document

TASK : I have an existing xml document (UTF-8) which uses xml namespaces and xml schema. I need to parse to a particular element, append content (that also needs to use xml namespace prefixes) to this element and then write out the Document again. which is the best XML parser library that I should be using for this TASK ? I've see...

MinGW GCJ libiconv path problem

I'm having a problem with the MinGW implementation of GCJ. I read that you have to install libiconv before you can use it. However, the documentation wasn't very specific, and it did not say where to extract the binaries and developer files (libiconv-bin and libiconv-lib). I have tried the following paths: $p = c:\mingw $p\libiconv-1.9.2...

Using FFmpeg in .net?

So i know its a fairly big challenge but i want to write a basic movie player/converter in c# using the FFmpeg library. However the first obstacle i need to overcome is wrapping the FFmpeg library in c#. I downloaded ffmpeg but couldn't compile it on windows, so i downloaded a precompiled version for me. Ok awesome. Then i started lookin...

How to update a library in my application

I have used a library like ZendFramework in my project which I have put in Subversion. Now I want to update the version that I have put in Subversion. What's the best way to do this? Copying, taking a svn diff and patching the working copy or just copying the new files over the old files? I have tried svn diff with svn diff but this d...