Application crash on clean up of DirectDraw structures in COM DLL after...
All,I have an MFC application which uses a DirectXWindow implementation in a COM DLL. The application crash in the destructor of the directxwindow when releasing one of the surfaces (CComPtr<...
View ArticleWindows 8 Csrss.exe Dll Inject - RtlCreateUserThread working with API DLL but...
Hi,i try to inject my dll to window 8 64bit Csrss.exe with RtlCreateUserThread function,RtlCreateUserThread working good but my dll cannot load while i tried with window api dll and it's working...
View ArticleHow can I know default precompiled header buffer?
Following http://msdn.microsoft.com/ko-kr/library/bdscwf1c.aspx, /zm option is percentage of default precompiled header buffer.But how can I know default precompiled header buffer size?
View Articlesaving mail from outlook
Hi. I'm new to COM/ATL development . I've build a COM add-in for Outlook 2010, using this tutorial as main source of information....
View ArticleHow to move from control to control using arrow keys
Hi, I have made an application in C Windows Api where I have a kind of grid of radio buttons and small edit controls. I want to be able to move between these controls using arrow keys.I have made the...
View ArticleThe procedure entry point GetTickCount64 could not be located in the dynamic...
The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll problem while running in WinXP.Please help.Please remember to mark the replies as answers if they...
View Articlepassing unsigned int* to managed C++ app
Hi, I am looking for passing unsigned int* to managed C++ app Ex: Native C++: void func(unsigned int * data){ //Here I have access to managed C++ class and I would like to know how to pass data...
View ArticleMFC edit control question
Hi, I have a MFC dialog that contains a few edit controls for user inputs(parameters), I also allow selecting a txt file that contains the parameters via a button control:so I am wondering how to...
View Articleerror C1189: #error : ERROR: You must use a GNU Compiler.
Hi everyone!I have just ran into an error in which I don't know how to resolve. I'm trying to compile some code I have but it gives me the following : error C1189: #error : ERROR: You must use a GNU...
View Article/error C2064: term does not evaluate to a function taking 1 arguments
Hello:It doesn't compile, because of the error written in the heading.I would be pleased if somebody could solve me this little problem.Thanks!#include <iostream> #include "Student.h" using...
View ArticleCompiling errors on newly generated MFC project in VS2010
Hello,My IT department just installed VS2010 for me a few weeks ago and I to try to step through a process of creating a barebone MFC DLL project but it failed to compile. I then upgraded to VS2010 SP1...
View Articlevb.net, vc++ and vc#, which is better to performance communicating with...
i am selecting developing language to switch, i always need to communicate with hardware like serial port and drivers, and i also need to access database server. VB .Net/VC ++/VC# which one is better...
View Articlehow do i create a dll file for xlslib?
Hi, I download the xlslib from the web and i want to create a dll file for this library. I dont have much Knowledge in C++ and in creating dll files Can someone help me please?? Tnx.
View ArticleWhat is this implicit object parameter in §13.3.1 ?
C++ Standard (N3337) §13.3.1 Candidate Functions and Argument List (see paragraphs below)2. ... For the purposes of overload resolution, both static and non-static member functions have an implicit...
View ArticleWhat is the fastest way to find a defect in the C++ Standard Core Language...
It took me a while to find this defect on paragraph §8.5/7 of the C++11 Standard. I finally found it by just googling some of the words contained in the draft N3797 for the alluded paragraph. Before...
View Article64bits: CoCreateInstance 0x80040154 Class not registered
Hi All,I am trying to create a COM component for 64bits... so I decide to follow the following article: http://www.codeproject.com/Articles/338268/COM-in-C I have register my component like...
View Articlemsvcr110_clr0400.dll
I rashly decided to install the latest visual studio express for desktop apps but then uninstalled it and cannot get my PC back to how it was. System restore cannot help as all restore points prior to...
View ArticleChanging group height of CListCtrl
I made a custom control for CListCtrl with item grouping. I managed to control the item height by overriding the OnMeasureItem. But I have a problem with group header height as I cannot control it...
View Articleduplicate results in "Find Symbol Results" pane
When I do a Find All References, I often get duplicate results in the Find Symbol Results pane. For example, notice the four lines for dbtypes.h(3063) and the four lines for replicator.cpp(1365) in the...
View ArticleWhat is wrong with my RPN calculator?
Hello all! I am trying to make a reverse Polish notation calculator but it doesn't work. If I were to enter 1 2 + 3 *, I get 6 instead of 9. If I enter 1 2 3 + *, I also get 6. I don't know what is...
View Article