Software Development Network Logo
  • Windows Forms
  • Game Technologies
  • Visual C#
  • Visual Basic
  • Smart Devicet
  • SQL Server
  • Microsoft ISV
  • Audio and Video
  • SharePoint Products
  • Visual Studio
  • .NET Development
  • Windows Vista
  • IE Development
  • Visual FoxPro
  • Visual C++

Software Development Network >> Visual C++

Visual C++

New Question

VC++ User Type Syntax Highlighting
VC++ 2005 redistributable
windows program
Enum type with less than 4 bytes???
few questions about C++
Does Edit and Continue work in VS2005?
How to convert ULONGLONG to int?
Problem - CEdit displays entered character 4 times
Problems Using TextOut in win32 app
Visual C++ 2005 Precompiled Header Bug?

Top Answerers

Braneloc
matsushita
jsedlak
Tryin2Bgood
LouisPeter
IamHuM
ChristopherC
NetPochi
Vasura
Nfrf
sitemap
Only Title

Answer Questions

  • Kamii47 VS2005 SP1 released

    VS2005 SP1 is released. http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx If you have any trouble installing, be aware of http://support.microsoft.com/kb/925336 (that exact problem happened to me when I tried to install VS2005 SP1) release notes: http://support.microsoft.com/default.aspx scid=928957 partial list of VC fixes (I don't know where the final list is) http://blogs.msdn.com/vcblog/archive/2006/06/22/643325.aspx     A fix list has now been published (in actuality it is only a very small subset of the full fix list) http://support.microsoft.com/default.aspx/kb/918526 ...Show All

  • Vladimir Chtepa Pointer access violation crash.

    #include <iostream> #include <windows.h> #include <psapi.h> struct _file { char filePath[MAX_PATH]; }; typedef struct _MODULES { HANDLE mHandle; HMODULE hMods[1024]; DWORD procId; _file file[1024]; unsigned int nId; }MODULES,*PMODULES; using namespace std; bool GetProcModules(PMODULES mod[],DWORD ProcessIds[],unsigned int id); int main(int argc, char *argv[]) { DWORD processIds[1024]; DWORD bytesRet; if (!EnumProcesses(processIds,sizeof(processIds),&bytesRet)) { cerr << "EnumProcesses() failed\n"; system("pause"); return 1; } DWORD calcIds = bytesRet / sizeof(DWORD); PMODULES Modules[100]; for (unsigned int i = 0;i < calcIds;i++) { ...Show All

  • Mike Haro Visual Studio fails to perform incremental builds

    I'm currently using Visual Studio 2005 to compile our Visual C++ application that was converted from Visual C++ 6.0. I'm finding however that my project no longer incrementally builds. If I change 1 source file (not a header) my entire project has to rebuilt! My project takes almost 2 hours to rebuild. This was not an issue in Visual C++ 6.0 and other developers on our project do not appear to have this problem. My question is, what other files besides source/header files does Visual Studio use to determine that my entire project has to be rebuilt It appears that there is some other dependency. Can visual studio show me the reason why everything is rebuilding We are using a Windows Clearcase environment and I had the following fi ...Show All

  • Aaryant XML Extracting Attributes (Simple Question)

    Hi, I have a simple question regarding XML. If I have an XML file in a similar format as seen below, want I want to do is find ‘Product_Number = 1’ get the COLOUR and PRICE but what would be the best way to do this (C++ .NET) and would code loook like < xml version="1.0" encoding="utf-8" > <PRODUCTS> <PRODUCT> <PRODUCT_NUMBER>1</PRODUCT_NUMBER> <COLOUR>Blue</COLOUR> <PRICE>83.40</PRICE> </PRODUCT> <PRODUCT> <PRODUCT_NUMBER>2</PRODUCT_NUMBER> <COLOUR>Yellow</COLOUR> <PRICE>83.21& ...Show All

  • Deedhun ATL COM MTA And STA Models

    In STA COM Environment do the events go to the subscribed client in a queue In MTA COM Environment do the events go to the subscribed client in a queue If the answer is no do we have to use Mutex in the subcsribed client event function to prevent Accesing the same object in the same time. Please answer all the questions and note that I am not asking COM interface functions but interface events like Fire_Start(unsigned short objectID); Thanks in advance How can I re-direct this post to that forum dont know that Thanks Go to the newsgroup and ask the same question Since you haven't gotten any replies yet, you should direct this question to http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.pu ...Show All

  • one_pom How to forward MSG message to another window

    Hello. I'm learning Win32 API and I am wondering what should I do if I want to forward MSG message recieved by hook procedure to another HWND window Thanks. U can achieve this by overriding the Pretranslate message of the window. In Pretranslate message function use PostMessage() to pump the MSG structure to the other window you want to process that message. Let me know if u find any other solution.. ungvar wrote: From the other hand if PostMessage does it asynchronously the MSG object could not exists by the time window will process the message (because the hook is global) and the process may crash. Right I still dont understand if the semantics of SendMessage is correct. ...Show All

  • creaturita Memory leaks during using dll functions

    Hi there, i am using memory management functions of a dll. All I have are the header files for this dll. So, when i use for example dll_alloc_picture(X) and then forgett to use dll_free_Picture(X) the normal CLR memory leak functions don't help. Does someone have a suggestion how to cope with that, and maybe someone could give me a hint to the state of the art software for solving such problems. Thx in advance A.Gallus There are some tools like Numega Dev Partner Studio and Intel vTune Performance Analysers dealing with profiling stuffs. So there is no possibility to do this with visual studio alone Greetings A.Gallus ...Show All

  • arunsreekanth Running an external .exe from C program

    Hi, I want to run an external .exe file from my C code. If i use "system" command the external exe runs in the same window. How can i run the child exe in a different window Thanks Karthik Of course, that would depend on *nix portability. I would choose CreateProcess over system (system is actually calling CreateProcess). Alternatively, you could use CreateProcess, with the creation flag CREATE_NEW_CONSOLE. See http://msdn.microsoft.com/library/en-us/dllproc/base/createprocess.asp frame=true for more information. Maybe instead of system("MyExternalExe.exe"); you should try this: system("start ...Show All

  • Jesper25539 OleDbConnection - reg

    hi gents, I want to access the Access database using OLEDb jet in VC++ 6. Is there any example available Pls provide the same for asap. Regards, K.Vishvanathan Hello Re: OleDbConnection - reg Such questions are outside the scope of this forum - for the scope of the VC Language forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=789657&SiteID=1 For such issues please use an appropriate newsgroup, potentially one at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All

  • Ryn Win32 Stopping the Caption Bar buttons from being drawn

    Hi, Does anyone know of a way to stop the caption bar buttons from being drawn without removing the WS_SYSMENU Also, the close button needs to be removed completly, not simply disabled. If anyone can get me in the right direction as to how to stop these from being drawn (as it doesn't look like they are drawn in WM_NCPAINT) that would be great! Thanks! Brandon See Windows SDK forum for Windows programming questions If you are using MFC, there are a few MFC newsgroups that you can use. However I can say that you might be able to accomplish what you need simply by looking at windows styles, including extended windows styles. Look closely at all of them. Note that if you are using MFC ...Show All

  • Milo123 ASSERT error on Visual Studio .NET 2003

    I have a dialog mfc application with a main dialog. With a button in the main dialog I launch a second dialog. All the controls in this second dialog worked fine. But for some reason everything went wrong. I placed a list box for example on the dialog and I added a control variable for it and I called it NameList. Then I have a piece of code in the dialog NameList.ResetContent(); It compiles fine with no problem, then when I run my application and launch the second dialog it works great. But as soon as the NameList.ResetContent(); code executes I get the assertion error. Here is some details about the error: afxwin2.inl line 698 (The code on line 698 are given below) _AFXWIN_INLINE void CListBox::ResetContent() { ASSERT(::Is ...Show All

  • imin83 Problem with project from scratch

    Hey, I have a problem fixing a problem. Search gave me no relevant answers, so I decided to post here. Basicly I started a project from scratch since I don't like wizards which creates 10+ files which I totally have no idea about what they do or how they work. Since the files say more than a thousand words; here's a link to what I got so far. http://www.verzend.be/v/7367373/tsw.zip.html What do I have to do to not have my program just flash the GUI and start inmediatly I like to have my startpoint in the GUI, not via the main. Help !!! It worked!!! Thanks alot! Einaros, what has Application::Run to do with Gui.cpp and the linker That's an empty fi ...Show All

  • Pria Calling C# from unmanaged C++

    I've been searching a bit and I'm just getting twisted around about what I need to do here. Apologies if this has been answered many times, but I haven't been able to find it. I have a C# class library containing a form called DisplayWindow. It is being built succesfully. Now, I'd like to be able to call my DisplayWindow form to load from some C++ code. Once loaded, I'll be making additional calls into the DisplayWindow from C++. I've seen some examples using COM, but that doesn't look quite like what I want to do. Also, I've seen some stuff for calling C++ from C#, and that looks much easier... Can anyone help with this Thanks! Well, FWIW, here's an example I put together: // Pull in ATL utilities #include <atlbase.h> ...Show All

  • Stikstofman Specific MFC functions wont load / unresolved

    Hello again, i have a running thread here but that didnt descibe the problem the right way so im restarting. im using some mfc in my C++ app for Pocket PC 2003(ARMv4) Compiling of the project is no problem but when i build i get loads of link errors... Mainly it cant find: CListCtrl::InsertColumn CListCtrl::SetItemText CDC::ExtTextOutW CWnd::Create CWnd::CreateEx CFileException::CFileException and some other functions are also missing but your getting the point. I have Use of MFC as dynamic so it is included, and what i find even more confusing: Found "public: int __cdecl CListCtrl::Create the uafxcwd.lib holds the ClistCtrl, and when I open the lib, it also contains InsertColumn and SelItemText, but some ...Show All

  • Joseph Wee Probelm about CException in release mode?

    Hi, My application works fine on debug mode, but not fine on release mode. The GPF will be happen after CException::Delete() every time. My class structure is like below. Please help me to solve this problem. Thank you! class EXPORT CApiException { CApiException (bAutoDelete):CException( bAutoDelete) {} ..... } CApiException *pError = Sender(..); <== Sender will return an error if error is happened. if (pError) { pError->ReportError(); pError->Delete(); <== GPF is happened here in release mode. } It difficult to know the reason, without studying whole code. In debug , compiler takes care of lots of things, like initialization, etc. You ...Show All

93949596979899012345678910

©2008 Software Development Network

powered by phorum