-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a code that is compiled in both gcc and vc++.
The code has a common macro which is called in two scenarios.
When we pass some parameters to it.
When we don't want to pass any parameters to it.
An example of such a code is:
#define B(X) A1##X
int main() {
int B(123), B();
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi now i am working in 2003 vc++ and i am converting(migrating) my project in to vc 2008 or new vc 2010 Beta,i saw the feature pack of 2008,2010 regards CDockable Pane(Auto Hode,floating),so i require this features ,i want to place a dialogbox or dialog bar into pane(CDockable Pane class), so i done…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My problem is "how to know which menu item is
clicked in visual studio 2005". i wrote some code using hook for monitoring
WM_MENUSELECT..it is working fine for notepad,visual c++6.0 applications but
when i use this code for VS-2005 it is not woking(these type of msgs are not
generating when i…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Man, I just had this project given to me - expand on this they say.
This is an example of ONE function:
<?php
//500+ lines of pure wonder.
function page_content_vc($content) {
global $_DBH, $_TPL, $_SET;
$_SET['ignoreTimezone'] = true;
lu_CheckUpdateLogin();
if($_SESSION['dash']['VC']['switch']…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am using VS 2003 .Net on 32 bit XP OS. I have also installed "Microsoft Platform SDK" on my machine. Can I build vc++ application (binaries) targeted for 64 bit OS?
I am using following project options :
Name="VCLinkerTool"
AdditionalOptions="/machine:AMD64 bufferoverflowU.lib"
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
How do you remove a MFC command handler like ON_UPDATE_COMMAND_UI from a C++ file?
I can't seem to find a way to do it thru Dev Studio. If you know how, please explain.
I am using VS 2008.
Thanks,
Mike
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When we create a DLL using Visual studio (VC8 or 9), we get an option as
create Regular DLL
using MFC as shared DLL
or
using MFC as static library
How are they different? Which one is advisable to use?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The MFC Feature Pack (and VS 2010) adds out-of-the-box support for several "modern" GUI elements (such as MDI with tabbed documents, the ribbon, and a Visual Studio-style interface with docking panels). These are a boon to those of us that have to support legacy MFC-based applications and want to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a MFC exe, trying to dynamic load a MFC dll.
// This is code in MFC exe
HINSTANCE h = AfxLoadLibrary(_T("DLL.dll"));
typedef void(*FUN)();
FUN fun = (FUN)GetProcAddress(h, "loveme");
FreeLibrary(h);
Both MFC exe and MFC dll, are having their own resource file.
However, I realize that, if…
>>> More
-
as seen on Internet.com
- Search for 'Internet.com'
Windows 7 brings a new level of maturity to Windows Search, and by taking advantage of new MFC functionality first publicly unveiled with the Beta 2 release of Visual Studio 2010, writing a Search filter handler for a MFC application can be easily accomplished.
>>> More