I have two machines in two different domanins. On both I have VS 2005 installed. I want remote debug between them. Without autentication it is possible but I want to debug managed code. I don't want to debug directly since it is really crappy machine.
When I try to attach wiht debugger I get message "The trust relationship between this ...
I've been writing C / C++ code for almost twenty years, and I know perl, python, php, and some java as well, and I'm teaching myself javascript. But I've never done any .NET, VB, or C# stuff. What exactly does "managed" code mean? Wikipedia describes it simply as "code that executes under the management of a virtual machine", and it spec...
Just curious here: is it possible to invoke a Windows Blue Screen of Death using .net managed code under Windows XP/Vista? And if it is possible, what could the example code be?
Just for the record, this is not for any malicious purpose, I am just wondering what kind of code it would take to actually kill the operating system as specifi...
On Win32, with unmanaged code, the return value is usually stored in the EAX register. This is useful when the program doesn't save the return value in a variable. This can easily be seen in the Visual Studio debugger.
Is there an equivalent for managed code?
...
I learned windows programming using Visual C++, and the Win32 API. Nowadays, it seems most apps are being developed in .NET using C#. I understand that most of the time there isn't much performance difference between native code and managed code. So I'm wondering, if I were to start writing a new desktop app today, is there any reason (o...
I have to work with SQLSERVER SMO in C++. Is Managed code is the only way to work with SQLSERVER SMO in C++ ?
I have tried many ways.. but I found that using managed code is the only option. Are there other ways?
...
Most of the lists I have seen comprise:
C#
VB.Net
Other .NET language
What languages fall into the "Other" category?
I've come across:
Delphi
C++
Cobol.Net
Chrome
I'm sure there must be others?
...
Note that this is not about the .NET CLR that Microsoft is thrusting into the atmosphere to evangelize the concept of managed code. Most of you know that managed code has been around for quite some time and isn't very related to rocket science.
What I would like to know is why the concept of runtime security in the evolution of computer...
Why can't a compiler be written that manages what needs to be managed in C++ code (i.e. to make it "CLR compatible")?
Maybe with some compromise, like prohibiting void pointers in some situations etc. But all these extra keywords etc. What's the problem that has to be solved by these additions?
I have my thoughts about some aspects and...
I have a C++ DLL returning an int* to a C# program. The problem is the int* in C# remains null after the assignment.
When I assign the C++ result to an IntPtr, I get a correct non-null value. However any attempt to convert this to an int* results in null.
I've tried:
IntPtr intp = cppFunction (); // Non-null.
int* pi = (i...
What are the benefits or advantages to using a tree structure in a managed language or framework over flat structures provided by said language or framework, aka .NET, and are there any libraries for such a structure?
...
I am trying to creating a bounding box for a windows mobile device application.I honestly have no idea where to start looking. I am currently using the CameraCaptureDialog Class to capture images , do i need to override the class to implement this ?
...
Hi,
We have a number of people working on a project. Is there any tool that will scan and check my entire solution if it has any unmanaged code or non-typesafe code ?
The objective is to host the entire solution with completely managed code, find the loopholes and fix them to be type-safe and managed code.
What are the common loophole...
Managed languages being the ones that handle memory cleanup for you.
EDIT I'm not talking about garbage collection. I was just interested in knowing about languages that would free() memory for me automatically, and still compile down to machine code.
...
If I want to run a program in windows PE (Vista or 7) am I not allowed to use any level of managed code?
Can I only have c++ code that doesn't reference any dotNet code?
How can I interact with windows? Do I have to use user32.dll type files to carry out various operations?
...
Hey,
I'm new to SQL Server development and I need to deploy an unsafe UDF assembly to a 2005 server.
I'm using C# and VS2008.
I need to know what are the steps that i need to take to allow smooth deployment of unsafe assembly to the client's machine - the client's DBA is a very strict fellow so i need to satisfy him with a good reasons f...
Hello,
I need to find out the version of an assembly deployed to an SQL Server database.
I need to do it via script or other programmatic way to know if i need to redeploy the assembly.
Any ideas?
Thanks.
...
In my experience, .net is 2 to 3 times slower than native code. (I implemented L-BFGS for multivariate optimization).
I have traced the ads on stackoverflow to
http://www.centerspace.net/products/
the speed is really amazing, the speed is close to native code. How can they do that?
They said that:
Q. Is NMath "pure" .NET?
A. The ans...
Lets say you want to write a high performance method which processes a large data set.
Why shouldn't developers have the ability to turn on manual memory management instead of being forced to move to C or C++?
void Process()
{
unmanaged
{
Byte[] buffer;
while (true)
{
buffer = new Byte[10240...
My whole application (which is rather big, with a 20MB executable) is written in unmanaged C++.
Because I can clearly see the advantages in using managed code, I want to start introducing managed code in my application, but where do I start?
Can I easily start to use C++/CLI and link it with the rest of my application? (although the C++...