visual-studio-2008

wince 6 smart device Could not establish secure channel for SSL / TLS error

不打扰是莪最后的温柔 提交于 2019-12-18 09:17:46
问题 I have a web service which i need to access through https. We have a workbout pro 4 with win ce 6.0 running on it. When we were developing our app we had tested it through http. wihtout any problem. When we went live and needed access to https based server we have received the error stated on subject field under VS 2008 Smart Device Project. On the device we receive an error "could not display..." . We have tried to import the standard certificate issued by global si. We still have no success

click on a link event webbrowser c#?

不打扰是莪最后的温柔 提交于 2019-12-18 09:04:47
问题 I want to open a link in IE browser from the web browser control in my winform ... the webbrowser control navigate to a page when the user click on a link it opens in the internet explorer browser. 回答1: Basically handle the WebBrowser.Navigating Event, cancel the navigation and open up the url in explorer like this: private void WebBrowserNavigating(object sender, WebBrowserNavigatingEventArgs e) { e.Cancel = true; Process.Start("iexplorer.exe", e.Url); } 来源: https://stackoverflow.com

CMake generate Visual Studio 2008 solution for Win32 and x64

社会主义新天地 提交于 2019-12-18 09:04:13
问题 I am using CMake 2.8 under Windows XP and want to generate a Visual Studio 2008 solution file which contains Release and Debug configurations for both Win32 and x64. Can this be done by setting a CMake configuration variable in the CMakeLists.txt file? 回答1: The CMakeLists is not where you specify the generator ( makefile, XCode, Visual Studio ) for a project. The generator is specified when a user runs CMake on your source. 回答2: You should produce a solution file under a console with CMake

Upgrading Visual studio 2008 Professional to Visual studio 2010 Premium

两盒软妹~` 提交于 2019-12-18 09:01:24
问题 I currently have Visual Studio 2008 Professional installed on my Windows 7 (x64) laptop. I also have SQL Server 2008 Express and Crystal Reports 2008 installed. Can I upgrade Visual Studio 2008 Pro to Visual Studio 2010 Premium and if so do I have to make any configuration changes to any other apps I have installed? 回答1: no, you cannot "upgrade" Visual Studio in the traditional sense. Visual Studio exists side-by-side (sxs) with older versions, so you have both versions installed. What does

Weird Visual Studio 2008 behaviour: build failed, no error message?

扶醉桌前 提交于 2019-12-18 08:54:44
问题 EDIT: It's VS 2008 NOT VS 2005. Sorry for the typo . While trying to build two fairly big projects solution on Visual Studio 2008 (2 projects: 6686 files), and after making sure that everything is OK, my projects wouldn't build. VS informs me that the build failed but it doesn't tell me what I'm erring!? I tried cleaning, rebuilding, rebooting, almost everything. Ideas? EDIT2: Problem solved, but ... I moved the project over to another directory, then moved it back again to the same old

LNK2022 Error When Using /clr

北城余情 提交于 2019-12-18 07:45:14
问题 I'm having a problem linking a C++ project in VS2008 when using the /clr compile option. I am getting the following build errors: Class1.obj : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (_PROPSHEETPAGEA): (0x0200046f). Class1.obj : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (_PROPSHEETPAGEW): (0x02000473). Class2.obj : error LNK2022: metadata operation failed (8013118D

convert a console app to a windows app

两盒软妹~` 提交于 2019-12-18 07:41:09
问题 (its a long story) but I have a large complex project file containing a windows program. Unfortunately the project was originally built as a console app. The program compiles and links ok but when runs brings up a console instead of the collection of windows I was hoping for. I looked at the command line and saw "/SUBSYSTEM:CONSOLE" whereas it should be "/SUBSYSTEM:WINDOWS". I have no idea how to change the command line. Is there some box I can tick in the project setting somewhere to make

What's the difference between “Stop Debugging” and “Terminate All” in Visual Studio?

删除回忆录丶 提交于 2019-12-18 07:31:09
问题 As the title asks, what's the difference between "Stop Debugging" and "Terminate All" in Visual Studio (I know those options are available in 2008, but not sure if it's called the same or something different in 2005 or 2010) ? 回答1: I think Terminate All will kill all attached processes in Visual Studio while the former just stops debugging but leaves the processes running. Update: A better answer from http://msdn.microsoft.com/en-us/library/406kfbs1.aspx Stop Debugging terminates the process

VC2008, how to turn CLR flag off for individual files in C++/CLI project

雨燕双飞 提交于 2019-12-18 07:16:07
问题 This post says that it is possible to turn off the CLR flag for an individual .cpp file. From the post: You can set /CLR on or off in each .cpp file individually. Turn it on for the whole project,. as you have done, then turn it off for the files containing only native (unmanaged) code. When you have the VC++ procject properties dialog open, you can still click on files/projects in the solution explorer to change the scope that you're working on. Click on the unmanaged .cpp file to set

load function parameters in inlined ptx

廉价感情. 提交于 2019-12-18 07:10:43
问题 I have the following function with inline assembly that works fine on debug mode in 32 bit Visual Studio 2008: __device__ void add(int* pa, int* pb) { asm(".reg .u32 s<3>;"::); asm(".reg .u32 r<14>;"::); asm("ld.global.b32 s0, [%0];"::"r"(&pa)); //load addresses of pa, pb printf(...); asm("ld.global.b32 s1, [%0];"::"r"(&pb)); printf(...); asm("ld.global.b32 r1, [s0+8];"::); printf(...); asm("ld.global.b32 r2, [s1+8];"::); printf(...); ...// perform some operations } pa and pb are globally