Answer Questions
zumrut template for new files created
Most of the new files created will has common top and bottom portion in the file .. for example .. every header file .. might start like <$File_info> <$copyright_notice> #if !defined(_ <$CAPITALISED_ FILE_ NAME> _H_) #define _ <$CAPITALISED_ FILE_ NAME> _H_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #if defined (__cp ...Show All
Max Slade - MSFT Error PRJ0002: Error result 128 from '...\mt.exe'
Howdy, I'm trying out the Visual C++ 2005 Express Edition beta 2. For some reason I get the following error when I attempt to compile an application: Linking... Embedding manifest... Project : error PRJ0002 : Error result 128 returned from 'C:\Program Files\Microsoft Platform SDK\Bin\mt.exe'. I've been prowling all over the place trying to find out what that actually means; what is mt.exe so unhappy with Can't find an answer though. Is there per ...Show All
road66_be Basic Application template missing manifest?
I apologize if this is an idiotic question or posed in the wrong forum. I'm brand new to Visual C++, I just downloaded the Express Edition 8.0, then followed the instructions provided for installing the Platform SDK. At the last step, where I create a Win32 Console App and attempt to run it, I get the following error: Debug Error! Program: ... R6034 An application has attempted to load the C runtime library without using a manifest. ...Show All
jeff_______ C++/CLI Translator
In Stanley Lippman's article, "A Baker's Dozen: Thirteen Things You Should Know Before Porting Your Visual C++ .Net Programs to Visual Studio 2005"; in the introduction, there are three points, "To ease the transition...". I quote point 2: "We're working on an informal translation tool that can get you 80% of the way there. It will likely be made available for test-driving during the time-frame of the second beta." I can not find this t ...Show All
Raichur Compile error when upgrading from vs2003 to vs2005
I have a class UnitCollection inherited from CollectionBase, in this line: __property Unit* get_Item( int index); I get this error: error C2392: .......::UnitCollection::get_Item(int)' : covariant returns types are not supported in managed types, otherwise 'System::Object __gc *System::Collections::IList::get_Item(int)' would be overridden Any help is ...Show All
jebrown LockFile
How can I check if the file is already open through C++ programming. I tried to use LockFile() and _lockfile() functions but they both require number of bytes to be specified. I want to lock the whole file before writing something to it or abort the operation if another instance of that file already open. Any hints and comments will be appreciated. Does not work over the network. I would open the fil ...Show All
Latika Bezier Curves
Hi ! How can i draw two different PolyBezier consecutively for (; i < N; i++) { points .x = i; points .y = f(i, 1); // draws a y=x } PolyBezier(hdc, points, N); //------------------------------------ for (; i < N; i++) { points .x = i; points .y = f(i, 1); // draws a y=logx } PolyBezier(hdc, points, N); This does not work. I get only the first function. And another problem. I can't erase a Bezier Curve if I use Invali ...Show All
_martin_ build error
after downloading VC beta 2 and spending hours trying to get the header files to be recognized and figuring out how to build a hello world file, i decided to move on to chapter 1 of tricks of the windows game programming gurus and run the sample game called freakout, i recieve this error 1>------ Build started: Project: freak1, Configuration: Debug Win32 ------ 1>Compiling... 1>blackbox.cpp 1>c:\program files\microsoft visual studio ...Show All
Chris Smith MSFT msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin But if this fixes the problem WinDoctor works wron ...Show All
Sumukh malloc returns 0 and GetLastError 998
In my program, some time into the execution, when I set a certain chain of events into action, malloc suddenly fails, and return 0 - even when the available memory is well over 1 GB. GetLastError returns 998 (Invalid access to memory location). I have been testing this on two different computers, on one (with less RAM available) there is no problems at all, on the other, malloc fails. I have installed Insure++ (www.parasof.com) in order to find ...Show All
Mike Kieffer Linking Error
Hi I am currently working on porting an application to a 64-bit environment. While linking, i am getting an error as: LINK : warning LNK4068: /MACHINE not specified; defaulting to X86 Here, if i dont specify the machine type it is defaulting to X86, which i dont want. My machine is 64-bit AMD-Opteron. The OS i am using is Windows 2003 server x64 edition. I want to know, what option i should use to specify my machine type. Options whi ...Show All
Magneto Problem instantiating my own class
Hi, I am writing a small project to learn Managed C++ in VS2005. In this program I am creating a linked list using my own class. How Im going about this is I created a node class called StatementItem, and then I refer to that in another class called StatementList. I have created both classes using the Add new class wizard. Creating the classes went perfectly. But for some strange reason even though both classes are defined as public, I can't acc ...Show All
bselfridge how to package .NET Framework?
Hello, With great help from people here I have gor my app working! Now, how do I package it so that when installed on a user's PC it will check to see if .NET Framework is installed (v2 needed for Visual C++ 2005 Express Beta 2 ) and if not, will install the correct version for Windows 98, 2000 and XP Cheers Geoff Ayman, Thanks for the info and links. Cheers Geoff Here is so ...Show All
ragc Keyboard bug
I am unable to use the enter, backspace, delete, up, down, left, and right keys in .cpp and .h files. This is fixed if I close the file, then re-open it. However, if I siwtch focus to a different file, then go back, I will once again be unable to use those keys, and will have to close the file and re-open it again. Does anyone know if there is a patch to fix this, and if not, I guess this should be added to ...Show All
Rafael Gomez .Net Framework
Hi, I have an application which I did not originally create. I develop it using Visual Studio 2003 - Visual C++.net. When I click on the configuration manager for my solution I can see that this platform, for said application is "Win32". I didnt think this was the case since my work (code) is developed compiled and run correctly using visual studio.net. Then i created a completely new project, visual c++ and chose the opt ...Show All
