I am looking at sharing my class library code between .NET 3.5 and Silverlight 3.
Since I am mainly developing for .NET, I am looking at auto-generating the Silverlight project file(s) from the corresponding .NET project file(s).
Thus, I have a T4 file, which complains in Silverlight with the following error message:
Error 1 Comp...
I have two processes P1 and P2.
I have this large read-only resource, called "R" that I want both P1 and P2 to have access to.
R is not just a "flat" group of bytes; it's a bunch of C++ objects that point to each other.
I would prefer that P1 and P2 only share one copy of R -- somehow have P1 load R into a region in memory (that's mma...
We are working on integrating two different applications that run simultaneously and share data. One application provides the data, the other one computes some values based off external systems and the data and has to provide it back to the first application.
We are using this library to share the data between the applications: http://g...
Hey folks,
I've got a client<=>server app I'm building for Mac OS X, using Objective-c/Cocoa and xCode. I've created a different project for both the apps I have, and I'm wondering the best way to share classes between them. There are several classes I've made that would be useful to both. This far I've been copying them around, but I f...
I have an interesting situation and here it is:
My intention is to access a computer/desktop remotely, but there are some constraints.
There are 2 machines. MC1 & MC2 respectively. Both of different networks.
MC1 is behind a NAT. its has local IP addressing 192.168.x.x. MC2 is on a separate network.
MC1 can access MC2 using its (MC2s)...
Would it be possible to create a MVC root application (Portal with masterpages and themes) and add a couple of WebForms based subprojects (we already have an existing WebForms application that we would like to integrate into the Portal)?
How would you centralize navigation (sitemaps, url routing)?
How would you share the masterpages?
Ho...
Hello All
I was thinking about client sharing for a server that could be accomplished by client side execution with little or no help from the severs end, and came up with this -
Pardon me if it sounds silly, bu here I go -
The server has a table which stores the fields of server names, server ip addresses and the corresponding Ip ...
I currently have a free application on the market and I'd like to offer a paid version of it as well. Once the paid version is installed, I want to import the db and shared preferences from the free version so users can uninstall it without losing anything.
The problem is this: in my free version, I don't have a android:sharedUserId se...
What would be the best practice for sharing localization object (in this case ResourceBundle, where I do save all translations) across many GUI objects in app? I have few ideas, but both have drawbacks:
1) passing ResourceBundle via each GUI class constructor, but then I need to save it inside every class (for later use) - means having ...
Is there best practice for managing Object shared by 2 or more others Object. Even when running on different thread?
For example A is created and a pointer to it is given to B and C.
ObjA A = new ObjA();
B->GiveObj(A);
C->GiveObj(A);
Now how can I delete objA?
So far what I though about is A monitor how many ref there are to it and w...
Hi,
I am writing an application, where I do have few different windows implemented, where each window is a separate class. Now I need somehow to pass a single configuration object to all of them. My GUI is designed in way, where I have one main window, which may create some child windows of its own, and these child windows can have thei...
Hi everyone,
I have a question but I'm not sure of the word to use.
My problem: I have an application using a database to stock information. The database can ben in access (local) or in a server (SQL Server or Oracle). We support these 3 kind of database. We want to give the possibility to the user to do what I think we can call versio...
I'm struggling with multi-threaded programming...
I have an application that talks to an external device via a CAN to USB
module. I've got the application talking on the CAN bus just fine, but
there is a requirement for the application to transmit a "heartbeat"
message every second.
This sounds like a perfect time to use threads, so I ...
Hello
Does anybody know what tool used while podcasts were recorded here: http://www.asp.net/mvc/application-development/
For example at lesson #17 (with Atwood)
The sample of what i'm talking about you can see at 6m28s at the window title, near minimize/maximize/close button. There is a green circle with "Currently sharing"
Cannot g...
I have two different .Net projects, hosted on github.
I would like to create a shared "commons" library for the two projects.
How should I structure my repository to facilitate this sharing?
Ideally, a change in this common library in one project could easily be pushed into the other project. I prefer to keep the code itself editable ...
Is there a way to learn the username of the user that has a file open?
I am developing a program that will be a desktop client for many users. The application will open some files and I'd like to allow many users to open the files at the same time, but only allow the first user to have write privileges. What I want is to be able to te...
This article http://support.microsoft.com/kb/324785 indicates that you have to setup virtual directories to share pages and user controls between applications. This is not an option for me. I just want to share a few pages between two applications. Is there any other way or do I have to duplicate code by adding it to both apps?
...
My coworkers and I share an 8-core server running Ubuntu for our batch processes. I tend to run 4 processes at a time, each of which consumes 100% CPU per core when nothing else is running. When a coworker runs his processes (typically about 4 at a time), his also get 100% per. However, when both of us run ours (he always goes first),...
Hello,
Can i share one application related data with another. Say I have a music file in resources/raw folder of apk2. Can I use the same file in apk1.
thx...
...
I need a solution where I have a single windows service providing access to cached data to various consumers: To an MVC web application, a .Net Assembly (COM interop) used within an classic ASP page, other windows services, a windows forms application. So the data must be accessible from various processes. The data being cached is read-o...