visual-studio-2012

WPF C# application will freeze my whole computer ever 2-3 times I run it

拥有回忆 提交于 2019-12-14 03:46:16
问题 I put a lot of information in this issue because I have no idea what will be relavent Issue: I am having an issue with a program I am working on where when running it, it will freeze my whole computer and return no error (I am completely incapable of doing anything CTRL+ALT+DEL doesn't even work). This program accepts a connection from a android client and atm the android client is not configured correctly so the connection is being rejected. Question: How can I stop my program from freezing

Can I accidentally harm system files or personal files with Visual Studio 2012

感情迁移 提交于 2019-12-14 03:26:50
问题 I do apologize for the lack of knowledge in this matter but it is very important for me, so at least I'll give it a try. I am using Visual Studio 2012 express on Windows 7 ultimate, I have written some very basic a silly program to practice structures in the C language. Unfortunately, one of the methods that I've written had a wrong condition to stop and it goes to an infinite loop and the worse part it exceeds the given array boundaries. I will add the code below BUT THE CODE IS NOT my main

SSIS 64 bit vs 32 bit

牧云@^-^@ 提交于 2019-12-14 03:25:53
问题 I am developing an SSIS package in VS 2012 that is being deployed to SQL Server 2012. The package is pulling data from an external database with a 32 bit driver and loading it into SQL Server 2012. I have the package set up so that it is using project parameters to store the connection strings. I can run the package from VS and I can also run the package via 32 bit dtexec. I cannot run the package from the SQL agent. I have the job set up so that it is using a ssis proxy account. I have also

Can I pass a parent object and rebuild it on the other side of a function?

家住魔仙堡 提交于 2019-12-14 03:24:26
问题 using these classes public class Parent { public int parentInt; } public class Child: Parent { public string childString; public Child(string passedString, int passedInt) { childString = passedString parentInt = passedInt } } I want to write a function that does stuff like this: public static void DoSomething(Parent passedParent, Type passedChildType) { ScreenRecorder.Start() //print all of parents properties //print all of the specific child's properties if possible } I want this function to

Partial specialization of nested template types produces “internal error” in VC++ 2012 compiler

亡梦爱人 提交于 2019-12-14 02:48:02
问题 In the following example, I have an object class which defines a reference class. Both accept mutability as a template argument. In the case that 'obj' is 'Const', I want to disallow a reference of type 'Non_Const'. The example produces the ambiguous message, "An internal error has occurred in the compiler," in Visual C++ 2012. Should this compile? If not, why, and is there another way to accomplish the same thing? enum Mutability {Const, Non_Const}; template <typename T, Mutability U> class

Has Anyone Actually gotten NVCC and the intel compiler to work together?

那年仲夏 提交于 2019-12-14 02:43:57
问题 Lots of questions out there on trying to get NVCC to use the intel compiler. It doesn't work, I get that. The most common answer that people give is to compile the device code into a library using NVCC/cl.exe and then compile the host code separately and link them. I'm attempting this, but am getting nowhere. In VS2012 I have created a solution with 2 projects - one CUDA, the other a console application. I have set the CUDA project to compile with VS2012 into a static library. It compiles no

C++ Error: name followed by '::' must be a class or namespace name. WindowsForm in DLL

戏子无情 提交于 2019-12-14 02:33:34
问题 So i made a windows32 C++ dll application in visual studio 2012 and then i added a windows form in the header files section and gave it the name "UserInterface.h". When i clicked the Add button i got a popup saying "You are adding a CLR component to a native project. Your project will be converted to have Common Language Runtime support. Do you wish to continue?" and i clicked yes and it made the files "UserInterface1.cpp" and "UserInterface1.h". but in the "UserInterface1.h" there are errors

Why I can't detect touch screen?

血红的双手。 提交于 2019-12-14 02:21:08
问题 I'm using this C#(wpf) code to detect touch screen on return Tablet.TabletDevices.OfType<TabletDevice>().Any(dev => dev.Type == TabletDeviceType.Touch) But it is not working. Tablet.TabletDevices Count is always 0. I'm using extension touch monitor(use USB connect PC for touch detect) Is there any better way to check if current PC has touch screen or not? Thanks. Update1: I don't know why but even when I remove the touch screen USB and monitor, GetSystemMetrics(SM_MAXIMUMTOUCHES) still

Configuration of publishing an ASP.NET web site

牧云@^-^@ 提交于 2019-12-14 01:36:48
问题 Forgive my ignorance, though I am new to this. I've search a lot but can't seem to come to a definite conclusion, so any information is appreciated. So to the question: Is there a built-in configuration for web site publishing in MS Visual Studio called "Release"? The reason I'm asking is that some have told me it is, but I can only find the "Debug" configuration in Visual Studio. So, if there's supposed to be a "Release" as well, how can I get it or can I manually add a new equivalent? 回答1:

Visual studio issues after installing visual studio 2013

倾然丶 夕夏残阳落幕 提交于 2019-12-14 01:29:06
问题 I have Windows 8 machine. I had visual studio 2010 and Visual Studio 2012 installed on my computer. I installed the visual studio 2013 preview, and the 8.1 WDK. After I installed Visual Studio 2013, my old project in C++ wasn't able to be compiled (in Visual Studio 2012) so I uninstalled Visual Studio 2013 and the WDK. But the issue remains, i cannot compile my C++ project. I get error message such as "Windows.h cannot be found" I looked at the include directory and saw that I have the