Answer Questions
SirN Remove or corrrect bugs, remove faulse instruction installations !
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
RobertaK VC++ 2005 built times extremly long
Hello together, i finished migrating one bigger project (400000 lines) to 2005. Compile times are extremly long about 3-4 times than with 2003. Also Intellisense needs to be switched of else the UI is just going around and playing all time with itself leaving the user watching the animation of the class browser flickering and the speed bar. Also the UI crashes often. Also sometimes the compiler or linker ends in nirvana, the UI do ...Show All
TimLB Managed method in native class
Is possible to have a managed method within a Native(un-managed) class within a \clr project E.g. class myClass { public: #pragma managed void myMethod(void); }; I get an error when attempting to compile above about #pragma managed must be used at global scope! Is there some way to achieve this If not, why not Thanks in advance. Its inter ...Show All
Jon Shemitz CString assignment operator causes memory exception
I compiled VC++ 6.0 code with VC++.NET 2003/2005 beta and both causes a memory exception with CString assignment. My code looks like the following: CString szFileName = g_pGlobal->m_szAppPath; where g_pGlobal is a pointer to an object with global scope. The crash occurs if the assignment is done outside of the object instance itself. Quick Watch shows all CString members of that object are Bad Ptrs! I don't get it. ...Show All
Gary at AIS problem with CComBSTR::AppendBSTR, do not work properly
in my program, i have some codes like this void fun1(BSTR bstr) { CComBSTR combstr; combstr.appendbstr("something"); combstr.appendbstr(bstr);// <-- cant append // but if i use, combstr.addend(bstr), it works well } why AppendBSTR cant append a BSTR According to docs, doing such a thing is expected to work. Perhaps something else is wrong with your code; could you post your exact code http://msdn2.microsoft.com/en-US/lib ...Show All
Anders J VS 2005 Beta 2: Deprecated UpdateRegistryClass declared in DECLARE_REGISTRY macro - any workarounds?
Hi, the DECLARE_REGISTRY macro declares an UpdateRegistryClass function, which is marked as deprecated, thus resulting in the compiler warning: warning C4996: 'ATL::CComModule::UpdateRegistryClass' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\atlbase.h(4264) : see declaration of 'ATL::CComModule::UpdateRegistryClass' Are there any alternatives to the DECLARE_RE ...Show All
David Noor (Microsoft) logf problem?
Try to compile this in a .c file. Compiler chokes. --------------------------------- #include <math.h> void test () { float x = logf (2) / logf (2); } --------------------------------- As Brian suggested, please log a bug at http://lab.msdn.microsoft.com/productfeedback/default.aspx . Thanks in advance for taking the time to log the issue! Thanks, Ayman Shoukry ...Show All
Jonathan Lo windows C++ form
Hi all, I have a problem I've build a windows form with microsoft visual C++ and it runs perfectly on my computer. But as soon as I try it on an other computer an error message tells me that the program doesn't work and to reinstall it might be the solution. I think I just didn't copy the right files with the .exe form. Thanks in advance J-F Keep in mind that debug build require debug VC8 DLLs (IIRC the CRT is dynamically linke ...Show All
demerzel Set VC++ Directories in Options dialog (Visual C++ Express)
Is this bug going to be fixed anytime soon Using VC++ Express 2005 v8.0.50215.44 (beta2.050215-4400) and .NET Framework v2.0.50215 on a Win2K SP4 test box. I've tried the solutions from both Boris and Chaos to workaround the problem and neither appear to work. I've been charged with evaluating VC++ for our enterprise, ( I'm principally a gcc user), and a rudimentary bug like this ought to get squashed pretty quick IMO. [EDIT] OOPS! Sorry ...Show All
Jason Callas Unicode error
when i move my code from VC6 to VC8, following code is error. WriteLogFile in Line 4367 Code: if(endcon .entry_type != VOC_ENTRY_ARRAY_END) { WriteLogFile(2, "Voc: !! 音板%d的通道%d播放 音失 , 束 件 有 置最 ", cardid, channelid); gChannelStruct[cardid][channelid].StateMutex.Unlock(); return -1; } Error: d:\work\voccard api\voccard.cpp(4367) : warning C4819: T ...Show All
Fabiano Stussi Pereira I want to use namespace System.Xml in my Visual c++6.0 program,please tell me how .
I want to use namespace System.Xml in my Visual c++6.0 program,please tell me how . Thanks a lot . su wrote: I want to use namespace System.Xml in my Visual c++6.0 program,please tell me how. You cannot directly use System.Xml in Visual C++ 6.0. However, what you can do is create a .NET dll which can access System.Xml (this means you have to write it in C#). You can then have it expose its functionality through COM. ...Show All
Roman Belousov Length cannot be less than zero. Parameter name: length
I am getting this error "Length cannot be less than Zero". After this error occured the application stops working and this same error messages gets displayed in all the pages. If i replace the dll files again then the application starts working again. I am pasting the complete error message below ------------------------- Length cannot be less than zero. Parameter name: length Description: An unhandled exception occurred during the execut ...Show All
Kory I decide to be a VC++ MVP in this new forum.
//come on, asked me questions. wrote in message news:3279ecee-5298-4062-afa3-6b97effe360d@discussions.microsoft.com > How to multiply two decimal number and get their result without using > any floating point variables VarDecMul perhaps -- With best wishes, Igor Tandetnik You can't just 'decide' to be a MVP. You must be n ...Show All
khanhpt Virtual Inheritance
Why is it that when a class inherits a non virtual base class, space for the base class members is at the beginning of the derived class object whereas, when the base class is virtual, then, within the derived class, the base class members are copied after the derived class members. Thanks, KarthikR Liu, Thanks for the response. I guess my question is, how is the base class internally represented within the derived clas ...Show All
Noel Fernandez how to load pass and get info from (System::Object^ sender, System::EventArgs^ e) C++/CLI
Hi! all I'm back again!! The internet is full of information but there are some things when you type them in you get 5 million pages of irrelevant information What I'm after is how do load these up with info and then how do you unpack them on the other end....... (System::Object^ sender, System::EventArgs^ e) Thanks! P.S. Do you know were I can get a rainman (like in the 1988 movie) for C++/CLI I'm playing with VS ...Show All
