Rebuild all but precompiled headers in Visual Studio
How would it be possible to configure VC++/Solution/Projects to rebuild all but the precompiled headers? ...
How would it be possible to configure VC++/Solution/Projects to rebuild all but the precompiled headers? ...
Has anyone had any success converting a VS 2008 C++/CLI (vcproj) project to a VS 2010 project (vcxproj), whilst maintaining .NET 3.5 as the target framework? I haven't been able to do this and get the project to build successfully. The project compiles fine in VS2008 as .NET 3.5, and fine in VS2010 as .NET 4.0, but I am unable to target ...
I got: InvokeHelper(0x18, DISPATCH_METHOD, VT_I4, (void*)&result, NULL); How to get function name, if we have the object method or property specified by dwDispID = 0x18? void AFX_CDECL InvokeHelper( DISPID dwDispID, WORD wFlags, VARTYPE vtRet, void* pvRet, const BYTE* pbParamInfo, ... ); ...
Hi All, I have an MFC application to run on mobile device. Now this appliation code need to be reused from C#. I am trying to create wrappers, dll, and import this dll from c#. Problem being faced is , my project is not a class library. So i created another MFC class library - (MFC-Shared dll) in the same solution and tried to create ...
I have Credential manager implemented in VC++ which captures credentials during login process. It works well in XP/Vista/Windows 7 32 bit env. But is not working in 64 bit. Any idea ? Thanks in advance for any help ...
I know a (vc++) ocx is an ActiveX control, and a (vc++) dll is a collection of functions. I've found that being called from a vb.net application, the catching of some exceptions could behave differently if the exception is being thrown from inside the ocx or inside a function that comes in a dll. So my question is: From a point of view ...
I am working on a fairly significantly-sized project which spans many shared libraries. We also have significant reliance on the STL, Boost and our own template classes and functions. Many exported classes contain template members and exported functions contain template parameters. Here is a stripped-down example of how I do library e...
Hello I want to change font of a menu item from bold to regular. I looked few API's like ModifyMenu SetMenuItemInfo but looks like there is no direct API to change the font. Any suggestions whats the easiest and best way to do that. ...
Surely the answer will be "you can't" or "use XP mode", but I'd like to know if it it possible. The issue I have is that whenever I debug some application and hit a breakpoint, when I stop the debugger the debuggee remains stuck. It can't be killed, I can't attach another debugger (it says it is already being debugged). It won't go away...
Hello, What is the difference of creating a simple C DLL between using visual studio 2005 and visual C++. I saw that when creating it under studio also a manifest was created and I had some problems regarding deployment in another machine because of using side-by-side folder (when calling that dll form a C# application" How does the me...
I have an MFC application running in Win7 with no Titlebar (i.e. My title bar is home-cooked, with custom buttons for restore, maximize and close). In Win7 it responds to the maximize event generated by the Win 7 API when a user drags the window to the top of the screen. However, once it's maximized, I can't capture the restore event tha...
Here's the basic problem. There's an API which I depend on, with a method using the following syntax: void foo_api (std::vector<type>& ref_to_my_populated_vector); The area of code in question is rather performance intensive, and I want to avoid using the heap to allocate memory. As a result, I created a custom allocator which alloc...
Hi I want to set some text on my edit box, but it should be greyed. Is there some way to do that? I am not able to find the proper API for this. Any suggestions? ...
I developed an application that depends on a dll. When I debug my app, the app would complain that "This application has failed to start because xxx.dll was not found." So what I have to do is to copy the dll into the same directory as my .vcproj. Is there a way to set the project to look for the dll in (preferably) some relative path ...
I want to learn more about creating my own, custom WS_CAPTION style, the end of which would allow me to build a custom CMainFrame for my application that will respond appropriately to Windows 7 drag events. Any books, web sites, etc that people recommend for learning this kind of thing? ...
I installed the openssl 0.9.8l and added the include and library paths to the VS directories. (I have done this before when installing boost libraries). But i continue to get linker errors. Anyway i can resolve the same. errors are as follows Error 1 error LNK2019: unresolved external symbol _BN_free referenced in function _main R...
hai.. just i wrote application for show preview to user and capture image.am using sample grapher filter for capture image from CAPTURE PIN.PREVIEW PIN user for just preview video.its running nice but when i stop preview its affect the CAPTURE.cant capture image am using CONTROL STREAM for stop preview.. pl kindly help ...
Hello, I need to create an application which do the following: At the beginning we have notepad window open with a lot of text in it. Our application must scroll through this file and take notepad window screenshot after each scroll action. I've tried to achieve this using SBM_GETRANGE, SBM_GETRANGE, SBM_SETPOS but it does not work f...
Hello This time I have a question about C++. I'm using Dev-C++ for programming, but I also have Visual C++ Express installed so both are good. I'm creating a program like automated tasks, is it.. macro? But as I'm a noob in C++, because I started it a week ago, I need help. Please keep the answers simple :-D This is a part of my learnin...
Dose anybody know how to load sos.dll in vc++ 2008? I tried to run the following command and get an error .load Error during command: extension could not be found .load sos.dll Error during command: extension could not be found Thanks! ...