Answer Questions
Dan Ribar What equals to C# ref keyword in VC++ 7
Can somebody tell me what equals to C# ref keyword in VC++ 7 Thanks in advance. Hi Martin, thanks for reply, but do you think that this can be achieved with **. Despite all, thank you, David. Hi David, i take look at your reply and it seems to be the best answer for me. Thank you. Could you take a look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=181164&SiteID=1 and try to help me for that ...Show All
Bi# missing dll - mpr.dll
im building my exporter for 3d max, and max is complaning about missing dll's i load up my exporter in dependency walker, and the only sus dll is mpr.dll (its in red) all other missing ones are in the max directory as usual. I suspect mpr.dll to be the problem, but when i copy it from my system32 folder to max directory, it still complains. dependency walker says this: Error: At least one required implicit or forwarded dependency was not fou ...Show All
Vineet Belani Problems compiling C++ Visual Studio 2005
Hi! I have a large C++ unmanaged application which I compile and run perfectly using Visual Studio 2003. Now, I wanto to compile and run it using Visual Studio 2005. When I compile it in release mode everything works fine, but I get about a thousand comiler errors when trying to compile it in debug mode. All of these compiler errors appear in files that belong to Visual Studio 2005 such as stdlib.h, cstdlib.h,etc. I would appreciate very much s ...Show All
wingba VS 2005 RTM SKUs and 64-Bit.
Hi, I'm trying to evaluate the various versions of VS2005 and from reading the spec sheets on http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx I see that 64-bit support is listed as unavailable in Standard addition but available in Professional. I'll leave alone the discussion on Itanium support being dropped in all bar the Team system editions that I've seen in another thread. I've installed both Standard and Profession ...Show All
Kamol Murodov Debuggin issue
Hi, I'm compiling an application with /Od and /Zi. When I omit the -DEBUG linker flag I get a crash in my application. When I add the -DEBUG flag it does not crash anymore. Any idea how to debug this Thanks, Manu I can't understand this because using /Zi all debug infos (except the filename of the pdb file is inside a seperate file. The produced binary code should be the same. What happens is yo ...Show All
LaserCorey 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
sniwas24x7 Accessing a XML Web Service from VC++.Net
Hello, i hope it is simple! Currently i try to learn VC++.Net. I'm coming from CBuilder 6. I was successful in installing Visual Studio .Net 2.0 an the creation of my first Web Service. My goal is to access a XML web service from a windows forms application. Therfore i wrote a funcion "MyMethod" that respondes with an XML document. The problem is now to create a request in an Windows Forms Application, send it to the service an re ...Show All
jdarias C99 Designated Initializers support
Hello, any plan to support (soon ) designated initializers a.k.a int vect[5] = { [1]=10, [4]=20 }; many thanks, andrea Unfortunately on our ranking of user requests C-99 features like this come below requests to supports C++-98/03 features (or to improve the existing support) and also requests for the features that are part of the upcoming C++-0x Standard (like 'auto' and forwarding co ...Show All
Am X MFC 8.0 problem: afxcomctl32.h structure alignment is 8 bytes (in MFC80.DLL)
Summary: In the release versions of MFC80.DLL the structure alignment when building afxcomctl32.h is 8 bytes. This is different from any other structure in MFC 8.0 (things normally use 4 byte alignment). I was having a crash with the CComCtlWrapper class when calling some of the CImageList functions (e.g. GetImageCount) I finally isolated the problem to alignment issues. Did you know that certain parts of MFC 8.0& ...Show All
JoelAraujo Program closing right after opening
Hi all, I have tried to compile a program from the book C++: A Beginner's Guide by Herbert Schidt. The problem I encounter is when I try to run the program from the folder, that is the .exe file I believe located in: C:\Documents and Settings\Peter\My Documents\Visual Studio 2005\Projects\sample1\debug This simply closes after opening. Am I running it from the correct location I can't find an executable file anywhere else in the sample 1 f ...Show All
Baron von Tollbooth where can i find Matrix manipulation library
Does anybody know where I can find Matrix manipulation library (such as Gauss-Jordan Elimination, LU decomposition, etc.) for programs by VC++.net (2003). Thank you very much! A search for "Matrix Library C++" on MSN Search shows plenty of hits: you should take a look at these and see if there is one that suits your needs. I would take a look at http://www.boost.org Thank you! Jonathan. But there is no Mat ...Show All
Gurpiar Singh __asm jumps and calls
Hi all. Im a C/C++ programmer with an only theoretical (academic) knowledge of assembly, indeed i have very little experience of practical assembly programming. Theres a problem im not able so solve (after 2 days of work :( ). Intel Pentium architecture. Im programming with C++ (express edition, then MASM 6.1 assembler). Inside my code there are pointers. void * p1, * p2, ... Im loocking for a way to jump unconditionally at the memory location ...Show All
R Hearn Convert char type to int
Dear C++ Programmers How can I convert Char data type to Int data type , for sample when i use this code , it not work properly int MyNumber; char MyCharNumber='12'; MyNumber=int(MyCharNumber); it was return 49 or 51 to the int data type otherwise my char contain 12, please help me Do you mean how to convert a string to an integer type Converting from a char (a single character in C and C++) to an integer type is ...Show All
David Seay 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
jet su informing managed class from native methods
Hi, Am I trying to inform a managed class from a native class method, I am using a library and it provide me some methods for callbacks and I want to also inform managed class when I received a callback. Is there any way to do this // managed class interface class C { public: virtual void ManagedInformMe() = 0; }; ref class D : C { public: virtual void ManagedInformMe() { // I Informed } ...Show All
