reference

WPF - how to call another WPF with own service refences?

Hi, I have 2 WPF projects in 1 solution. Every of those projects have different service references. First project it's a window to login, second is a main window with app. It must be in separated projects, don't ask why. So, I do main window reference in login project and create main window object when login data is corect. Here sample ...

XAML in VS Shell: Loading an assembly without reference

Hi, I'm currently trying to customize a Visual Studio Isolated Shell so it opens a XAML file and its designer without a solution or a project. Therefore, for the designer to load, Visual Studio need to recognize every xaml tag in the XAML file or it won't load telling me that the document contains errors. I'm currently trying to manual...

What is mean by reference in .net wrt CLR (managing objects)?

What is mean by reference in .net wrt CLR (managing objects)? ...

linked list and Red/Black tree in c# - reference problem ?

Hey, I'm pretty new to c#, and i'm trying to understand something pretty basic. I want to implement a RBTree and a linked list , so i create : public class RBTreeNode { // PROPERTIES public RBTreeNode left; public RBTreeNode right; public RBTreeNode parent; public String Color; public In...

Biztalk BTSNTSvc.exe.config appSettings webreference

Hi, sometimes we use global variables in our biztalk configuration called BTSNTSvc.exe, we add these with the following code: <appSettings> <!--<add key="ZNA_Integratie_Prestaties_OasisProxy_OasisServiceProxy_Service" value="http://localhost/service.asmx" />--> <add key="IPSdatum" value="20090101" /> </appSettings> Using th...

g++ language and CRT reference

My working environment is Linux, Eclipse CDT and g++ 4.4. Where can I find language and CRT functions reference for this environment? WEB, or maybe it is always installed on my computer? ...

Java VM Object references

Hi Java gurus, I got a question: Is it possible to get a list of currently instantiated objects from the VM? I am using a framework and try to implement an event handler (Hibernate, Interceptor). My problem now is that I need a Properties file during the execution of this handler. I cannot pass a reference to the Interceptor class, be...

WPF: How do I get a reference to a styled window control in code behind?

I have a window defined with a style: <Window x:Class="winBorderless" x:Name="winBorderless" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Local="clr-namespace:WindowStyle" Style="{StaticResource Window_Cartesia}" ...

Jquery: Conditional reference to attribute?

Hi, Is it possible to refer to an attribute of an element conditionally with Jquery? What I'm after is something like: $(".mylink":rel["2"]).show(); ... which would "show the specific instance of .mylink element on the page that has rel="2" HTML attribute on it. There would be multiple instances of .mylink on the page, each with its...

Difference between const. pointer and reference?

Hi What is the difference between a constant pointer and a reference? Constant pointer as the name implies can not be bound again. Same is the case with the reference. I wonder in what sort of scenarios would one be preferred over the other. How different is their C++ standard and their implementations? cheers ...

PHP calling a function with variable amount of parameters.

So I've run into a bit of an issue. I know of a solution but it doesn't seem very clean and I'm wondering if there's a better one. I'm writing a MySQLi wrapper for running prepared statements. As it's a wrapper and is meant to be reused (dynamic) the amount of columns returned depends on the query and isn't static. The one solution to ...

Returning a copy of an Object's self in C++

Ok, So I've googled this problem and I have searched stack overflow but I can't seem to find a good answer. So, I am asking the question on here that is particular to my problem. If it is an easy answer, please be nice, I am new to the language. Here is my problem: I am trying to write a method for a C++ class that is overloading an ope...

C#: Is there any way to easily find/update all references to an object?

I've been reading Rockford Lhotka's "Expert C# 2008 Business Objects", where there is such a thing as a data portal which nicely abstracts where the data comes from. When using the DataPortal.Update(this), which as you might guess persists 'this' to the database, an object is returned - the persisted 'this' with any changes the db made t...

Save a reference to a particular selector

Ok, what I am after is quite simple. I have click handler for multiple radio group sets. Inside the handler I am passing some parameters to a functions parameters references are relative to the group set but their path are the same. So I basically have: $(document).ready(function(){ $("input[name='radioGroup1']").click(function(){ ...

PHP dereference array elements.

I have 2 arrays. $result = array(); $row = array(); Row's elements are all references and is constantly changing. For each iteration of $row I want to copy the values of row into an entry of $result and not the references. I have found a few solutions but they all seem rather awful. $result[] = unserialize(serialize($row)); $result[...

BOOST_FOREACH implicit use of reference?

I am wondering if there is any benefit to getting a reference to a vector prior to calling BOOST_FOREACH or whether a method call which returns a reference will be automatically used? For example which of the two following loops will be equivalent to the third loop? vector<float>& my_method(); void main() { // LOOP 1 -------------...

Linked List Implementation In Java and Garbage Collection

If I have a linked list structure, and I implement the clear() method as follows: public void clear() { firstNode = null; size = 0; } will it still get correctly garbage collected, or would I want to walk through each node, setting nextNode to null? None of the nodes can be directly referenced from outside the linked list, so...

Adding editFTPnetPRO to SSIS package causes error message

I'm trying to add some secure FTP code to an SSIS package. I've used the EnterpriseDT product successfully on other .NET projects, so I wanted to incorporate it into an SSIS 2008 package I'm working on. If I create a Script Task (VB), edit the script, choose Project | Add Reference, and select the editFTPnetPRO.dll file, it comes back w...

Conference Information XML Schema

I'm starting up a project where we'll be coordinating schedule, speaker, location, and event information for conferences. It seems like a fairly well-defined space, and so I just assumed that there was a schema or standard out there we could reuse. I can't seem to find one, though. The benefits would be obvious - to get my app worki...

What library to be to be used to avoid undefined reference to `pthread_atfork'

I get undefined reference to `pthread_atfork' even after using pthread library. Is there any separate library for this? ...