In xp 32bit this line compiles with not problem however in vista 64bit this line:
m_FuncAddr = ::GetProcAddress (somthing);
gives the following error
error C2440: '=' : cannot convert from
'FARPROC' to 'int (__cdecl *)(void)'
GetProcAddress is defined as
WINBASEAPI FARPROC WINAPI GetProcAddress (somthing)
And m_FuncAddr as...
C++ guarantees that variables in compilation unit (.cpp file) are initialised in order of declaration. For number of compilation units this rule works for each one separately (I mean static variables outside of classes) , but order between them is undefined.
Where I can see some explanations about this order for gcc and MSVC (I know tha...
Hi,
My current solution for renaming the project folder is:
Remove the project from the solution.
Rename the folder outside Visual Studio.
Re-add the project to the solution.
Is there a better way?
...
I have a test web service replicating a live web service that hasn't been made public yet (It will be public when the app is released).
I added a new ASP.NET Web Service Application to my solution. Now when I try and add a web reference from the main project and choose "Browse To Web services in this solution" it doesn't find the test w...
I am trying to come up with such a solution that the user is going to enter the URL of a web-service and it is going to be tested.
Althogh what I want is a URL change, I guarantee the Service Description is always going to be the same (except the wsdl:service tag of course which contains the soap:address); I just want to test different ...
I've recently heard about the CaptureStackBackTrace function by reading this post. I cannot find it in any of my Visual Studio 2005 header files however, and I'm guessing (from the MSDN URL which mentions VS.85) that this may only be a Visual Studio 2008 thing.
Is there a way, perhaps by manually finding the entry point in a system DLL...
OK, so see questions like this one and this one and the question I have is - does one have to use Expression Blend to do Silverlight development or can any of it be done with just Visual Studio? (2008, in this case)
I haven't gotten started using Silverlight yet and through my workplace's MSDN I can get Expression Blend without any issu...
I have a header file like this:
#ifndef __GEN_NOTE_MARKERS_TO_DEVELOPERS_HPP__
#define __GEN_NOTE_MARKERS_TO_DEVELOPERS_HPP__
#ifdef _DEBUG
// macros for turning a number into a string
#define STRING2(x) #x
#define STRING(x) STRING2(x)
#ifdef TRIAGE_MESG_AS_WARNING
#define TRIAGE_TODO_TAG(description) __p...
I have a Microsoft Access database query that I'm trying to import into a Visual Studio 2005 dataset.
When the query is formed using an NZ() function like this:
SELECT NZ(tblComponentSpecs.nPurchaseCostQuantity, 0) AS Quantity
FROM tblComponentSpecs;
it appears under the Functions list in the Data Connection.
However, when the query...
With the recent announcement of .NET 4.0 and Visual Studio 2010, it is becoming ever more difficult to keep track of what .NET Framework versions build on what version of the CLR and belong with which version(s) of Visual Studio.
Is there a definative table that shows these relationships?
...
I have a few batch files I need to run frequently in developing a certain project. I'd like to create a Visual Studio toolbar called "MyProject" and have commands underneath to execute these batch files. What is the easiest way to accomplish this?
...
Hello,
We're looking at upgrading from Visual Studio 2005 to Visual Studio 2008. I discovered the following disturbing comment:
http://msdn.microsoft.com/en-us/library/6sehtctf.aspx
"Beginning with Visual C++ 2008, Visual C++ does not support targeting Windows 95, Windows 98, Windows ME, or Windows NT."
Does this mean that if we rebu...
I'm using VisualSVN client and server and one of the requirements for web projects to work as expected is to have the .sln in the same directory (root) as the other files.
I thought it was as simple as removing all the extra parent paths ../ and other relative paths and saving it. However when I try to open it just locks up Visual Studi...
It's just so much HRESULT E_FAIL, if you know what I'm talking about. And if you use Visual Studio, you know what I'm talking about.
Similar thread, but not a duplicate: Is the design view for aspx pages in Visual Studio useful?
Any insight, including input from Microsoft MVPs (oh, I know you're out there) would be super cool.
...
In my java development I have had great benifit from the jad/jadclipse decompiler. It made it possible to know why a third party library failed rather than the usual guesswork.
I am looking for a similar setup for C# and Visual Studio. I.e. a setup where I can point to any class or variable in my code and get a code view for that partic...
After reading this previous discussion and this one, it looked as though Crashrpt was exactly what I was looking for, but it seems it's no longer being maintained and, after playing with it, found it doesn't work well with Visual Studio 2005.
Is anyone using Crashrpt with Visual Studio 2005?
If not, can anyone recommend a good C++ solu...
How hard would it be to use GCC instead of VC++ from within Visual Studio 2008? Obviously, some of the keywords won't match, and some may not get syntax highlighting (unless you made a new language service).
Is this what a 'makefile project' is for, pretty much?
...
hi...
i want to know how to edit a single row (which i select) from a data grid
for example i have a datagrid with columns A, B and C
and i have a couple rows of data, approx 10 rows.
lets say i want to change the value of data within row 4.
how would i do this?
i am using visual studio 2003, but i guess if visual studio 2005 would ...
After reading this discussion and this discussion about using CrashRpt to generate a crash dump and email it to the developers, I've been having a difficult time finding any instructions/tutorials for configuring the email settings used by the library to send the email.
When you call the install() function to initialize CrashRpt, you sp...
When debugging, a trick I do whenever I want to exit the current method without running of its any statements, I move the current execution pointer to the end of the method, then click F10/11.
Is there a keyboard shortcut (or can I program one) to accomplish this?
(I don't mean shift-F11 (step out) - that does run all the code until th...