|
by: Eduardo Suárez |
last post by:
Hi,
i have tried to understand how static variables work on a dynamic
library, but there's a point i can't see.
* Is the data segment (where static variables live, please confirm)
copied for every binary that is running linked to the library? This is
what it seems from my own experiments. That is, there is a copy of every
static variable...
|
by: Chris Clement |
last post by:
I have been handed a project that someone else started and most of it was
developed in the VS.NET design mode. For whatever reasons, when I try to
make changes to the controls in VS.NET design mode, I suddenly get a ton of
these errors:
cs(1189): 'class.form.checkedListBox1' denotes a 'field' where a 'class' was
expected
I was not...
|
by: Vivek |
last post by:
Hi People,
I want to change the default printer of the machine. I tried this.
PrinterSettings pdDefault = new PrinterSettings();
pdDefault.PrinterName = "PrinterName";
It did not work. Please guide.
|
by: Wysiwyg |
last post by:
I'm new to c# programming and can't figure out how to avoid duplicating
common code in multiple classes when I'm restricted to using different
system base classes.. I'm using c# in asp.net to write a web application but
this isn't specifically a web question.
I have two classes which must inherit a different System class, in a
specific case...
|
by: Tom Pearson |
last post by:
What is the scope of static variable when programming in ASP.NET?
For example I have a control class that uses static callbacks so that another window can pass a list of items to it. The control doesn't have access to this other object so needs to subscribe to the static callback. As such the static callback then needs to get hold of the real...
|
|
by: Philip Wagenaar |
last post by:
I need to send printjobs to a printqueue under diffrent usernames. The
printsoftware on the queue is not very 'secure' so I can create a user on 1
system and send a printjob under it's name to the printqueue.
This is why I created a program that picks the username out for the .PRN
file, creates a local user, copies the PRN file the network...
|
by: Samuel R. Neff |
last post by:
Is there any way to declare a static variable within a generic type
definition and have that variable be shared across all constructed
generic types?
For example, how can I modify this code:
private class C<T>
{
public static int Counter = 0;
}
|
by: Max2006 |
last post by:
Hi,
I am trying to make our business logic layer components more efficient. We
use strongly typed datasets and TableAdapters.
Is it a good idea to use a static TableAdpater to share the static instance
among all sessions?
My business logic components are like this:
|
by: =?Utf-8?B?UmljY2FyZG8=?= |
last post by:
Hi everybody,
I have a c# dll and I want to call the class library from several
applications.
I need some variables to be static in the memory space, not locally to each
process.
Thus, if application A modifies the variable X of a class contained in the
dll, application B should be able to see the changed value.
Does anybody has any idea of...
|
by: =?Utf-8?B?cGlwZGV2?= |
last post by:
Two PCs linked by ethernet cable:-
This one - Clarencetoo
The other - Claratoo
both running XP
cannot share printer attached to Claratoo with this PC. This is a new
problem as of some 3 or 4 months ago.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|