dependencies

static initialization order fiasco

I was reading about SIOF from a book and it gave an example : //file1.cpp extern int y; int x=y+1; //file2.cpp extern int x; int y=x+1; Now My question is : In above code..will following things happen ? 1. while compiling file1.cpp, compiler leaves y as it is i.e doesn't allocate storage for it. 2. compiler allocates storage for ...

schwarz counter

The long code below is given in Thinking in C++ by Bruce Eckel //: C10:Initializer.h // Static initialization technique #ifndef INITIALIZER_H #define INITIALIZER_H #include <iostream> extern int x; // Declarations, not definitions extern int y; class Initializer { static int initCount; public: Initializer() { std::cout << "Ini...

Build warning for distribution configuration of an iPad only application

Hi, I'm getting the following warning when building an ad hoc distribution copy of a new iPad only application: [BWARN]warning: building with 'Targeted Device Family' that includes iPad ('2') requires building with the 3.2 or later SDK. These are my build settings: Architectures: Optimized (armv6 armv7) Any iPhone OS Simulator: i386...

How to exclude a particular package form a dependancy?

When specifing a dependancies using ant ivy, is there a way to exclude a particular package? eg: I am putting a dependency to MyJar.jar it has packages com.test.one com.test.one.first com.test.one.second com.test.two etc. i want to exclude the package com.text.one.first if there is a way, how can i do that? ...

How do I get a list of the classes compiled into my Flex app?

I have several Flex applications in a project, and I would like to know if there's a way to get a list of the classes (and ideally, other assets) that are being compiled into each one. I want an easy way of making sure I've kept things separate and there aren't unnecessary dependencies. Any ideas? I'm running Flash Builder 4. ...

Problem with UserControl with custom Dependency Property

Hi, I'm writing a user control with a dependency property for a search text called SearchText. It is a dependency property because I want to allow consumers of the control to use data binding. The user control contains a WPF TextBox where the user can enter the search text. I could use data binding to connect the SearchText dependency ...

VB6: Question about version numbers of dependent OCXs

Is it important for a VB6 app to refer to certain OCX versions? I have noticed that if I put my VB6 app code through the IDE on one machine then the form files will refer to different version of some OCXs than if I use another machine. What is the rule of thumb with this? Is it safe to assume that most of these old OCX versions will b...

How to extract all dependencies from a Windows file in Python or grep

How do I extract all the dependencies from a Windows file in Python? So I basically want to extract all the used exe,dll,osx,sys etc. files. I would like to to this in Python or directly with grep. ...

Using native dependencies inside Maven

A POM dependency contains native libraries (DLLs inside a JAR file). How do I programmatically look up the path of the downloaded JAR file so I can pass it into "java.library.path"? ...

Dependency Property Binding Not Updating Target

I have a custom dependency property: public static readonly DependencyProperty HeaderProperty = DependencyProperty.Register("HeaderProperty", typeof(string), typeof(RadAdjustableSlider)); public string Header { get { return (string)GetValue(HeaderProperty); } set { ...

Can I assign a maven dependency to a specific repo?

So I have several large projects that use up to 8 different external repos, all specified in settings.xml rather than in poms. A lot of our internal dependencies are snapshots, so this obviously causes a lot of checking for updates across several external repos, when they are all in our internal repo. So my question is, is there a way ...

Tools to generate unit dependencies for Delphi

Are there any tools that can generate dependency diagrams for Delphi units taking into account conditional compilation directives. I'd like to emphasize that this should be unit dependency diagram, not class dependency. Also it would be nice to have the ability to rearrange and hide some parts in the generated diagram. I've tried Unders...

How many times should a loop be unwinded?

I'm learning about loop unrolling to avoid stalls caused by dependencies. I found many examples on internet and in literature, but I found no explanation on how the algorithm used to obtain the optimized code works (in case there is one such algorithm, of course). In particular, I don't know how to determinate how many times should the l...

Declarative dependency handling for multi-module source projects in version-control.

We have a number of products that consist of a large number of modules, some of which are shared between some of the products. They are spread out over a few version control repositories. Products are built by master Ant scripts that are responsible for checking out all modules and building them in the correct order. The modules don't h...

How do I configure java.util.logging within an Eclipse plug-in?

I am new to creating plug-ins, and there's much that I don't understand. One of these mysteries is logging. I have legacy code that I want to be able to use both within the plug-in and in the old standalone code. This code uses java.util.logging. I debug my plug-in by starting up a new workbench using a JVM option -Djava.util.loggi...

How to find out what tables/views/synonyms are used in a stored procedure

Through Oracle queries is it possible to find out which views/synonyms/tables a stored procedure use? In PL/SQL Developer if you collapse out a stored procedure it will show "References" which shows all the tables/views/synonyms that the stored procedure uses. I am trying to implement this functionality into a script which will com...

Dependency Walker for Java?

I am looking for a tool that lists the .class dependencies for a given Java class to run. Kind of like what Dependency Walker does for Windows applications. I am aware of some tools, but they are overly complicated or not quite a match, including Class Dependency Analyzer GenJar Dependency Finder One-JAR Any suggestions? TIA!! ...

DLL Dependency Check Software

Hello to all, i have .exe application that need to runs on another computer but the application failed to initialized 0xc0150002. Therefore, i try to install VC++ Redistribute Package but still cannot solve it. Any software that can checks what dll missing on the particular computer ? Thanks. ...

Is the code available that SQL Server uses to fill sys.sql_dependencies?

My current client is struggling with their release process. It's a bit complex and a little uncontrolled. I'm trying to fix the process problems, but in the meantime it would be helpful if I could put together a utility that could scan their scripts, look for dependencies, and generate the order in which those scripts need to run. Rathe...

Dependency Injection and loading dependent assembly in .NET

I'm working with dependency injection (DI from now on) to resolve components and am looking for an elegant solution to loading dependent assemblies in a .NET environment. As an explanation, lets say that we have 3 assemblies, A, B and C, where A depends on B and B depends on C. Now I need to load components from assembly A, but because I...