Answer Questions
webmonsta About dll search path in VC++..
Why my application doesn't search the directories listed in PATH environment varible to find dll module when it is started from the IDE of VC2005(by press F5) How can I change this default behavior you can control the environment that your process is launched with by setting the "environment" and "merge environment" settings on the "debugging" property page for your project/config ...Show All
CleverCoder converting float to string and string to float
I know this is getting kinda repetitive but...how would I convert a float to a string and also a string to a float..Thanks a lot..(Code samples would be awesome). I tried the same but the compilation failed... error C2079: 'buffer' uses undefined class 'std::basic_ostringstream <_Elem, _Traits, _Alloc>' #include <string> #include <sstream> using name ...Show All
Andy Edinborough VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch ...Show All
Z3rep Can't include afxsock.h if WINVER 0x400
Trying to compile a project converted to VS2005 from 6.0. Defining WINVER to 0x400 to allow win9x. including afxsock.h gives many errors, pasting first few: J:\Microsoft Visual Studio 8\VC\atlmfc\include\atlsocket.inl(116) : error C2065: 'IPPROTO_IPV6' : undeclared identifier J:\Microsoft Visual Studio 8\VC\atlmfc\include\afxsock.h(381) : error C2065: 'SOCKADDR_STORAGE' : undeclared identifier J:\Microsoft Visual Studio 8\VC\atlmf ...Show All
gpalmer43 using a dll
Hi, I would like to create and use a dll in VC++ 2005 Express. So far far I have compiled a DLL using the project type "Class Library." What I would like to know is the correct method to use that dll in another project Take a look at the following links concerning how to use dlls. http://msdn2.microsoft.com/en-us/library/9yd93633 http://msdn2.microsoft.com/en-us/library/1ez7dh12 http://msdn2.microsoft.com/en-us/li ...Show All
bidur Difference between .Net Component
Dear Friends Im new to VS.net, and i'd like to know the differences between C++.net, or VB.net, J++.net, is the syntax of programming just the only difference. for example why should i go to C++ not VB.net and vice versa or J++ or C# Thanks Mohammad The differences are really a lot to post in a forum hread :-) of course the syntax is different, the performance is different, how easy to use the different languages is different. Some la ...Show All
Oscar Naim - MSFT How to output __int64 content by printf() serial function ?
HI, ALL: I need to use __int64 data type, but I cann't find output way by printf(), or other way I have tried %d, %ld, %LD... that does not work. Does anyone can help me Thank. %I64d will do it for you. Just for anyone else who encounters this, that's the capital letter i (I) and not lower-case L (l). In my browser's font those two characters are indisting ...Show All
joeciv Double pointers
How can i declare a double pointer in managed c++ I want to point to a variable number of arrays, each one with a variable number of elements so I need the double pointer. Thanks ;) Keep in mind that there are two kinds of arrays in managed C++. There are __gc arrays and __nogc arrays. A __nogc array effectively turns into a pointer, but a __gc array does not. You cannot have interior pointers stored in a __gc ...Show All
VKB Help finding a Compiler Version
Hello, I am trying to write a program in the version 7.0.0 of MATLAB utilizing the 2.5 version xpc toolbox. To be able to run real time time applications in need to be able to compile my program using a Microsoft Visual C/C++ compiler version (5.0, 6.0, 7.0, and i think even 7.1). Do I have to get a full version of visual studio Are these compilers free or do I have to purchase them It seems as though I can find a direct answer. thnxs for ...Show All
Larry E. Ramey VS 2005 Compile issue
Hi, I just got Visual Studio 2005 up and running and tried using it on a project that I have been working on in VS2003. Got a lot of compile errors. One that comes up quite frequently has to do with some generated code within InitialzeComponent(). For example a button click event line such as, this->btnRunSim->Click+= new System::EventHandler(this, btnRunSim_Click); The compiler fails on the second argument, tells me that I hav ...Show All
sahil_m Merge IDEs
I find the MSVC .NET GUI just awfull... (no offence :P). Is it possible to use the .NET linker and compiler with MSVC 6 Thanks. I love the new bells and whistles and find myself more productive with them. I think the issue here is that you speak for all developers when in reality it is just you. Even if every developer you knew didn't like them, it doesn't mean much because there are probabl ...Show All
Wilj batch build over telnet and error PRJ0003 : Error spawning
Hello, I try to build my application with a batch build via telnet on another computer in our company network. But I get the following error messages when cl.exe tries to start: Microsoft (R) Visual Studio Version 8.0.50727.42. Copyright (C) Microsoft Corp 1984-2005. All rights reserved. ------ Build started: Project: SOFILIB, Configuration: Debug Win32 ------ Compiling... Project : error PRJ0003 : Error spawning 'E:\Programme\Microsoft Visual S ...Show All
Ludovic_han setting enviroment option- save file option
Hi I am changging a code that works. I don't want to save my files befor running them ( because I don't want to save unchecked code. How can I do it . Now I have to save all before running the programs in order that the code changes will take effect. Thanks I think the "Undo" function in VS2005 is powerful enough that you can safely save the unchecked code and undo them back after running. Or you can backup t ...Show All
Ajay Bansal vstudio 6 on "no class name display in the "class view" tab of workspace"
Sometime, nothing appears in the calss view in the workspace even though there are some files in the file view. why those happened I have a workspace with 20 projects, some of which are normal library (dll) project without MFC support. Typically, those library proect will have the problem described. I'm sorry but Visual Studio 6 support has ended, and VS6 questions are off topic here. Try www.code ...Show All
Jabongga How can I get more context tip?
How can I get more context tip You know:when you define a instance of a class,and write the object. ,and then automatically the screen give you the tip about the public member functions of this class.But Now it only give me the tip of member functions of that class in my project.Please tell me how to configure the my Visual C++ environment so I can get more context tip Thank you very much for your help! The feature is called Inte ...Show All
