Software Development Network Logo
  • Visual FoxPro
  • SQL Server
  • VS Express Editions
  • Game Technologies
  • Visual Basic
  • Visual Studio
  • Architecture
  • Windows Vista
  • Microsoft ISV
  • Visual C++
  • Windows Forms
  • VS Team System
  • Visual J#
  • Smart Device
  • .NET Development

Software Development Network >> Visual C++

Visual C++

New Question

Adding as a Reference changed some function definitions ??
Using Hooks and Using Mouse Commands
Copy Constructor
declaring a stream
Can I make just plain exe, no dll-s in VS 2005?
icon scale
Need help circumventing compiler bug on C2665
How to use GDI+ in my old MFC programe?
MFC Application and stdout
Change default code for "New C++ Class"

Top Answerers

QuintPro
SQL User 2005
abbeyb21
Larry Robinson
Yalix
Oberon
hdb
acerpgh
Lee Gillie
Mattbance
JB International Training
Only Title

Answer Questions

  • Jareesh Dialog Handle and Application Handle

    Hi, I'm beginner id VC++, would anyone tell me how to get current dialog's handle and current allication's handle (with and without MFC) with thanks. mohammad Mir mostafa wrote: Would anyone tell me how to get current dialog's handle and current allication's handle (with and without MFC) Application Handle: You can retrieve it from WinMain() or DllMain() (it's the first parameter passed). Pass it as a parameter to ev ...Show All

  • _random application trying to link to MSVCP80.dll inspite of /MT compiler option

    Hi I am using Visual Studio 2005 professional on Windows XP x64 bit version. I am trying to create  a dll (say X ) which links statically to CRT libraries. For that I am using /MT option. But still when my console application .exe file tries to load it, I get the message - "This application failed to start as MSVCP80.dll could not be found".  If I copy it into the directory  it asks for MSVCR80.dll. And if I copy that too i ...Show All

  • west coaster C/C++

    Hello everyone, I'm an "old timer", because I started learning computer languages in 1974 (!) on a VAX system. (Basic, Fortran IV, Fortran 77, Pascal, Assembler, Cobol, C, C++, ...) My preferences are for C++ (still do) programing, but because of my professional duties, I stopped programing since 1988. Now I'm "semi-retired" and would like to restart using C/C++ but... What should I decide to buy, I mean, what kind of language to start with Vis ...Show All

  • Al_Robson floating point vector optimization

    Hello code gurus, I'm a recent arrival form the CodeWarrior PPC world, and hope someone can orient me toward the appropriate docs and examples. I need to do some floating point (double preferred) operations on vectors, basic ones like vector +,-,/, *, sqrt, dot product. Vectors are sized at runtime and don't change once created. I've read about hardware SIMD instructions and want to use these. 1) Do I need to use the SIMD instructions e ...Show All

  • RUISOLIDNET STL.NET serialization

    Is STL.NET going to include anything from the C++ standard library or only the STL subset Are stream based classes going to be present in STL.NET Are there any known plans to port the Boost library to .NET managed My application must be 100% verifiable ! Using both CLI\C++ and STL.NET, what is the best method of implementing a serialization mechanism The aim is to serialize from an unmanaged application and de-serialize this same file i ...Show All

  • Ed Bills cannot convert from 'const CString' to 'const char *

    how do i convert a const CString to a const char * my code is as follows.. connect(const CSting &hostname) { ................... host = gethostbyname(hostname); ............ } the line gethostname causes the error, and the compiler says cannot convert from 'const CString' to 'const char *' how can i convert I am using VS2005 :-( Take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID= ...Show All

  • TempusTI upper_bound()

    I'm using Visual C++ Express edition at the moment. I'm using the STL function upper_bound but under debug release version I'm having issues with the function. In xutility the following block of code is defined: template<class _Pr, class _Ty1, class _Ty2> inline     bool __CLRCALL_OR_CDECL _Debug_lt_pred(_Pr _Pred, const _Ty1& _Left, const _Ty2& _Right,         const wchar_t *_Where, uns ...Show All

  • Therese P delete operator assert error when using /clr

    I'm using a native C++ library through C++/CLI. This library has its own memory manager that overrides the new/delete operators so that it can keep track of object de/allocation, like this: inline void *operator new(size_t reportedSize) { ............. } inline void *operator new[](size_t reportedSize) { ............. } inline void operator delete(void *reportedAddress) { ............. } inline void operator del ...Show All

  • Marcio Rosa Invoke the MS C++ Compiler at the run time

    Hello, I really don't know if this related to this forum, But I thought a lot and I found it suitable. All I just want is invoke the MS compiler at the run time and give it the suitable parameters for compilation. and get the errors of it. This is really a useful for our project. Will we invoke it using the shell api!! Thanks, Mustafa ELBanna I tried this: system( "CALL \"C:\\Progr ...Show All

  • joietej how to set Security attributes of a process

    Hi i stuck in a strange problem i have exe file on my system when i double click on that exe file a window opens.But when i try to launch the same .exe file using CreateProcess( ) or ShellExecute() API calls then no window opens but the call does not return an error infact PROCESS_INFORMATION structure that i pass to the CreateProcess( ) call have a Handle to the Process and Handle to the thread. i Checked the task Manager but there is not e ...Show All

  • Jym Managed C++ - data type - convert to unmanaged

    Hi,   Basically i write a managed proxy with managed C++ on vs.net 2003.   It is working properly just i can't get the data type working properly.   In C# when calling the managed proxy, i hope i can get byte[] out of the managed proxy. The managed proxy actually call an unmanaged C++ component that has unsigned char *. So i code this instead. int CallManagedFuncA(unsigned char arg1 __gc[]) { // I can't pass directly arg1 int ...Show All

  • Madheshwaran Can't build WMI/C++ example in Visual Studio

    I downloaded Visual C++ 2005 Express Edition Beta and I'm trying to compile an example WMI program that I got from: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmisdk/wmi/example__getting_wmi_data_from_a_remote_computer.asp I copied & pasted the example into a file I named wmi.cpp.  Then I created a WMI project in VC++ and tried to build it.  It compiles OK, but I get two errors during linking. ...Show All

  • akula Help ?

    If i read some of the other post i came ot the conclusion that this was somewhat gonna be the dummest question on the forum i guess... but here it goes anyway When i use the Visual C++ compiler / environment ... the free downloadable one. and i write this sourcecode #include <iostream> #include <iomanip> using namespace std; main() { cout >> "Hello world!" ; cin.get(); } it would run and compile great ...Show All

  • DigitalDJ How do I really get started?

    I’m not sure if this is the right forum for this question, but…   I have downloaded Visual c++ Toolkit 2003. The setup.exe file with it has the version number 9.0.333.0 but the Command Prompt has no version number, just a creation date of 8-April 2004. I have also downloaded a C++ text editor and written my first program. Thing is, I cannot find anywhere the instructions for how to compile it.   In the Command Prompt win ...Show All

  • armindocorreia CInternetSession::SetOption fails with 12018 error code

    I searched my problem on many sites like groups.google,codeguru.com/forum ... I see that so many people asks the same or similar question but nobody answers. I am trying to download a file from a password protected site.Here is a snippet of my code: char *username = "username", *password = "password"; CInternetSession session; if (!session.SetOption(INTERNET_OPTION_USERNAME, username, strlen(username))) TRACE("%ld\ ...Show All

181920212223242526272829303132333435

©2008 Software Development Network

powered by phorum