references

Data Destruction In C++

So, for class I'm (constantly re-inventing the wheel) writing a bunch of standard data structures, like Linked Lists and Maps. I've got everything working fine, sort of. Insertion and removal of data works like a charm. But then main ends, my list is deleted, it calls it's dtor and attempts to delete all data inside of it. For some r...

ASP.NET and Visual Studio - Adding project references vs Bin Folder DLL

I just started a new job yesterday and this is only my second job working in ASP.NET. We were setting up my dev box and were having trouble with some third party components like Telerik, etc. I was noticing that they were installed these third party tools, hunting down the DLL files, copying them into the bin and then adding a reference ...

C# - Populate Data Structure At Runtime With References To Buttons Added To TableLayoutPanel At Design Time

Hello folks, I am using Visual C# 2008 Express edition. If at design time I have a form [myMainForm], to which I have added a TabControl [myTabControl], and myTabControl has a single tabPage [myTabPage], and to this tabPage I have added a tableLayoutPanel [myTableLayoutPanel], and to myTablelayoutPanel I have added ten buttons (button1...

Get listing of web services referenced in WCF application?

Hi, Could anyone out there give some pointers on how to go about getting a listing of all the web service references used by a WCF application - the pseudo code I'm envisioning might look something like: For each ws in MyWebServices Console.WriteLine("Service Name: " & ws.Name) Next How to build the MyWebServices object is what I ...

Adding Reference - Getting tab to show for .NET, COM, etc.

I'm trying to invoke a ActiveX dll on my computer using a Visual C++ Win32 Console app. When attempting to Add a Reference (via Project Properties) only a Project tab is display. How do I add view other tabs (e.g. COM)? I'm probably missing something very basic here. Update: Sorry my question is so vague. Essentially, I have an serv...

What are the benefits to passing integral types by const ref

The question: Is there benefit to passing an integral type by const reference as opposed to simply by value. ie. void foo(const int& n); // case #1 vs void foo(int n); // case #2 The answer is clear for user defined types, case #1 avoids needless copying while ensuring the constness of the object. However in the above case, the re...

Error with Web Service reference in NetBeans 6.7.1

I have created a java web project to make a servlet. However, it used to work fine before i reinstalled it. the Web Service reference doesnt not show the operations and gives the following error: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found at javax.xml.parsers.Doc...

Does anyone know of a good reference for DSL design?

I've been looking into designing some Domain Specific Languages which I will probably implement in Clojure, but I really don't have any idea of what's involved. The languages I have in mind are intended to be abstract languages that are readable by domain experts with little or no programming background. Does anyone know of any tutoria...

Any readings/books recommended for a beginner mobile Qt developers?

I'm quite new to this mobile development. I just download the Qt SDK from the Nokia web site. My background is C,C++ and I am not very familiar with the visual/IDE kind of stuff. Normally I do things using the console and the vi editor, etc. I have been spending almost 10 years of development mainly on web applications (PHP/Python/Flex...

Returning a pointer vs. passing a reference to an object to store the answer in C++

I have general question regarding the use of pointers vs. references in this particular scenario. Let's say that I have a function that is going to do some computation and store the value inside an object for later use by the caller. I can implement this by using either pointers or references. Although, I would prefer using references ...

Object reference problem

Hi guys! Following problem: I would like to build a little clipboard with jQuery. I have tried several times to store an object in the data of a javascript object with $(object).data('id',objectToStore). Objects can be stored there that works fine. The problem is if I try to insert the stored data I only get a reference to that object....

Default assignment operator in inner class with reference members

I've run into an issue I don't understand and I was hoping someone here might provide some insight. The simplified code is as follows (original code was a custom queue/queue-iterator implementation): class B { public: B() {}; class C { public: int get(); C(B&b) : b(b){}; private: B& b; }; ...

Linking with Apache XML-Security causes unresolved references

I'm trying to build a project on Linux with GCC where one module (my own) require XML-Security (Apache's) as well. However, when linking, I get unresolved references to some functions that are in the XML-Security library. I'm attempting to link statically (or I think so, at least -- I've provided no extra parameters, and I'm using the .a...

How to configure Visual Studio to create all projects including a reference to a specific dll?

I am tired of adding a reference to System.ServiceModel in each project I create. Is there any way to automate this? ...

FxCop: control assembly referenced by analyzed assembly not being loaded

FWIW: Windows 7 64bit, Compact Framework v3.5, FxCop v1.36 (running fxcopcmd.exe) I'm having problems getting FxCop 1.36 to run correctly. I'm analyzing a compact framework application with the globalization rules from http://www.dotneti18n.com/Downloads.aspx the .exe that i am analyzing has a reference to a 3rd party control suite: re...

IronRuby references conflict with System.Linq ?

Using Visual Studio 2010, when I add the four IronRuby references to an existing project that uses Linq in several methods, the project won't compile due to not being able to find System.Linq all of a sudden. Does the IronRuby/.Net 4.0 Framework change the location of Linq or am I missing something? Thanks, Becky ...

Changes to one variable propagates to another...

For example I have two ArrayCollection's - firstAC and secondAC. If I do secondAC = firstAC, and than I make changes to secondAC (prehaps put a filterfunction on it) it somehow propagates to firstAC, would anyone tell me why that happens in Flex or Actionscript 3? What can I do if I only want secondAC to get all data from firstAC but t...

MSBuild: Conditional Construct (Project Reference | File Reference)

I´m still trying to eleminate the need of a cobol compiler in a Project with cobol-Projects in it. Is it possible to create following build behaviour: If the Configuration is Debug then use ProjectReferences on ExCobol.cblproj if the Configuration is DebugVB then use FileReferences on ExCobol.dll When Yes, How to achieve it? I assum...

How do I determine where DLL is referenced?

I have just deployed my VB.net VS2008 winforms solution to the test server. When I did I got an error: Unable to install or run the application. The application requires that assembly Microsoft.Synchronization.Data.Server Version 1.0.0.0 be installed in the Global Assembly Cache (GAC) first. I however do not know why this requir...

Convince entity context (EF1) to populate entity references

I have an entity with self reference (generated by Entity Designer): public MyEntity: EntityObject { // only relevant stuff here public int Id { get...; set...; } public MyEntity Parent { get...; set...; } public EntityCollection<MyEntity> Children { get...; set...; } ... } I've written a stored procedure that retu...