Is there any tool that can do this? Just like a website and for the same basic reasons?
UPDATE ---
I mean collecting statistics info about an application that I am writing
I need to know what options are used most, when, times, etc.
...
Hi,
I'm fighting with raw sockets in Win32 and now I'm stuck, the soetsockopt funtion give me the 10022 error (invalid argument), but I think I pass the correct arguments... of course I'm wrong u_u'
sock = socket(AF_INET,SOCK_RAW,IPPROTO_UDP);
if (sock == SOCKET_ERROR)
{
printf("Error socket(): %d", WSAGetLastError());
return;
}
ch...
Hello,
Right after I moved from XP to Vista,I realized my C# programs don't work.
This is the situation: I wrote a C++ dll that I use in my C# application.The DLL worked fine in XP,but when I moved to Vista it's not longer working in C#.
I tested it in Delphi,works fine,but C# - no.
I wrote additional code to make my check easier in ...
I've got some unmanaged code sitting in a DLL. It publishes some methods that my calling (managed) code uses to hook into some COM notifications. Rather than deal with unmanaged code calling back into managed code, I've created a hidden Control derived object and am passing its handle property which the unmanaged code then uses as a pa...
I have a dialog created from a template. It has controls listed in the template in the following order:
some irrelevant controls
a label with an accelerator (let's pretend it's Alt-A)
an edit box
OK and Cancel buttons
Normally when I hit Alt-A the keybord focus is transferred to the edit box - just as needed. However I sometimes need...
We have a requirement where our application needs to support high resolution monitors. Currently, when the application comes up in High res monitor, the text that it displays is too small. We use Arial 12 point font by default.
Now to make the text visible, I need to change the font size proportionally. I am finding it tough to come up...
I'm using the following code to get a handle of the topmost window:
HWND hwnd;
hwnd = GetForegroundWindow();
The problem with this is that it returns the top most system-wide.
Is there any way to get the topmost ONLY from my own application?
I want to get the top most window ONLY of my application. This means, that I need an API to ...
I need to generate unique machine ID for a CE 6.0 device. On Windows OS, I was using the WMI to obtain some hardware identifiers from which I constructed this ID. Apparently, WMI is not supported on Win CE so I am looking for alternatives.
At the moment I am playing with OS image that I have constructed in Platform Builder and testing m...
How can I calculate the amount of free virtual address space my process have on Windows?
My application need to limit the amount of address space used. So I need to estimate how many memory I have consumed and how many virtual memory is left. If I have just a few hundred megabytes of address space left, my process begins to use a custo...
Where can I get the documentation about multitouch API for Windows 7?
...
I'd like to start coding for NVIDIA 3D Vision and wonder where can I find the documentation for it?
...
We have a fairly complex GUI, so when certain windows are resized their Redraw() is set to false till the operation is completed. The problem with this is that if the OS "Show window content while dragging" setting is checked, when decreasing the window's size the windows behind it are not repainted. This means I have to force the repain...
I have a WPF TaskBar like application that i am developing for fun and i want to be able to open the System Menu for the application (that is in my custom taskbar) that i right click on, preserving any custom menu that the app might create (i.e. Google Chrome). I have the following code that works for a borderless window app i made previ...
We have a 3rd party control loaded in our C# WinForms app.
When we call a method on this 3rd party ActiveX control, it asynchronously steals focus. For example:
// This call causes 3rd party to spawn a thread and steal focus milliseconds later.
foo3rdParty.DoSomething();
Is there a way to prevent a control from stealing focus?
...
I'm having a strange problem with WebBrowser control in a simple ATL application. I'm using the CAxWindow to create the web control. Everything works fine except that the browser always shows up as a POPUP window at the top left corner of the screen instead of within my main window as a child.
My main window is created with these styles...
Edited........
sorry Sir I was referring this piece of code from Stephen Toub's article..
private static IntPtr SetHook(LowLevelKeyboardProc proc)
{
using (Process curProcess = Process.GetCurrentProcess())
using (ProcessModule curModule = curProcess.MainModule)
{
return SetWindowsHookEx(WH_K...
Are there no "high-level" HTTP libraries for native C/C++ in Win32 or am I just looking in the wrong places?
By "high-level" I mean an API that lets me do HTTP web requests/responses in C++ with "about the same" abstraction level as the .NET framework (but note that using C++/CLI is not an option for me).
How to do something like this ...
Most winsock tutorials on the net are preety much basic, and become useless once you got some more serious questions as to the internals of the system. MSDN is somewhat more inshightful, but tends to be preety minimalistic and sometimes ambigious.
Can you recommend some good reading materials, books or articles, that really cover the su...
We have a WinForms application in C# 3.5 (SP 1). We would like to restrict the application to one process in memory with multiple window instances. We are not looking for an MDI approach, but to have separate main form instances without launching multiple application processes.
We are evaluating three approaches:
Windows Messages
C...
Just wondering if it is possible to figure out who has read files from a Windows share (using .NET ideally but win32 native will do)?
What I'm try to do is create something like awstats for a windows share so I can see who is accessing what and which are the most popular files.
I'm not interested in changes - I just want to log access ...