virtual

Virtual machine supporting multiple displays

Is there a way to get MS virtual PC 2007 to support multiple displays? Or is there another virtual machine product available that will allow me to work with multiple displays? At the company I work for we do all of our development in virtual machines. We currently use MS Virtual PC 2007 for this. I would love to be able to spread my mac...

I'm looking for a Windows hosting provider that supports custom os images (like AMZN EC2)

I've come to love Amazon's EC2 service and I'm looking for something similar that supports the ability to save a running Windows server image and start new instances from it. I contacted GoGrid (the feature is planned in future) and Mosso (no joy) Anyone know of any hosting/cloud providers that can dothis? ...

Virtual Constructors.

Is there any need of Virtual Constructors? If so can any one post a scenario? ...

Model - View - Presenter with Virtual Grid

What is the best breakdown of responsibility when using a virtual grid and the MVP pattern in a winforms application. including: Getting callbacks from the grid on user changed cell updates Callback from the grid to set the style and value of a cell given a row and column ...

Where can I get a Postgrsql virtual appliance?

I need a virgin postgresql virtual appliance. I would prefer it on linux. ...

C#: Virtual Function invocation is even faster than a delegate invocation?

It just happens to me about one code design question. Say, I have one "template" method that invokes some functions that may "alter". A intuitive design is to follow "Template Design Pattern". Define the altering functions to be "virtual" functions to be overridden in subclasses. Or, I can just use delegate functions without "virtual". T...

Invoke() and BeginInvoke() behaving differently when executing an overridable method via a delegate

Can anyone tell me why this code behaves the way it does? See comments embedded in the code... Am I missing something really obvious here? using System; namespace ConsoleApplication3 { public class Program { static void Main(string[] args) { var c = new MyChild(); c.X(); Conso...

C++ Parent class calling a child virtual function

I want a pure virtual parent class to call a child implementation of a function like so: class parent { public: void Read() { //read stuff } virtual void Process() = 0; parent() { Read(); Process(); } } class child : public parent { public: virtual void Process() { //process stuff } child...

Writing a Virtual Printer in .NET

I'm looking to create a virtual printer that passes data to my .NET application. I want to then create an installer that installs both the printer and the .NET application. It would we really nice to be able to write it all in C#, but I have a feeling that this will require a printer driver to be written is unmanaged code. Does anyone ...

Back-end choice for a new dynamic programming language?

I've been developing a Smalltalk variant for just the fun of it and I wonder what would be a fellow stackoverflowers choice when it comes to targeting a back-end. These were my current considerations: .NET, JVM: These two VM's are mainly for statically typed languages and I assume it would be quite hard to target such a dynamic language...

C++: CRTP to avoid dynamic polymorphism

How can I use CRTP in C++ to avoid the overhead of virtual member functions? ...

SQL Reporting Services cannot configure virtual directories

I have an issue where we tried to upgrade our TFS 2005 server to 2008. During the install we encountered the error that it could not configure SQL Reporting Services. The log files showed that during the creation/configuration of the virtual directories for SQL Reporting Services (the Reports directory to be exact) a FileNotFoundExceptio...

delete or virtual delete?

I am writing a lib and a demo project. The project doesn't care which version of the lib I use (I can use sdl, directx or whatever I like as the gfx backend). To get the object I do Obj *obj = libname_newDevice(); Now, should I use delete or should I do obj->deleteMe();? I ask because I am not exactly doing new so I shouldn't be doin...

Elegant Object comparison

When comparing two objects (of the same type), it makes sense to have a compare function which takes another instance of the same class. If I implement this as a virtual function in the base class, then the signature of the function has to reference the base class in derived classes also. What is the elegant way to tackle this? Should th...

Virtual keyboard in Symbian S60 5th edition: Which API to use?

How (i.e. using which API) is the virtual keyboard opened on Symbian S60 5th edition? The documentation seems to lack information about this. ...

Does the virtual keyword in Flex 3 cause a performance hit?

As the title says really. Does the virtual keyword cause a performance hit? ...

C# How to translate virtual keycode to char?

I am trying to map a virtual keycode to a char. My code uses ProcessCmdKey to listen to WM_KEYDOWN which gives me access to the key pressed. For example, when I press single quote I get a key of 222 which I want to have it mapped to keychar 39 which represents... you guessed it... single quote. My dev context is: - .net Framework 2.0 -...

Can you ever have too many "protected virtual" methods?

Here's a question for those of you with experience in larger projects and API/framework design. I am working on a framework that will be used by many other projects in the future, so I want to make it nice and extensible, but at the same time it needs to be simple and easy to understand. I know that a lot of people complain that the .N...

How do I access database via virtual folder which points at a remote share

I'm having a problem getting access to a database which lives on a remote server. I have a ASP.NET 2.0 webpage that is trying to connect to a database. The database is accessed via a virtual folder (which I set up in IIS). The virtual folder points at a remote share which contains the database. The virtual folder (in the web apps ...

Missing 'virtual' qualifier in function declarations

Whilst trawling through some old code I came across something similar to the following: class Base { public: virtual int Func(); ... }; class Derived : public Base { public: int Func(); // Missing 'virtual' qualifier ... }; The code compiles fine (MS VS2008) with no warnings (level 4) and it works as expected - Func i...