Quantcast
Channel: Visual C forum
Browsing all 15302 articles
Browse latest View live

Is it the END of MFC/COM/ATL

Hi,   From past quite sometime i have been working on MFC/Win32 API. Also i have started working on COM/ATL.  I have been seeing the changes, the invention of .NET and now as been .NET 3.0 it looks...

View Article


Image may be NSFW.
Clik here to view.

how to eliminate extra focus rectangles using CDRF_SKIPPOSTPAINT in...

I want to eliminate these: My customdraw code is this: void MyCTreeCtrl::OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult) { LPNMCUSTOMDRAW pNMCD = reinterpret_cast<LPNMCUSTOMDRAW>(pNMHDR);...

View Article


detect ppi

Hi AllHow can detect client monitor ppi (pixel per inch)?Regards

View Article

How to Add my own Event in a C++ MFC dialog based app?

Hello, I made a class that is used for client/server in TCP/UDP mode, it works well but sockets blocks my app when it wait for some connection, i use the poll( Vista/7 ) and select( XP ) functions to...

View Article

Which VS 2013 has Profile Guided Optimization (PGO) ?

Hi,Please let me know which version of Visual Studio 2013 has support for PGO.Thank you in advance!Best Regards,Zsolt Bakcsi

View Article


access violation during garbage collection

I have a set of managed dll's that work fine as a managed standalone program. But, I'm trying to use them from an un-managed application. When I do, once I've returned from calling my managed...

View Article

Some compiler issue...

Hi there!I'm facing a really strange bug  and I hope that somebody can help me with this.I'm trying to compile a complexe project made by my company but when I try to, I've got a strange issue :There...

View Article

error MIDL2337:unsatisfied forward declaration : ICustomImport[CoClass...

HiI am migrating my application from vc++ 0.6 to vc++ 2013,one of the error iam facing is:error MIDL2337:unsatisfied forward declaration : ICustomImport[CoClass 'CustomImportAXA']The part of the code...

View Article


TRACKMOUSEEVENT not generating WM_MouseLeave for a native control hosted in WPF

So we have a somewhat convoluted architecture which requires us to host a custom native C++ 64-bit control on a WPF form.We place the control in it's own DLL - compile it as Native 64-bit and export...

View Article


error C1083: Cannot open type library file: '..\..\system32\msxml.dll': No...

HiiIam migrating my application from vc++0.6 to vc++2013, this is one of the error iam facing..I am sending part of my code and is highlighting the error...

View Article

error LNK2019:Unresolved external symbol when using a shared dll in other cpp...

Hi,I have build a shared dll and the purpose of it to load a resource dll & get the resource names depending upon resource id given.& this shared dll is called in other cpp project(dll).My...

View Article

What is the point of User Intrerface threads if they block each other?

I have an MFC program with MDI type interface. At one point I need to do some lengthy processing in response to clicking a button. While this processing is going on I do not mind the window to be...

View Article

Reverse Debugging

Hello Everybody,I have Visual Studio 2012 and I would like to ask whether I can do reverse debugging. I mean that while running the program in debug mode, can I step backwards  (like undo)? How can I...

View Article


How to use Visual C++ DLL in C#

Hello,I have tried converting a Visual C++ project( Consisting of around 50 files) to DLL byusing the following step.Properties->General ->Configuration type(Dynamic Library (.dll)).C/C++ ->...

View Article

How to get all the files in the Temporary Internet Files Folder?

HI All Thank you for reading.I am trying to do the sample code from this link: http://msdn.microsoft.com/en-us/library/t49t9ds1.aspx// enum_files.cpp // compile with: /clr using namespace System; using...

View Article


MFCCtabCntrl - Swapping Tabs

I Need help urgently.I have an mfc MDI application. My view have tabs at the bottom and i have enabled swapping of tabs.What i am trying to do is to catch the event (if any) at the point when the tab...

View Article

Visual Studio 2012: Slow deallocation when new called within openmp loop

#include <iostream> #include <vector> #include <time.h> typedef std::vector<double> DoubleVector; int main() { int nhist(70000); int nbins(2000);...

View Article


DoVerb brings up "Create Package" dialogue instead of open a file

I have a MFC application that  Users can open a file when they double click the file.(Works perfect on XP),but not working on Windows 7. It bring up "Create Package" dialogue instead of open a file on...

View Article

psc161 VS 2012: Snapshot Recordset no longer updatable

psc161(VS 2012: Snapshot Recordset no longer updatable) is solved ?If solved means then it contains in which update ? I am using Visual Studio Ultimate 2012 11.0.50929.0

View Article

decorated name length exceeded for xmemory

Hi,all, I encountered multiple ' decorated name length exceeded, name was truncated' warnings for usingstd::list<std::list<ATL::CAdapt<MSXML2::IXMLDOMNodePtr>>>1>C:\Program Files...

View Article
Browsing all 15302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>