visual-c++-2010-express

atlbase.h not found when using Visual C++ Express 2010

拈花ヽ惹草 提交于 2019-12-29 06:42:32
问题 So I tried moving my project to Visual C++ Express 2010 on Windows 7 from a previous version on Windows XP. I got all sorts of errors where atlbase.h was not found. This isn't so much a question but I wanted to document what my resolution was for others. Copied the following PlatformSDK files from my previous install and put them on my Windows 7 machine. PlatformSDK/include/atl PlatformSDK/include/mfc PlatformSDK/lib PlatformSDK/src/atl I then change the VC++ Directories in the project

The application failed to initialize properly (0xc0150002)

别等时光非礼了梦想. 提交于 2019-12-29 01:14:27
问题 I'm trying to compile an SFML program I've writting in Visual C++ 2010. It compiles fine, but when I run the executable I get this error: The application failed to initialize properly (0xc0150002). Click on OK to terminate the application. This happens every time I try to run an application that uses SFML, I have included the libraries that I used in the external dependances, the library and include libaries are all in the lib and include files in the VC folder and the DLL is in the same

How do I get Visual Express 2010 to find my python.h header file?

落爺英雄遲暮 提交于 2019-12-12 05:58:22
问题 I already did a search, but I just couldn't find what I searched for. I want to create a Python Module using C++ and Visual C++ Express 2010. Now, I need to include Python.h, but when I compile it says it couldn't find Python.h. How do I give my VC the Python header file ? 回答1: Tell IDE where header is located: Project -> Properties -> C/C++ -> Additional Include Directories 回答2: You either have to set the path to to the python include files in your IDE. Navigate to Tools | Options | Projects

Visual C++ 2010 Express for Win32 Project linking only works as administrator

不羁岁月 提交于 2019-12-11 18:14:28
问题 Using Visual C++ 2010 Express an as normal user, I created a Win32 Project with a main.cpp file containing: include int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int) { return 0; } At the linking stage, as a normal user, I get: MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol main referenced in function _ _tmainCRTStartup However, if I run the same project as administrator, it builds (links) fine and I get the required executable. Any ideas as to why this happens? 来源: https:

Not able to create Win32 console application

落花浮王杯 提交于 2019-12-11 02:09:35
问题 I try to create a new project, I click, I chose a name, and when a dialog box opens with: a.finish b.cancel Buttons, it doesn't let me click, below on the bottom of the IDE I can see "creating project" but I can't click on anything but close, when I close, there's no project, because I could click "finish". What's wrong with my IDE? I use Visual C++ Express Edition 2010. I've been able to create projects before, I tried restarting, re-installing, it's not working. 回答1: I found the answer here

free.c throws exception with “this program has stopped working”

早过忘川 提交于 2019-12-10 17:28:02
问题 When I run the program (server.exe) with Visual C++ 2010 Express's debugger, it runs perfectly, but when I run it as an exe it does not; it crashes with a "Server.exe has stopped working" dialog. Next I renamed the exe to "ServerInstaller.exe" and it worked, so I figured it is a permissions error, BUT it does not work with "Server.exe" in adminstrator mode. I then attached the debugger in VC++ to the "Server.exe" program, and it came up with an exception in "free.c". The code in this file is

What's missing from Visual C++ 2010 Express? [duplicate]

无人久伴 提交于 2019-12-10 12:48:39
问题 This question already has answers here : Closed 9 years ago . Possible Duplicate: What is “missing” in the Visual Studio Express Editions? Specifically for 2010, specifically for C++... what's missing Vs Professional/Premium (annoying the standard version is now named Professional)? 回答1: http://www.microsoft.com/express/Windows/ Express versions don't have: Plugins Class Designer Code Analysis Creating 64-bit programs Creating for Itanium processors Creating for Windows Mobile Creating for

how get list of files in a folder using javascript

懵懂的女人 提交于 2019-12-02 12:53:23
问题 I am working on project for desktop application. I am using Qt controls with visual c++. I am loading an html file in the QWebView as, m_pWebView->load(QUrl("../../../demo/index_Splash_Screen.html")); Now, what i want is, say, I have some .zip files in my location "c:\demo", I want list (or array of file names) of the files present in that directory. How can i do this through javascript ? PS: I went through this link, but it didnt match my requirement. I have not worked with of html,

how get list of files in a folder using javascript

喜欢而已 提交于 2019-12-02 04:20:47
I am working on project for desktop application. I am using Qt controls with visual c++. I am loading an html file in the QWebView as, m_pWebView->load(QUrl("../../../demo/index_Splash_Screen.html")); Now, what i want is, say, I have some .zip files in my location "c:\demo", I want list (or array of file names) of the files present in that directory. How can i do this through javascript ? PS: I went through this link , but it didnt match my requirement. I have not worked with of html, javascript and jquery. Please help me. Alfie I'm afraid you cannot access local files or directories using

Drawing Text with GDI+

99封情书 提交于 2019-11-30 21:56:58
I have searched for some days now to find a possibility to display text on my GDI+ application. I tried using the DrawString() function of GDI+ but the reference on MSDN does not work as it does not match with the parameter list. I am using Visual C++ 2010 Express. I changed the MSDN example to make it compile, like this: LinearGradientBrush* myBrush = new LinearGradientBrush(Rect(0,0,width,height),Color::Red, Color::Yellow, LinearGradientMode::LinearGradientModeHorizontal); Font* myFont = new Font(hdc); RectF rect = RectF(10,10,100,100); graphics.DrawString(TEXT("Look at this text!"),100,