The problem I am having is with the following
ID3D10Texture2D *pBackBuffer;
hr = mpSwapChain->GetBuffer(0, __uuidof(ID3D10Texture2D), (LPVOID*) &pBackBuffer);
Below is my code...
#include "DX3dApp.h"
bool DX3dApp::Init(HINSTANCE hInstance, int width, int height)
{
mhInst = hInstance;
mWidth = width;
mHeight = height;...
i do a localized application using silverligth 4.
after changing my culture thread i do
LayoutRoot.Children.Clear();
MainPage MyPage = new MainPage();
LayoutRoot.Children.Add(MyPage);
but i get an error "value does not fall within the expected range"
how can i reload the layout to apply the language changing
...
say I built an application called App1 with a lot of classes in a single project. And I decide that I want to build another project called App2 and I want to use those same classes so I decide to turn App1 into a lib file. Must I remove the WinMain function to do so or can I leave it and the compiler will ignore the winMain in the lib fi...
I have two FOR loops that the outer will repeat 64 times
some where I know there is a index out of bound error
How can I set a good break point or try/catch block,etc that exactly shows me the index and line of code that is causing the problem.
( C# WinApp)
Thanks all.
...
I checked out the microsoft documents. it shows how to create a static library upon creation of the project. but not necessarily on how to convert a previously made project, into a static library. So my question is, where do I go to turn my previously made project, into a static lib. so I can include it in my other projects
...
Can someone please tell me how to get the DB2 provider to show up in the "Change Data Source" dialog window?
Steps:
Right-click on the edmx design surface.
Select "Update Model from Database"
On the Update Wizard, click "New Connection"
Next to the "Data source" textbox, click "Change..."
In the Change Data Source window, I am only ...
I'm working on a .NET Compact Framework 3.5 app. I have an automated build machine that does not have Visual Studio installed, and all has been fine.
I'm trying to a a new solution containing control projects that have DesignTimeAttributes.xmta files. MsBuild on the build machine is failing with cannot find file, C:\Program Files\Micr...
I have created a background worker to go and run a pretty long task that includes creating more threads which will read from a file of urls and crawl each. I tried following it through debugging and found that the background process ends prematurely for no apparent reason. Is there something wrong in the logic of my code that is causing ...
I have some content files that I would like to share between a number of projects in Visual Studio.
I have put these files in their own project, set the build action to "Content", and the copy to output directory to "Copy if newer". I would like all these files to be copied to the bin/debug directory of the projects that reference them...
Any ideas how to force a GAC DLL into referenced?
Here is my issue, I constantly use a 3rd party DLL that registers itself into the GAC, and when I use it in my project, it reads it from the gac, and when I deploy, I'm always forgetting to add the DLLs since it is not located in the Bin/Referenced folder.
Anyway to force Visual Studio ...
VS Version 10.0.30128.1 RC1Rel
I have a solution that contains an F# Library and an F# Console application, which references the library (through the referenced projects). I want to be able to step into the library from the console APP, but it is stepping over instead.
Is this a known issue? Has anybody had success accomplishing de...
Imagine i have a program doing a lot of things wasting about 90% of CPU.
I need a way to know (through visual studio) where the program are wasting CPU.
...
I had hoped that Visual Studio 2010 would have brought some improvements to the Schema Comparison function. I suspect there are some, but I can't get something basic working. I've sucked in a schema from a SQL Server 2005 database. Then to assure things were working, I did a schema compare choosing the database as the source and my sc...
I have a scripted database SQL file that I need to execute inside Visual Studio to create a new database. I am so far unable to locate any function that allows me to do this.
...
Hi folks,
what's the purpose of the 'Refresh' command on the solution explorer window?
(When we select a project, the button is enabled)
TIA
...
At home I've been running VS 2010 on a Windows 7 x64 machine without any issues, however at work we recently switched over to VS 2010 running on WinXP SP3 x86 - and I gotta say, the experience is terrible.
There are severe graphical glitches. For ex,
Intellisense doesn't quite work. You can start typing and the intellisense dropdown ...
I have the following code in a win32 app that shows a drop down menu on clicking a button. However, this does not work in WinCE as MENUINFO is not defined. Is there any way I can get around this? I need to view a drop down menu on clicking a button, and the name appearing on the button changes depending on the option on the menu.
void C...
I'm trying to link my project with fftw and so far, I've gotten it to compile, but not link. As the site said, I generated all the .lib files (even though I'm only using double precision), and copied them to C:\Program Files\Microsoft Visual Studio 9.0\VC\lib, the .h file to C:\Program Files\Microsoft Visual Studio 9.0\VC\include and the...
Which version of Visual Studio Express should I use to develop an HTA application that will script Word and Excel and connect to a web service?
Should I download the web edition because hta files are like web pages, or should I download one of the others because hta files work on the local machine? Or is there another IDE I can use?
...
We're building a C# app that uses an external DLL for Sqlite.NET. This is a .NET dll but it embeds a C dll inside it and so it comes in x86 and x64 flavours.
We add a reference to the x86 version in the project so when we build and run on x86 it's fine. Visual studio copies the dll to the bin folder and runs.
On x64 it still copies t...