Answer Questions
BMoore which situation does'error C2039' happen?
when i compile my code,i get this error error C2039: 'Import3dmax3DS' : is not a member of 'C3dWorld' see declaration of 'C3dWorld' but i have define 'Import3dmax3DS' in 'C3dWorld' which situation does 'error C2039' happen it went wrong here ...... C3dObject* pObject = m_pWorld->Import3dmax3DS(szPath, FALSE); ...... and i declare it here class AFX_EXT_CLASS C3dWorld : public CObject ...Show All
Angele cl : Command line error D8000 : UNKNOWN COMMAND-LINE ERROR
I am having problem with a response file that contains a /Zm192 command in VC++ 2005 RC. The compiler command line includes @responsefile and the content of the file contains only /Zm192. This worked fine if VC++ 2003. Does anyone have any ideas what is causing this Thanks It was still required for me in VC++ 2003. I've not tried to remove it for VC++ 2005. Have changes been made ...Show All
david cantrill Help in finding a 'Browse to Folder' feature.
Does VC++ 6 and/or MFC have any canned code which when called displays a dialog box from where I can browse to different folders on my computer and then when I select the folder I want will then return a string path to that folder or must I write my own code I've done some searching but haven't found anything. HI: I would suggest using the PSDK functions GetOpenFile or GetOpenFilePre ...Show All
MarkWHaroldson windows.h not found...
WOW, I can't believe this information isn't easier to find. I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2. NOTHING WORKS! The Directories are not found and there is no apparent way to set them. Apparently users have found a hack to make it work, but this is crazy. It seems like the first Microsoft person to install this would notice that it doesn't work an ...Show All
Cocktail C++/CIL exe, seemless integration with a C# dll?
FYI, I am a C# dev by trade, but i would like to have an existing C++ exe (which i recompiled for C++/CIL) be able to talk back and forth, prefereably as if they were compiled together. Here are some details as to my question: I have a C++/CIL exe (Managed C++ compiled with VS2005 Beta 2) I want to call a DLL Written in C#, and then I want the C# dll to call some functions specified in the calling C++ EXE. Is this possible I ...Show All
Qing Fang Getting Error - Regarding stdafx.h
I'm trying to fool around with the new Visual studio version (2005 Beta 2) and for some reason it keeps telling me: \Practice.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory A long time ago someone told me to go into the properties of the project and change the default to CLR support. I did this time but it doesn't seem to build. Can someone tell me what to do Here is my code: #includ ...Show All
fred99 Info about some types
What these types below represent (what kind of data they store ) and how can I use them (declaration and assign of data) - LPCSTR - LPCTSTR -LPCWSTR And how can I show a MessageBox dialog in a MFC Application And the last one, how can I use a DLL also created in C++ in a C++ Visual Application Can this application be made in C++ .Net, or it must be MFC like the DLL Thanks. The datatype question has already been answered ...Show All
Revanger Runtime Library error messageWinword.exe
When I open some Word files, an error message pops up saying: "Buffer overrun detected! Program:...am Files\Microsoft office\Office11\Winword.exe A Buffer overrun has been detected which has corrupted the program’s internal state. The program cannot safely continue execution and must now be terminated. " There is no error report window when the program shut down. There is no time to save the file. I have tried to copy the file ...Show All
Xordan MoveMemory performance
I have traced a performance bottleneck in my C++ application to MoveMemory. This resolves to RtlMoveMemory and then to memmove. Then, according to the debugger, to "F:\RTM\vctools\crt_bld\SELF_X86\crt\src\Intel\MEMCPY.ASM" I am copying an overlapping block of floats (400 of them) one float upwards in memory. The issue is that I can write this same copy in a plain old C loop, copying one long word at a time, and it runs 25% faster ...Show All
ldhertert MFC vs C# Winforms (was Can C++ develop web-based applications?)
I'm in a convo with someone who's continuing to use MFC when he has the opportunity to use C#. Could someone point me to the literature that talks about MFC's originator having second thoughts about it Brian Nah, old topic now! Is that still a wanted thread Thanks, Ayman Shoukry VC++ Team I split this new post off the end of an unrelated old thread in vc.la ...Show All
gleason78 Can't change the folders..
Greetings! I'm a new user of the Visual C++ 2005 Beta 2 enviorment. I've experienced a strange problem, when I simply can't view, change or edit my include and lib folders. The page is blank, what's wrong Hi, Take a look at the following post: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=2995 Ronald Laeremans Visual C++ team ...Show All
Doug M 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 Managed C++, by definition, requires the .NET f ...Show All
jepherz Setting Sections Base Address
Hi All, Is there a way (linker options, compiler options, pragmas etc ) to locate a section to a particular address. As an example, I want to place an integer variable var in a section mysection , and want set the address of mysection to be 0x20000000. I have seen the linker opiton /SECTION. However, it does not allow me to set the address of a section. Tell me why do you need this If ...Show All
jianshi matching parens color black ... on black, and spawn priority, and solition explorer attributes
Braces, too. if (argc < 3) { After I type the ), both ( ) go black. As I type the {, it goes black too if there's a } anywhere below it. ... } I wondered where this went. It was in the IDE board. Nothing here is particular to VC++. OK, I fixed the disappearing parens & braces by changing the colors from (Default) to Auto, for the two Brace m ...Show All
Jim Swarr How to compile for AMD64 with VC++ Express?
Today I downloaded Visual Studio C++ Express Edition + Win64 Trial. I do the following program: #include <stdio.h> void main () { printf("hola"); } Then I compiled and got a silly x86 program... Then I changed the Linked->Advanced->(/MACHINE:AMD64) thing and then I got: fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' Oh well.... what am I doing bad I just want to compile ...Show All
