hey!
I need a way to get Following data for all Tabs of IE :
Titles of all Tab instances.
Post Data when a form is submitted.
All Cookies
Actually my client wants to keep tab on his employees surfing behaviors, he has this requirement. I am not sure how i can do this.I guess it will be done in VC++/Delphi,Any technology will do as l...
I have a class defined in one DLL, with a certain member that is overloaded.
A second DLL imports that class, inherits from it and exports the inherited class. The inherited class overrides one of the overloads of the above member, and so looses all the other overloads.
The solution for this problem generally, AFAIK, is to use a using s...
In my C++ Win32 GUI application I have a dialog with an edit control created from a dialog template:
EDITTEXT IDC_EDIT_Id, X, Y, W, H,
ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
Whenever I manually input multiline text with carriage returns and call GetWindowText() the retrieved text is broken into lines with CR ...
Hi,
I am building a cross platform product and one of the requirements is across windows(win32,AMD64 and IA61). The product as is relatively simple CLI but we have a separate build team who checks out the code from CVS and build in separate build environments. I am able to build succesfully(using Visual C++ 2005) in one platform(AMD ma...
Hi,
can anyone tell me if there is any alternative for visual asssit? We are using MSVC6, since it suits well for our projects and not in a mood to move to vc.net.
I am so hooked up with VA that I am unable to code without it.
Any help?
...
Hi,
I writing a MFC which has a listview control. When the user right clicks any item , I am generating a dynamic menu item with that text that is selected in listview. Everything is displaying properly, but I do not know how to add a message map to that dynamic menu item.
Any help?
void CMyListDlg::OnRclickList(NMHDR* pNMHDR, LRESUL...
I am working on applying artistic effects to image .
Can you please tell me how to achieve this effect ?
Any inputs are appreciated .....
Input Image :
http://www.flickr.com/photos/vineet%5Faggarwal/4205359333/
Output Image:
http://www.flickr.com/photos/vineet%5Faggarwal/4205359335/,
...
I'm often use do-while(0) construct in my #defines, for the reasons described in this answer. Also I'm trying to use as high as possible warning level from compiler to catch more potential problem and make my code more robust and cross-platform. So I'm typically using -Wall with gcc and /Wall with MSVC.
Unfortunately MSVC complain about...
I have encountered an unexpected Access Error while running a project I've built using two different versions of Visual Studio. My general configuration is as follows:
LibA is a static lib, static runtime linkage, msvc 8.0
LibB is a static lib, static runtime linkage, msvc 9.0
My target project for integration is a msvc 9.0 COM dll,...
Hi;
How can I achieve the functionality given in ipconfig on Windows in VC++? I need to get local ip info of the machine, primary ip vs.
...
Hi
First let me start of saying I know absolutely nothing about c++ and I am really just more interested in getting this to work then learning c++(I got enough on my plate to learn).
So basically I am trying to make a terms of service for my windows mobile 6 professional application but it seems I need to use c++ to do it. After hours ...
In my project I got a device which comes with C++ Sample codes. The codes are ok and the device is working as expected.
But I need it to talk with my C# interface because all other devices are currently using C# interface.
So I am planning to create a DLL Wrapper for the driver. I will create a C++ Library of my own (from source code w...
I run a Visual C++ console test program inside the daily build. Every now and then the test would call some function that was changed by other developers improperly, descend into an infinite loop and hang thus blocking the build.
I need a watchdog solution as simple as possible. Here's what I came up with. In the test program entry poin...
Is it possible to compile C code into a Visual C++ dll? I'm looking at using some C code with a .Net project and trying to determine whether this is even an option.
Thanks,
Becky
...
This is my second question of the day, pardon me.
I am writing a wrapper library to communicate with a scanner device. The source code was in C++ MFC. I am converting it to a plain Dll which will be invoked from C#. So, I am using DllImport in C# to call the wrapper library.
Now I am provided with MFC code and the library is a ActiveX ...
I ported my application from VC++7 to VC++9 recently. Now it sometimes crashes at exit - the runtime starts calling global objects destructors and an access violation occurs in one of them.
Whenever I observer the call stack the top functions are:
CMyClass::~CMyClass() <- crashes here
dynamic atexit destructor for 'ObjectName'
_CRT_INI...
I come across this code
int n1 = 10;
int n2 = (int &)n1;
I don't understand the meaning of this casting, n2 is not reference since modifying n1 doesn't reflect n1. Strangely this code throws compiler error in gcc where as compiles fine in VC++.
Anybody know the meaning of this casting?
...
If I have a "fake" Visual C++ property:
int _declspec( property( get = GetFoo ) ) Foo;
int GetFoo() const { ... }
Is there any way to get the debugger to evaluate this and display it as a normal member variable in the QuickWatch window?
...
I have a couple of functions in a namespace called stub.
I have to determine the exact start address of the namespace and the end address, of at least the size of the namespace in memory (to copy these functions into another process).
While this worked perfectly in Visual C++ 2008 by adding a
void stub_end() { }
at the end of the names...
Hi,
Is there anyway to catch all uncaught exceptions in a MFC VC++ 2008 application? Is there something like this Java code:
Thread.currentThread().setUncaughtExceptionHandler(
new Thread.UncaughtExceptionHandler() {
public void uncaughtException(Thread t, Throwable e) {
System.out.println("Oops! We have a exception in Thread...