dependencies

How to ensure WPF application will run perfectly on user computer?

Recently I made the WPF application and want to publish it for many users but application seems to have problems on some target user machines. It simply crashes when user is starting it. I build app with .NET Framework v.3.0 as target version and user machine has .NET Framework installed. I just want a way to ensure (for instance with in...

Handling binary dependencies across platforms

I've got a C++ project where we have loads and loads of dependencies. The project should work on Linux and Windows, so we've ported it to CMake. Most dependencies are now included right into the source tree and build alongside the project, so there are no problems with those. However, we have one binary which depends on Fortran code etc...

Call a function if its DLL is available?

I want to call managed code if and only if the currently executing assembly references it and has a match for that function name. I have a function Public Function TestReadableProperties() As String ' Not sure where to go with this line ' Dim names = Reflection.Assembly.GetExecutingAssembly.GetReferencedAssemblies() Ret...

Is there a way to know which versions of python are supported by my code?

You may know the Windows compliance tool that helps people to know if their code us supported by any version of the MS OS. I am looking something similar for Python. I am writing a lib with Python 2.6 and I realized that it was not compatible with Python 2.5 due to the use of the with keyword. I would like to know if there is a simp...

Msbuild doesn't copy references (dlls) if using project dependencies in solution

Hi, i had a look on many similar questions on this side but none of them answered the question to my problem. The whole day i tried to solve this by finding a solution (via google etc.): I have 4 projects in my VS solution (everyone targeting .net 3.5) - for my problem only these two are important: MyBaseProject <- this class library...

Build two interdependent dll

I have to interdependent dll here that i would like to build without having to build them twice (force build both of them and rebuild them again to allow linking). Here is an exemple : **DLL A** void fooA() { fooBB(); } void fooAA() { fooB(); } **DLL B** void fooB() { fooA(); } void fooBB() { } Is there a way to build those...

What's wrong with using a framework that has a lot of dependencies?

Hi, all. I recently told a friend that I was starting to learn Catalyst (Perl) and he fairly strongly emphasized that because Catalyst has so freakin' many dependencies, I should use something like Rails instead. Isn't that a good thing that there are a lot of dependencies? Doesn't that indicate a lot of code re-use? I understand tha...

Does an association imply a dependency in UML?

In discussion about my answer to this question, there was some disagreement over how to model this code: public class MainClass { private Something something; public void Action() { OtherClass other = something.GetOtherClass(); } } The key points being: the Something class is an attribute in MainClass, sugge...

Visual Studio: How to make one solution depend on another?

Is it possible to make a solution in VS depend on (i.e. include) an entire other solution? I've seen some stuff about "Solution Folders", but these don't seem to be the same thing....? Thanks! (BTW, I'm using VS 2008) ...

Algorithm for BFS traveral of an acylic directed graph

I'm looking for an elegant Python program that does a BFS traveral of a DAG: Node A is connected to B (A->B) if A "depends on" B (think of python package Foo "depending upon" Bar: Foo->Bar). In a graph of about 7000 such nodes, I want to sort all nodes such that for all possible (i, j) where 1>=i<j<=7000 .. depends(Ni, Nj) is False. d...

Header files dependencies between C++ modules

Hi, In my place we have a big C++ code base and I think there's a problem how header files are used. There're many Visual Studio project, but the problem is in concept and is not related to VS. Each project is a module, performing particular functionality. Each project/module is compiled to library or binary. Each project has a directo...

How do you document your database code to see dependencies between database objects?

I want to write documentation on my pet project. I have 30 tables and almost 50 views and about 30 functions (stored procedures) in my PostgreSQL database. I would like to see where tables ( which views and which functions ) are used. I would like to see where views ( which views and which functions ) are used. I would like to see if...

How to create project dependencies in netbeans (c/c++ plugin)

As I work on a c++ application, I realize I am making a lot of classes and functions that could be used in other projects. So I'd like to put all this code in a separate net beans project that can be "included" into other projects. (with code completion etc) I've tried creating a new "static library" project, then I added the project to...

Adding WARs to Java's classpath

I have two wars, foo.war and bar.war. foo uses classes from bar. I'm trying to start foo, and add to Java's classpath bar.war, but java throws a ClassNotFoundException. If I rename bar.war to bar.jar and edit its directory structure to look like a jar, it works. Java's documentation on the -CP switch does not mention war files: -clas...

eclipse plug-in dependencies and classnotfoundexception

Hi, I am new to Eclipse RCP plugin development and I have the following problem: I am trying to instantiate a MessageConsole object in my plugin. I create the appropriate dependency for org.eclipse.ui.console in MANIFEST.MF, build the plugin, and then load the plugin inside the same Eclipse application (I export the plugin as a zip, s...

Open-source tool to visualize C/C++ header file dependencies?

What I'm looking for is a tool that, given a root source file, outputs a graph of file dependencies (with some customization thrown in, of course, like --maxdepth, etc.) ...

Problems with a simple dependency algorithm

In my webapp, we have many fields that sum up other fields, and those fields sum up more fields. I know that this is a directed acyclic graph. When the page loads, I calculate values for all of the fields. What I'm really trying to do is to convert my DAG into a one-dimensional list which would contain an efficient order to calculate th...

Is there any free program for making diagrams of file dependencies extracted from header files?

Looking for something similar to Modelmaker that was for Delphi. Showing dependecies of modules. Any help is appreciated. Doxygen has been great so far. If someone know if it's possible to achieve what I want with Doxygen, then please let me know :) ...

How can I visualise Reddit's XML-schema in XVCG or Dotty?

You can find the schema. So how can I visualise it to see dependencies, packages and such things? ...

How can I manage Perl module dependencies?

I'm currently in a project which develops using a framework developed by another department as the base. We are currently introducing quality standards (at last, yay!) in our department, but it's currently impossible to introduce those to the other department. As a consequence, we are working against a constant moving target without eith...