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

Software Development Network >> Visual C++

Visual C++

New Question

Using PumpMessage in DLL
Dynamically allocated ostringstreams? Getting C strings from ostringstream instance
Recommended books COM
Opening Xml Files with C++
Templates
Edit ignores '\n'
How to run an application when clicking "Shut Down" from start menu?
(COM) ITypeInfo - Method parameter names
build errors in vc++
EnumPrinters in Service doesn't work

Top Answerers

ShyamN MS
Brett Coombs
golfkeelo
orid64918
Sydelis
Mudasser
Tim Rupe
TFink
TechArtists
Rowanshr
Germany likes Linux
Only Title

Answer Questions

  • raxe Problem with GetTempPath

    Hi, I have a problem with the following piece of code. char tempFile[MAX_PATH]; if(GetTempPath(sizeof(tempFile),tempFile)) if(GetTempFileName(tempFile, "XYZ",0,tempFile)) strcpy(someBuffer,tempFile); However the problem is that this code works fine in case I use VC7. If I use VC8 this causes a "Access Violation" exception in mvvcr80.dll!strlen(unsigned char *buf=0x05120882) Line 81 Asm. Have anyone ...Show All

  • JMDavis Italicized/Bold formatted I/O streams

    I can't find any flags to set these, any help would be appreciated. I'm trying to format text displayed in the console. I need the cout ostream to display italicized text and cin to be entered in bold. std::cout << "Inventory data loaded.\n\nNow taking requests -\n"; //italicized std::cin >> req; //bold Can you be more specific   What type of stream are you writing to   And what are you writing.  For ex ...Show All

  • David Veeneman How to do what I already have done in Visual C++ 6.0

    I have gone through a book called 'Teach yourself Visual C++ 6.0 in 21 days'. Now I have Visual Studio 2005 C++ the Express edition and I see that much has changed. I really can't do what i did in version 6.0 because to much has changed. For example in 6.0 you had a wizard ctrl W and you attached and set a variable to a control and then called UpdateData() to use the control. But how do I do that now Or let me ask how can I in the best way learn ...Show All

  • GBob Intellisense problems in VC2005 Express

    There is more than one problem so let's start: 1. void foo() { struct _local { static void foo2(int iCounter) { iCo // intellisense doesn't auto complete } } _local:: // no intellisense here either } 2. I'm using boost::python and sometimes intellisense loses some definitions like instead of boost::python::return_internal_reference I get boost::python::RETURN_INTERNAL_REFERENCE_018423 ...Show All

  • Dave12349 creating a dll with unicode

    hey guys, this is a very very simple question. i created a dll project win32 dll. now i am using TCHAR variable in there. and i added the _UNICODE in the preprocessors to make my TCHAR's wchar_t. but somehow its now wchar_t, they r still char's. so in other words, how can i make my dll unicode thx in advanced i deleted my upgraded project from VS2003 and created it again with VS2005 and it seems to be compil ...Show All

  • JasonReis Multiply 20 digits len ; It is emergency case

    Dear C++ Programmers We know the c++ " long long " type or "__Int64 " type support 19 digits ; if I want to multiply or subtract or sum two 20 length digits , what I must do How it is poosible Hi It is a good suggestion , whould you make a sample , how can I make type , or how it work with array I use this ways before but it does not make it if it is possible help me more Have you tried MSN search Som ...Show All

  • Andrew Sears - T4G C++ Issue

    I have a vb.net 2003 web service application which utilizes a c++ dll for detecting the proxy/firewall server name and allows my software to reach the internet thru the identified proxy server. This worked fine while my client was using Windows 2k. Since they have move to Windows XP, this part of my code is failing. After much debugging, the issue seems to be code assembly permission on the c++ dll. I for the time being am confined to Visual Stu ...Show All

  • Paul Ruth upgrade a project from VC 6 to VC 2005

    hi , Right now i am working on VC++ 6.0 . I want to start work with VC++2005 . I have plan to upgrade my current project which has been running on VC++6.0 . How do i upgrade a project from VC++ 6.0 to VC 2005 . Please give me details and usefull tips about it . Thanks Akshay VC6 is a pretty bad compiler. It supports all sorts of nastiness. So, how bad the upgrade will be for you depen ...Show All

  • mg11111 .Net 2005 An internal error has occurred in the compiler...

    Hi I have around 250 projects in my solution and if I clean and start the build I get the following internal error for atleast 3 to 4 projects. If I compile the same projects once again, the error goes away. Is there a solution for this. I need to have consistent error free compilation for my projects. Otherwise .Net 2005 is unusable. xxx.h : fatal error C1001: An internal error has occurred in the compiler. (compiler file 'f:\rtm\vctools\com ...Show All

  • Flying B Printing different fonts...

    As I try to print out 2 lines of different size, I accomplish nothing and always get the same output, no metter what parameters I send:     pDC->SetMapMode(MM_ISOTROPIC);  // font:  CFont font1;  font1.CreateFont(20, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, 0,   OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,   DEFAULT_QUALITY,   DEFAULT_PITCH | FF_ROMAN, "Arial");  CFont font2; &n ...Show All

  • Geraint Davies C++ Express... ERROR C2664

    These are the errors i am getting when i build... error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [5]' to 'LPCWSTR' error C2664: 'UnregisterClassW' : cannot convert parameter 1 from 'const char [5]' to 'LPCWSTR' error C2440: '=' : cannot convert from 'const char [5]' to 'LPCWSTR' Heres the code: #include "WinMain.h" int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, ...Show All

  • FADI_KHAN Where is the context menu to add class member variables/functions?

    I have installed Visual C++ 2005 Express version. I tried using the class wizard to create a new member variable by opening class view and right clicking on the class, but Add Function and Add Variable are missing from the context menu. Is this something not included in the express version or is there a configuration setting that needs to be set These features are not available in Express, as we package ...Show All

  • Sudip Guha901 About Registry Monitoring

    Hi, how to capture the Changed registry key name,key value and key status(changed/modified/deleted). I used RegNotifyChangeKeyValue() for notifying the changes but i can't under stand what it will return how can we get those above values Thanks, Kiran.V Check this MSDN library article for an example. You would create one event for each key you'll monitor. Thus you know the key name. To get ...Show All

  • bubbafett Simple Console App

    Hello Folks, Am new to VC++ and dont really know if i am doing the right thing. But here is my question. I am trying to do a simple Console::WriteLine to print. To do that i do the following: 1. Start up VS2005 and create a new VC++ console app 2. Add a line Console::Write( L "Hello " ); in the _tmain. 3. Add using namespace std; and #include <iostream> in the stdafx.h file 4. Compile and successfully see the ...Show All

  • Denispiow media player activex control - help!

    Hi guys .. before posting, i did try to do some searches here and on google but i'm stumped .. need your expertise how can you access the functions of an activex control (media player in this case) in a visual c++ .NET MFC wizard app In visual c++ 6.0, I was able to create wrapper classes for different functionalities of windows media player control (app wizard generated this code automatically). thanks ! - Nadir Hi Nadir, This webpa ...Show All

505152535455565758596061626364656667

©2008 Software Development Network

powered by phorum