Answer Questions
RayG How can I disable UNICODE?
I am trying to build an example from a tutorial using Visual C++ 2005 Express Beta 2. But when using the MessageBox function, I get the following error: error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [22]' to 'LPCWSTR' I tried casting the string to LPCWSTR and the program compiles, but the strings are corrupt. I am just starting Windows programming, and don't want to deal with Unicode yet. Is there a way to co ...Show All
Adrien Regimbald OpenFileDialog
I have this code that I want to put in my project but I do not know exactly where to put it or how to complete it, if someone could please help me with this CommonDialog.Flags = OFN_FILEMUSTEXIST + OFN_HIDEREADONLY + OFN_ALLOWMULTISELECT CommonDialog.DialogTitle = "Select Map" CommonDialog.Filter = "Map Files (*.map)|*.map|All Files(*.*)|*.*" CommonDialog.FilterIndex = 2 CommonDialog.CancelError = True CommonDialog.Action = ...Show All
Patrick MCormick Deployment Problem
Hi All, I have create a managed DLL (for dotnet 2.0) using visual C++ 2005 (work with windows media format). I have problem on deployment in windows 2000 server. It's error code is 0x8007007e seems like it's lost some library or thing. Is there any prerequisite installed in client computer wen using managed c++. Any one please help. Thanks Tutnik Tutnik wrote: I have problem on deployme ...Show All
bhoffmancsi LISTBOX: Notification for change in Regional Settings
I have a list box in which i put dates. if i change the Regional Settings i want the list box items to change accordingly. how this can be achieved can list box get notification for changes in the Regional Settings Chanakya The usual message for this is WM_SETTINGCHANGE , But it is sent only to Toplevel windows. ...Show All
TheCatty Running a very simple Win32 app on a comp without VC++ 2005 Express
Hi! I have installed VC++ 2005 Express and the Platform SDK according to the instructions on MSDN: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx Compiling and running the following program on the dev computer works like a charm: http://www.winprog.org/tutorial/simple_window.html I then changed to release-mode, turned off debugging in the project properties and copied the .exe to another computer without VC++ 2005 Exp ...Show All
actinium.ga Version problem MSVCR80.dll
Hello, I just downloaded VS C++ Express Edition, and tried to build a console application using command-line. When I start the app it does not find MSVCR80.DLL. I digged into the problem, and found out that my installation of VS is version 8.0.50727.42, but the header file crtassem.h says it is version 8.0.50608.0. The latter version number is entered into the manifest file when it is generated, and I actually don't have this version of the DLL ...Show All
Stalkers OpenMP Suport
Is OpenMP not supported in the Express Edition I turned on the compiler switch but it complained about not finding the files. I seareched my disk for the necessary files (omp.h, vcomp.dll) but they werent found, so, I guess they wrent included in the installation of c++2005 express. Do I need to get Pro Thanks in advance! Joe Allrighty....finally found a product page.... OpenMP is NOT supported in Express or ...Show All
mogulati C++ in VS2005: Enable automatic copy of depentend 3rdparty unmanaged dlls
Hi, I am creating a managed C++ class library that uses several unmanaged old-style C++ libraries (with .h, .lib and .dll files). These dependent dll-files are located on a specific path on my computer, but each time I create a C# application that uses the managed C++ class library (which again uses the 3rd-party unmanaged dll-files), I have to copy these files to the bin-folder of the C# application. Is there some way I can a ...Show All
Sincerus Trying to compile Python C source in VS8
I'm a vs newbie and this is c, not c++. First: I opened a new project and added the existing c source file, pointing to the python dir. I then extended the "include" env var to refer to the python include dir (it already points to the sqllib/include dir). Ok, I type "build" and I get a msg "error C1010 unexpected end of file, did you forget #include "stdafx.h" " So I typed that in the file and got an ...Show All
SaravananVV Setting Starting Position of MFC Dialog
Hello All, I'd like to have my mfc dialog appear at the bottom right corner of the desktop (right above the system tray). I can't seem to find the right coordinates, any ideas Thanks, Mike yoder30 wrote: Hello All, I'd like to have my mfc dialog appear at the bottom right corner of the desktop (right above the system tray). I can't seem to find the right coordinates, any ideas Thanks, Mike Try ...Show All
ChrisCC Application configuration is incorrect?
I have a very, very simple program that uses the Microsoft Platform SDK and SDL, basically just native executable (not .NET). It compiles and runs fine on my Windows XP Home Edition system that I'm using it develop it on. It also ran fine when I moved it over to a Windows 2000 Pro system that had no development tools of any kind installed. However, while it runs fine on every random Windows 2000 Pro system I've tried it on, it fails on the Windo ...Show All
Dmitry Mashkov VC8 requires STL list to define operator< ?
Hi, I have code that compiled with VC6 but doesn't on VC8. The problem seems to be that list::sort requires that an operator< be defined. None of my classes have the < operator defined. However, in VC6, the compiler would only complain if you actually used myList.sort(). VC8 seems to require that the class have the operator< even though I don't use the sort routine. Is there a compiler option to make VC8 not require that ...Show All
Sascha Trowitzsch VC++ Express B2 not working with Platform SDK
Microsoft claims that you can write native Win32 applications with the Visual C++ 2005 Express Edition Beta 2. Microsoft claims that this can be done simply by downloading and installing the Platform SDK. Is this in fact true Are they really giving away a full-featured IDE and SDK that would allow you to build Win32 applications Let's find out... These are the EXACT steps I've gone through 3 times now to get this to work ...Show All
Hemantkum changing "licensed to" information
im trying to create a setup and deployment project to create an install for my app it creates the msi/exe files fine BUT: when i run them i get this error: "the folder path 'julius/ryan abella' contains an invalid character this is the licensed to information that can be found in help-> about microsoft visual studio in the top right. how can i c ...Show All
j0k3r How to do Unit Test for Visual C++ unmanaged code with Visual Studio 2005?
I got the following words in MSDN Library, "If your production code is unmanaged, it needs to be callable from a static library, an .obj file, or a DLL entry point. Class methods that are embedded inside an executable file or a DLL will not work because unmanaged Visual C++ does not offer the runtime discovery mechanism, reflection. Therefore, only the traditional native binding mechanisms will work. " Does this mean we still cannot do uni ...Show All
