Search:
Type: Posts; User: AlexA2
Search:
Search took 0.02 seconds.
-
February 24th, 2011, 06:39 AM
I did but, I don't have VS2008SP1, and I can't modify the code on the application that is supposed to receive the WM_NOTIFY message.
From what I understand, those exercises modify the code on the...
-
February 24th, 2011, 05:53 AM
I've ran the exe file of my compiled program as Administrator. Doesn't it give full privileges?
-
February 23rd, 2011, 04:56 PM
How do I solve this problem?
On WinXP x86 and x64, the code works perfect.
On Win7 x64 and x86, it doesn't work at all. I've tested it with fresh installs, UAC off, no firewall, no AV, no...
-
February 18th, 2011, 08:56 AM
This is what I have done, and the function returns "Access is denied".
You can also find the code here: http://pastebin.com/M6Yv9yYA
#include <stdio.h>
#include <windows.h>
#include...
-
February 18th, 2011, 07:39 AM
Winspector did not intercept the WM_NOTIFY message under Win7 x64.
I think that the application might be personalised for Windows Vista/7 and that it might use different notifications.
Is it...
-
February 18th, 2011, 07:04 AM
Again, I have this problem that I have in Perl with LVN_COLUMNCLICK, too.
The C++ code that I've posted, works fine on WinXP x86 and WinXP x64, but ti doesn't work on Win7 x64.
How do I discover...
-
February 18th, 2011, 02:06 AM
I'd want to be able to use SendMessage instead, so that I'd avoid this possible cause.
The application doesn't sort the whole list correctly, so I'd have to click like 50 times on that header in...
-
February 17th, 2011, 05:23 PM
1. Fixed.
2. My bad, I wanted to say that the application that receives the notification crashes. A window related to VS2008 appears, and asks if I want to debug the application.
Another thing...
-
February 17th, 2011, 05:08 PM
I've managed with this code, but sometimes it crashes when I close the buffer [ VirtualFreeEx( hProcHnd, pLVI, 0, MEM_RELEASE ); ]. Any ideas why?
void thrd_try(){
NMHEADER nmh; ...
-
February 17th, 2011, 04:00 AM
2 more screenshots, before and after OpenProcess is executed.
-
February 17th, 2011, 03:03 AM
1. What do you mean? It gets the correct PID, though.[I've checked it]
2. I will do that next time.
3. Good Morning! :)
-
February 16th, 2011, 05:38 PM
Why does it say "unused"?
What should I do now?
-
February 16th, 2011, 05:31 PM
http://img254.imageshack.us/i/74380008.png/
http://img254.imageshack.us/img254/1614/74380008.png
Uploaded with ImageShack.us
It doesn't look very good, right?
-
February 16th, 2011, 05:15 PM
How should I do a proper debug? Please tell me what should I check, and I'll post back the values.
-
February 16th, 2011, 04:50 PM
I understand now.
I've changed the hWnd to the parent's one and Winspector did not intercept any message. :(
-
February 16th, 2011, 04:35 PM
Isn't SysHeader32 the child, and SysListView32 the parent that should receive the notification?
-
February 16th, 2011, 04:20 PM
hWnd belongs to the window that has the SysListView32 (Unicode) class.
And, yes, I used Winspector to inspect messages for this SysListView32 window.
-
February 16th, 2011, 04:02 PM
According to Winpector, the application doesn't receive the WM_NOTIFY message.
-
February 16th, 2011, 03:33 PM
I'm trying to send a notification to a ListView, but I can't find what am I doing wrong.
This is the code:
or you can see it here, too:
http://pastebin.com/MJyb4xib
-
January 28th, 2011, 12:05 PM
I've managed to make it work correctly in Perl, but only on WinXP x86(in a VM that I use for testing purposes).
It doesn't work 100% under Win7 x64. I have no idea why.
In WinXP x86, it...
-
January 23rd, 2011, 07:22 AM
This is what I've written:
I've also written this:
Doesn't work either, because VirtualAllocEx returns 0. [ It is based on a sample Perl code that I've found, and which actually works...
-
January 22nd, 2011, 01:52 PM
"to control the app"- to make the application to behave as if I clicked myself on that header item.
Yes, this is my mistake.
http://img220.imageshack.us/img220/8939/capture2ryt.png
On...
-
January 22nd, 2011, 11:10 AM
I've tried to control the app directly from Visual C++O(instead of perl) with HDN_ITEMCLICK, but I couldn't manage to do it.
I've found the app's sources, but I'm really lost here, I don't know...
-
January 20th, 2011, 07:13 AM
I haven't abandoned it, I just want to be aware of the options that I have and not to make wrong assumptions.
Last Sunday I did some tests with the code written in Perl, but it did not work. I might...
-
January 20th, 2011, 02:18 AM
Thank you for the tips. They are very useful, and I'll try them as soon as possible.
SendInput wouldn't work with the application kept minimized, and with me doing something else on the PC,...
|
Click Here to Expand Forum to Full Width
|