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

Software Development Network >> Visual C++

Visual C++

New Question

How to get the Actual Path with .lnk File
Singular preprocessor definition needed
C++ or C++.NET
Resource Editor: Add/Remove operation is impossible ... read only (NOT)
Converting Project to Use msvcprt.lib instead of msvcirt.lib
com/atl attributes broken
VS C++ MFC Application Exit Code
Finding file handle count
Convert double to char
subsitution of msvcrtd.dll by msvcrt.dll by patching the application, how to

Top Answerers

saif
TechMan
psy_ill
jcdotcom
plexed
dansha
Benny Tops
Paulovsky
morlando
hcoloc
Izba Celna w Krakowie
Only Title

Answer Questions

  • Lorry Craig Compiler bug in VC++ .Net 2003

    Hi I have very strange situations. The following code always crashes any .Net appication that uses it. What I have: 1. The Managed C++ code (test.h and test.cpp) that defines enumeration "Els" and function that returns an array of values of this enum "Els" as output parameter " outParam" . -------------------------------- test.h -------------------------- #pragma once using namespace System::Runtime::InteropServices; #define V_OK  ...Show All

  • Kevin MacDonald Problem seeing my window

    I just got Visual Studio 2005 and I tried to make a program using Win32. The program is just displaying a window. When I compile the code I get no errors at all, but nothing happens after that. My window doesn't pop up. I made sure that I had the functions: ShowWindow() and UpdateWindow, but apparently that wasn't the problem. Please help. For string literals, use _T("...") So if you had "abc. ...Show All

  • FZ_1234 Form Closes without this->close() being called

    I have a form and when I click a button, the form closes even though I never call the close() function. The code is below: if(group) { tree->Nodes->Add(textBox1->Text); } else { tree->Nodes[gIndex]->Nodes->Add(textBox1->Text); } textBox1->Clear(); textBox1->Focus(); that is all my button_click even does yet my form closes after the execution...why ...Show All

  • Jim Walkling writing DCM header information in a text file

    Hi, I have completed most of the work on DCm Converter. I have used DCM Viewer to view DCM Images and to convert them into different formats(like jpeg, tiff,bmp,png, etc). but now i want to write the DCm Header to a different file. i.e. when i convert DCM file to jpg or any other format then it should result in two files. one jpg image and second text file which consists of DCM header information. I searched on net regarding this and i found fin ...Show All

  • erwin_m Why I cannot open include <atlbase.h>

    I cannot use heder file <atlbase.h> in Visual C++ 2005 beta. I try to acces a resurce file as: CComBSTR bstrTemp; bstrTemp.LoadString(index); ob->Text=bstrTemp.Copy(); and I need to include atlbase.h Error recived when a compiling a project in which I wrotte only #include <atlbase.h> ------ Build started: Project: Multilingual, Configuration: Debug Win32 ------ Compiling... stdafx.cpp Compiling ...Show All

  • Orenk9 Maximum thread question

    I did the MTGDI example from MSDN: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vcsample/html/_sample_mfc_MTGDI.asp using VC++ 6.0 sp2 and XP sp2. Running this program I've found that I cannot create more than 2,016 threads, why is that I was thinking that there is really a 2,048 thread max and the first 32 of those are system only, but that was a guess, I can't seem to find an answer through msdn searches. ...Show All

  • yarini Type casting question

    I need to convert one legacy C++ type to .NET type.I would like to know which is the preferred one.I am writing code in managed C++. int a; 1)System::Int32 i = (System::Int32)a; 2)System::Int32 i = Convert::ToInt32(a); Thanks in advance Jimmy Martin, I agree with your thoughts. Thanks a lot, Jimmy Martin, This actually confused me.This syntax l ...Show All

  • ??? ????? Form Closes without this->close() being called

    I have a form and when I click a button, the form closes even though I never call the close() function. The code is below: if(group) { tree->Nodes->Add(textBox1->Text); } else { tree->Nodes[gIndex]->Nodes->Add(textBox1->Text); } textBox1->Clear(); textBox1->Focus(); that is all my button_click even does yet my form closes after the execution...why ...Show All

  • datasetshelp bool checking problem

    I created this fucntion to guard against invalid input for a bool value. In the program I created for. When I moved it to another program, it isn't working as well. Here it is, as well as a sample calling. void f_collect_answer( bool *question); int main() { bool ex; //do stuff cout << "Will you exit, Yes(1) or No(0) " ; f_collect_answer(&v_ex); //do stuff } void f_collect_answer( bo ...Show All

  • David PG Scroll limitation issue

    hi, I have recently taken over the a project for someone, one of the issues we have come across is that you cant view an entire document, in a window with scroll bars if its really big.  I track this problem down to the ranges on the scroll bars.  Once the range of the scroll bar exceeds 32000 pixels, it is set, by my ex-colleague back to 32000.  So when you view a document, depending on the zoom factor you may only see a fractio ...Show All

  • almaz Converting time [hh:mm] into decimal format!

    Is there anybody out there that can help explain to me how on Earth to tell my computer (program, in C++) how to take an input of time, in the typical hh:mm format; and convert "that" into hours (decimal format). For example, if I were to prompt the question: "How long ago did something occur [hh:mm] _ And the user's response is 2:30 (which would represent 2 hours and thirty minutes ago). How do I explain to the computer to ONLY t ...Show All

  • qwerty yuiop VS 2005

    Hi I developed a project in Visual Studio 2005. Now I want to change back to Visual Studio 2003, How do i change this Thanking you Manoj Jangid for .vcproj files you can probably edit them in a text editor and change the version back to "7.1". (it's not quite this simple going from 7.1 to 8.0, but it will work in most cases going the other direction). I'm afraid the .sln file is not so easy. your best bet would b ...Show All

  • Talbot McInnis Saving WIA-acquired pictures

    Hello, i have an application allowing to take pictures with a (web)cam and select the ones to be saved. These are stored in a IWiaDataTransfer pointer. However, i don't know how to save them, and how to choose the desired file type (bmp,jgp,tiff,gif). Can someone give me some advice Thanks a lot! You transfer the image from the camera with the idGetData() method. The pMedia argument should reference a prope ...Show All

  • Shash58691 Dialog Resizing in Japanese XP

    In an 8-year old MFC/MDI project under Visual C++ 6.0, I use the default 8-Pt. MS San Serif.  For the first time I have heard from a Japanese XP customer that the dialog is being resized and labels are being shifted and/or truncated.  Experimentation showed that I could easily reproduce the behavior just by changing font dialog.  I assumed that XP was replacing an unknown font with some more universal font.  However, 8-Pt. MS ...Show All

  • Matejko Can't change the folders..

    Greetings! I'm a new user of the Visual C++ 2005 Beta 2 enviorment. I've experienced a strange problem, when I simply can't view, change or edit my include and lib folders. The page is blank, what's wrong Hi, Take a look at the following post: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=2995 Ronald Laeremans Visual C++ team ...Show All

8910111213141516171819202122232425

©2008 Software Development Network

powered by phorum