In a MFC Dll project only one source file gets compiled in release mode
I created a new Visual C++ project of type MFC dll and added several source files to it. In Debug mode they all get compiled but in release mode only one particular source file gets compiled even...
View ArticleInstallshield professional for 2008
HiI am migrating my application from vc++6.0 to vc++2008When application was build in vc++6.0 successfully i created the package using intallshield professional for vc++6.Now my application is working...
View ArticleDLL with wrong missing symbols
I have a program (mrViewer) which uses the ffmpeg libraries built from zeranoe together with a bunch of other libraries. This program was compiling and running just fine. However, now it no longer...
View ArticleVIsual C++ 2012: Can you compile MFC DLL/Library from source code?
I am curious if it's possible to compile the MFC source code to DLL/Library from what is provided with the Visual C++ 2012 install.If so, where would I find this information?Hoody Hoo!
View ArticleGSM based Tracking
Hi Everyone, I am developing Geo-Tracking application. I am tracking device based on different methods like: Tracking based on IP address, Wi-Fi, GPS, GSM I want to implement tracking based on GSM. I...
View ArticleOverloading exported functions in C++ DLL
I currently have a .def fileLIBRARY "MyLib" EXPORTS Fooand codeint __stdcall Foo(int a);1) can I overload this?I'm told that I must instead use#define DllExport __declspec(dllexport) int DllExport...
View ArticleWhat is this dreaded __missing_type__ actually good for?
Can anybody please explain to me what this dreaded __missing_type__ is actually good for? The compiler inserts this sort of place holder if it could not load a depending type libary before, that...
View Articledll UNICODE/ANSI strings
I have a dll compiled with _UNICODEI export 2 functions: void* foo(void* str) //returns UNICODE string void* fooA(void* str) //returns ANSI stringif the dll host calls foo and has UNICODE or ANSI...
View Articlemulti link list
What is multy linked list how to it work please tell me and algorithm of multy linked
View ArticleI'd like to make a C++ form
All though a total novice in C++ I am an experienced developer. So no I need to know three things: Where is the main routine that calls other routines? How and where do I put subroutines? How do I do...
View ArticleClass and use
Hi,I have two pieces of code I am trying to figure out what is happening here please help@START_CLASS // Set up a schedule pointer for each model point // Schedule pregen_bonds; Schedule *pregen_bonds;...
View ArticleWhere are the "semantics constraints for default-initialization" referred in...
§8.5/8 (N3797):To value-initialize an object of type T means:if T is a (possibly cv-qualified) class type (Clause 9) with either no default constructor (12.1) or a default constructor that is...
View ArticleVS 2013 error LNK1104: cannot open file atlsd.lib
I'm trying to get a VS 2010 C++ ATL based dll to compile in VS 2013. I'm getting the following link error: <o:p></o:p>error LNK1104: cannot open file atlsd.lib I've not been able to find...
View ArticleVS 2013 regsvr32 buffer too small error when registering a COM dll
I have a atl/COM base solution I'm trying to convert to compile under VS 2013. Whenever VS tries to register a dll I get this error (in part):Microsoft Visual C++ Runtime LibraryProgram:...
View ArticleWhy can't I use HWND from GetDesktopWindow() to draw lines on desktop screen...
Hello everyone,I am working on a desktop application that is somehow related to gestures.The goal is to draw a path or a line on the desktop screen when user performs a certain gesture.I managed to do...
View Articlemidl : error MIDL2019 : error accessing type info
Hi All,I'm migrating an application from vc ++ 6.0 to visual studio 2008. I get the MIDLError on Rebuild of my project, while thiserrors does not appear on Build. I'm not able to figure out why this...
View ArticleRead SMART DATA from HDD
Hi guys, I m trying to read SMART attributes and print on the screen using windows API but i dont know here how to read and print in C++. I have written a small codeSENDCMDINPARAMS stCIP={0};...
View ArticleSample MFC Application with CDockablePane as view?
Is there any example that show CDockablePane with Document / View architecture design? Most of the sample I saw are either SDI or MDI. I want to create MDI example that allow user to move the windows...
View ArticleActiveX bitmap push button built in VS 2013
I migrated an ActiveX project from VS 2008 to VS 2013 that has various controls including bitmap push button. When I build under C++ VS 2013, the control works in dialogs but is disabled in CDialogBar...
View Article“Preview of ” in tab group
VS 2013 C++ sometimes opens a file with a tab at the right of the tab group instead of adding it to the open tabs at the left, and if you hover the mouse over the tab, it says “Preview of <file>”...
View Article