I was reading that memcpy takes the number of bytes from a source location and adds it to a destination location. Does this mean that memcpy could possibly change datatype entirely ??
memcpy(DoubleOne, CharTwo, strlen(CharTwo));
considering that both values are empty still.
...
Greetings,
my program exits with the code 3. No error messages, no exceptions, and the exit is not initiated by my code.
The problem occurs when I am trying to read extremely long integer values from a text file (the text file is present and correctly opened, with successful prior reading).
I am using very large amounts of memory (...
I have a project which references a dll in the same solution (called "Common"). Common has two types of errors with the same names but different namespaces i.e.
Common.Login.UserDeleted
Common.Imaging.UserDeleted
When I type UserDeleted visual studio recognizes both of these and asks for which it is ("ambiguous reference"). I right-cli...
Visual Studio 2010 has no longer uses .vsprops files and instead uses .props files.
To include a .vsprops file in a Visual Studio 2008 project, one could right-click the project icon in the Solution Explorer panel, choose Properties, go to the Configuration Properties | General section, and modify the Inherited Project Property Sheets p...
Hi all,
I am using TFS 2008 and Visual Studio and my boss has instructed me to implement Build Automation for Development and Release builds for a web Project.
I am a total newbie in Build Automation.
There are multiple developers working on the project on different machines using Visual Studio 2008 team System. Source is already be...
I am working on a large project, and one of my tasks is to remove possible memory leaks. In my code, I have noticed several IDisposable items not being disposed of, and have fixed that. However, that leads me to a more basic question, how do I find all classes used in my project that implement IDisposable? (Not custom-created classes but...
When I built this new PC I didn't install VC++ 6.0 as I didn't think I'd ever need it again.
However, I've just discovered I need to rebuild a really old application. It doesn't compile under VS 2008 (which isn't surprising since it hasn't been touched in 7 years) and as my C++ skills are a little rusty I don't have the time to try and ...
I'm trying to debug an ASP.NET web application in this environment:
Windows Server Standard 2008 SP2 x64
Single-core CPU
4GB RAM
Visual Studio 2008 with Remote Debugger SP1
.NET 3.5 Web Application running in IIS in 64-bit mode
The code I am trying to debug is a simple event handler with some basic sequential code.
What I observe is ...
i have successful created asp.net web deployment project under visual studio 2008 and everything works fine.
However there is a new requirement from my user where they want to browse the location to install the web application instead of using the default install location. Is there anyway to achieve this ? or do i need to use some thir...
My common scenario: I have a web app and a test project in the same solution. Maybe I'm missing something, but I can't test methods/snippets from the Immediate Window regardless of which project. MSDN alleges you can't use syntax like
?TestMethod123(args)
from the Immediate Window while in web type project. So, why can't I throw a met...
Hello,
I am going through the process of trying to figure out how a library of code works. I would like some sort of tool that would analyze the program that I run off of the library and tells me what functions are called in what order by each thread. Does such a tool exist? What google terms would I use to find such a program?
Note: ...
I'm kind of hoping the answer will be "No, it will only create a single Web Site, and not an FTP Site", since I'm half way through writing some WMI code to create the FTP site.
...
Hi All,
I have a msi created for a project which uses C# & Jscript. version-1.0 is currently public. I want to release a bug-fixed version v-1.0.1 of this package but while testing it, I am getting "Another version of this product is already installed Installation of this version cannot continue.To configure or remove the existing vers...
Hi,
Usually I am a web developer so this is probably a very novice question. I recently made an app in VB2008, but I developed it in a huge reso (1920x1200). The person that will be using it still uses 800x600 reso. Is there any simple way I can resize the entire interface to fit any resolution? I didn't really think about it at all whi...
So I am trying to run console 64 bit Hello World program.
I have Windows 7 Enterprise x64 bit version.
I have installed Visual Studio 2008 and have added all of components needed for 64 bit.
I want to create simple console application.
It turns out to be a problem.
I have simple standard hello world project.
I have created it using...
Is there any way to use the "Run As" option in Windows XP in conjunction with Visual Studio's debugger, to debug an issue that occurs in my application only when certain users are logged in?
I have ran the application from my machine using "run as" to pretend to be the user in question, and I got the same error as they did. I would like...
I'm working on creating a date/time user control in WPF using C# 2008. My first user control. I'm also using Matthew MacDonald's book, "Pro WPF in C# 2008". In that book he strongly recommended creating a user control using the WPF Custom Control Library project template; so I followed his suggestion. I've finished writing the code w...
Hey all!
My web.config no longer has Intellisense nor colour highlighting. It looks like a regular text document. Any idea why this would occur?
Thanks!
...
I know that this is a subjective question...
Typemock is $799 per developer. Licences for 5 devs comes up to a pretty large sum. If someone here used Typemock and given that there are open source mocking frameworks, is it worth the money? Why?
...
I really like VS2008 but I was wondering if someone has workarounds for these annoyances:
When I open a /* ... */ comment block, VS insists on placing a '*' character on every new line. That's nice, but sometimes I don't want that at all. Is there a way to turn it off? The formatting section in the Options dialog for the C# editor does...