Answer Questions
eepap error LNK2019, LNK1120 : win32 API programing by vc++2005 beta2
i am beginer in c++. i wanna learn win32api. so, i tried below example using vc++2005 express beta2. but i met following 2 errors : Error 1 error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup MSVCRTD.lib Error 2 fatal error LNK1120: 1 unresolved externals c:\test\parse\winapitest3\winap ...Show All
Knuckles vector container with user-defined class problem
Hi all: I want to use the STL vector to store an array of objects which class is user-defined. LMVector is the user defined class and here it's the LMVector.h file. class LMVector { private: .... public: .... }; In another class LMRectangle, there is a field needed to store an array of LMVector. Here is the header file for LMRectangle class LMRectangle{ public: ...Show All
Michael Cramer error PRJ0019: A tool returned an error code from "Building final directory..." VS2k3
hello there, soory for posting in these section if its the wrong section, anyway i'm facing an error that stopping me from compiling my project.. the error is: ------ Build started: Project: CRFusion, Configuration: Release Win32 ------ Compiling... StdAfx.cpp Compiling... WorldRunnable.cpp Master.cpp Main.cpp version.cpp ConsoleCmds.cpp AConsole.cpp Generating Code... Compiling resou ...Show All
amzzz implementaion of unwinding
I have troubles finding information on this subject, so I'll try to ask here: What kind of unwinding mechanism implementation is used by VC8.0 Is it the same old and slow 'update structure on the stack while we go' (like it was up to VC7.1) Or MS finally decides to go after GCC & others by separating successfull execution path on compile stage (which is significantly more efficient) Bye. Sincerely yours, Michael. ...Show All
Gerardo Rossi how to use the standard J# library in a Managed C++ app?
Hi, I want to know if it's possible to use the standard J# library in a Managed C++ app and how to do it... Tnx. Hi, You need to add reference to this project or library, then in cpp file add using namespace <NameofNamespaceinYourJ#Project>. Thanks, Nikola VC++ ...Show All
Rui Silva PAGE_EXECUTE_READWRITE and the CLR -- debugging issues
Hi -- I just compiled a C++ app with the CLR flag for the first time that I had previously only compiled to the native code platform. I did this so I could write debug information to the Output window, but I will want more extensive interaction with the managed environment in the future. In my app I allocate a piece of memory with VirtualAlloc with the PAGE_EXECUTE_READWRITE flag set and then proceed to generate some intel code to that memory ...Show All
mickey arnold How to change Focus on the DialogBox?
Hi on my dialogbox focus is on the OK button. I try change this focus with object.SetFocus() but it doesn't work. what should I do I want focus be on another button(like Cancel button). thank. Hi Martin. thank for your replay. it was so useful. thank you very much. What you mean is not setting the focus, its about setting the CDialog::SetDefID function. With this function you define the button that will be executed by ...Show All
KingMax Console::WriteLine's in a GUI
Hey all, I have a nice gui visual studio app, and I've been using console::writeline to view output throughout my program. To be able to view this output, I open a DOS window and pipe my executable file to 'MORE'. Like this: # prog.exe | more This works ok, but 'more' only does a page at a time, so I have to keep hitting --Any Key to Continue--- Is there any other way to view console ouput (without running debug) ...Show All
spids a quick question about textboxes and typecasting to numbers
I want to take an input from the user (via the textbox) and then typecast it to a float to use it as part of a calculation but unsure how to do this. I've tried the obvious (to me): float value = <float>textbox->Text but it gives me a compiler error. So i was wondering if it was possible to do this.If so, how Any recommendation would be greatly appreciated. It should also be noted that i'm not limited to a textbox as long as input from ...Show All
ProxyProdigy How to write a Adobe PDF Plugin type for IE?
How to write a adobe pdf type plugin, which become automatically visible, when some one points to a pdf file in the browser. priyank_bolia wrote: How to write a adobe pdf type plugin, which become automatically visible, when some one points to a pdf file in the browser. Definitely the wrong forum for this question. Try the Adobe forums :- http://www.adobe.com/support/forums/main.html ...Show All
MTurner MSVC++ 6.0 Pro error c2400 in assembler
The following code produces the error: error C2400: inline assembler syntax error in 'opcode'; found 'xmm0' __asm { mov esi, this ; vector u movups xmm0, [esi]   ...Show All
Vishwas Lele Problem in setting PATH,LIB and INCLUDE environment variables through script for 32 and 64 bit plateforms.
Hi, I'm using Visual Studio 2005 Professional Edition. I have a script file (batch file) to launch the devenv by using /useenv. Through this script some environment variable are being set for both 32 and 64 bit plateforms. if, I need different values for both 32 and 64 plateforms,I use two variables in the script e.g. A32 and A64 otherwise only one environment variable. This is required, So, that I can c ...Show All
Reinhold_Fischer MSBuild running from Local System
Hi I've been executing msbuild.exe from the NT_AUTHORITY\SYSTEM account to build VS 2005 C# projects and the builds have been working as expected. Recently, I attempted the same for a VS 2004 C++ project and the build failed with the following error. fatal error C1902: Program database manager mismatch; please check your installation Is this a bug with msbuild or am I doing something wrong Thanks Hi Mark, ...Show All
foolish frost Dialog editor - Help ID issue
There appears to be a bug in VS 2005 Beta 2. When I edit a dialog, add a control and then assign a help ID to that control, I get the following error message when attempting to save the resource file (or compile the project): "Cannot save file. <path>\resources.rc" It is not possible to go any further than this. Removing the help ID solves the problem. Use http://lab.msdn.microsoft.com/productfeedback/Default.aspx to repo ...Show All
xprogrammer DDX/DDV and VC 7.0/8.0
Friends, I am having a strange problem with VC 7.0 while assigning a variable with an edit ctrl on the dialog box. Here is the description: I dropped an edit control on the dialog box and then right click on that edit control in order to add a variable of type int . I also give min and max values to the variable. The problem is that, though the variable is getting added in the header file of the dialog class, but there is no entry of thi ...Show All
