visual-studio-2008

What does “dynamic” in “dynamic atexit destructor” mean?

半世苍凉 提交于 2019-12-22 05:24:30
问题 I ported my application from VC++7 to VC++9 recently. Now it sometimes crashes at exit - the runtime starts calling global objects destructors and an access violation occurs in one of them. Whenever I observer the call stack the top functions are: CMyClass::~CMyClass() <- crashes here dynamic atexit destructor for 'ObjectName' _CRT_INIT() some more runtime-related functions follow The question is what is the meaning of the word "dynamic" in "dynamic atexit destructor"? Can it provide any

WCF Service instead of ASMX Web Service?

被刻印的时光 ゝ 提交于 2019-12-22 05:23:39
问题 I'm writing a SOAP Server that will act as an endpoint for an external client. The external client expects SOAP 1.1. I'll be taking embedded business objects in the SOAP messages and passing them to an internal application, getting responses back and responding with SOAP messages to the eternal client. I did the traditional ASMX based web services several years ago. Now, I've been exploring WCF Services and wondering the best approach to take. 1) Should WCF be considered a superset of ASMX

How To Do Performance Profiling in Visual Studio 2008 “Pro”

Deadly 提交于 2019-12-22 05:20:28
问题 Microsoft make this piece of software called "Visual Studio 2008 Professional". I have found that there doesn't appear to be an application performance profiler or something similar in it, making it seem not so "professional" to me. If Microsoft don't include a profiler, what are your third party options for time profiling for Visual Studio 2008? Free would be preferable, as this is for uni student purposes :P 回答1: Personally, I use the Red Gate profiler. Others swear by the JetBrains one.

Serialize/Deserialize two-dimensional array

不羁岁月 提交于 2019-12-22 05:16:16
问题 For some reason my previous question was considered too vague. So let me be more specific. I have a 2 dimensional array of type single. I want to serialize it to save in an Access database. The suggestion was to save it as a Memo field which is fine. I want to later read the Memo field and deserialize it to retrieve the original array. I have searched extensively on the web and here and can not find the answer. I believe I am serializing the array correctly but do not know how to deserialize

VS2008 PDB file size limit redux: LNK1201, too

谁说胖子不能爱 提交于 2019-12-22 05:11:45
问题 What is the size limit on PDB files in VS2k8? I am on a dev workstation with 3GB each of RAM and pagefile on a 32-bit PAE kernel, but the linker kicks out an LNK1201 error shortly after the PDB grows past 1GB. Is MSPDBSRV simply running out of address space? 来源: https://stackoverflow.com/questions/9162001/vs2008-pdb-file-size-limit-redux-lnk1201-too

Does ASP.NET support C++?

佐手、 提交于 2019-12-22 04:48:07
问题 When I go to New -> Web site, in the drop-down menu "Language" there are only 2 languages: Visual C# and Visual Basic. No Visual C++. Maybe, I'm using wrong version of Visual Studio? (mine is 9.0.21022) I tried to google this problem. I found a topic which tells that using C++ in ASP.NET is impossible. But it was posted in 2002 and I hope that something has changed since that year. Is it possible to write ASP.NET applications using C++? If it does, can I use visual designer with this language

Compiler Error Message: CS0433

点点圈 提交于 2019-12-22 04:45:21
问题 I will start abruptly with a peculiar error message (I'm a beginner, building a website in ASP.NET with C#, the file where the error was found is a .ascx = user control file): Compiler Error Message: CS0433: The type 'Link' exists in both '...\Temporary ASP.NET Files\root\901650e7\5e27d040\App_Code.ybv-vo7n.dll' and '...\Temporary ASP.NET Files\root\901650e7\5e27d040\assembly\dl3\f6cf02ac\a93eed1d_ab32cd01\Project1C.DLL' Line 10 is apparently where the error stems from (colored in red). Can

Exclude whole files based on configuration from build in VS2008

空扰寡人 提交于 2019-12-22 04:35:28
问题 I have three different configurations on my project, all three do not require all files to be build into the application. Actually I'd prefer if I could exclude those files from the build, which would make my application a little more lightweight. What I'm looking for is #if MYCONFIG or #if DEBUG statement but for files. I've already read that this can be accomplished by manually editing the csproj file, but I can't find that anymore...and are there other ways? 回答1: There are two different

cannot install .NET Framework 3.5

你。 提交于 2019-12-22 04:16:18
问题 I already have installed Microsoft Visual Studio 2008 SP1 and VS 2010 SP1. I'm using Windows 7. Then, I noticed in my Installed Programs in Control Panel that only the following were the installed .NET Frameworks: Microsoft .NET Compact Framework 2.0 SP2 Microsoft .NET Compact Framework 3.5 Microsoft .NET Framework 4 Client Profile Microsoft .NET Framework 4 Extended. For some reasons, when I was installing PowerCommands for Visual Studio 2008, it says that I need to install .NET Framework 3

Whole program optimization failing in VC2008

家住魔仙堡 提交于 2019-12-22 04:09:15
问题 I have a reasonably large C++ program (~11mb exe) compiled under VS2008 and was interested to see if whole program optimization would significantly affect its performance. However, turning on whole program optimization and link time code generation causes the link to fail as follows; 1>c:\cpp\Win32\Atlas\tin\TINDoc.Cpp : fatal error C1083: Cannot open compiler intermediate file: '.\releaseopt\TINDoc.obj': Not enough space 1>LINK : fatal error LNK1257: code generation failed Looking at task