Recognising that a bit of interop may be required, how do I send a mouse click event to a window that is currently not being displayed? I have an application that is running as a service and fiddling about with hidden windows and needs to send a mouse click event to one of them, even though it can't actually display the window.
The norm...
Hi,
i have a web-browser control, through this i am able to navigate diffrent sites. how to take the bitmap of the site we visit.
Thanks
GrabIt
...
Is there a more elegant way to write the portion of the test script which is O/S dependant?
Please refer to the code below the comment line.
Background: Module Perl::Tags creates a tags file for VIM. On Win32 the directory separator is "\" but on other OS's it is "/". Vim's Perl-support module seems to read the tags file quite happily,...
I've been told that every COM method callable from C++ code (take for instance IHTMLDocument2::write) has an equivalent C declaration, usable from C code...
How do I find it?
Thanks in advance!
...
The title sort of sums it up. I was thinking of using Jabaco seeing as it makes .EXEs (as well as .jar files), and I'm more familiar with VB syntax than with Java.
...
Hi,
Can any one please provide me the sample client and server application in win32,
i just want to make my machine as server and client.. if i send a data from client i should
be able to see at server, vice versa..
Thanks
GrabIt
...
Hi,
I need to put WCHAR[] to std::cout ... It is a part of PWLAN_CONNECTION_NOTIFICATION_DATA passed from Native Wifi API callback.
I tried simply std::cout << var; but it prints out the numeric address of first char. the comparision (var == L"some text") doesn't work either. The debugger returns the expected value, however the compari...
I have an installer script written in Wix 2 several years ago. Now I need to add two 64-bit components. One 64-bit DLL to be copied to system32 folder and another b4-bit EXE to ProgramFiles.
The installer needs to create registry key. Currently it uses a element to write a key, and a custom action (in 32-bit MSI dll) to write the seri...
In Vista, I have been using an IFileSaveDialog to let users pick a "save-as" folder. Users export a folder of images, say, and need to choose a new or existing target folder.
Briefly, the code goes like this:
IFileSaveDialog* dialog; // created
dialog->SetOptions(FOS_PICKFOLDERS);
dialog->Show(NULL);
dialog->GetResult(&shellItem)
In ...
Ok, i have 2 edit controls and a button in my main window; in one edit control the user can write a number and when he push the button i read that number and i print it in the other edit control (which is read only).
My problem is that when i put a number and i press the button, for some reason that i dont understand i can get that numb...
Hi,
I have a project that is C++ WIN32 project. I found a problem that
some symbol can be recognized by the windbg but some don't. I don't
know why.
The characteristics are:
1) both are C++ method
2) both function are in one .cpp file
3) the two functions are very close in the source file and neither of
them are enclosed by a #...
Apache server is installed in one machine and there is a .php script present in the server. Now from my win32 or c# application how do I invoke the script and how to receive the data from the server?
...
In Windows it's possible to open devices and volumes via CreateFile(). I've used this successfully before to ReadFile() from devices, but now I want to switch to memory-mapping. In the following code, I receive INVALID_HANDLE_VALUE for the value of b, and c is set to 87, ERROR_INVALID_PARAMETER.
HANDLE a = ::CreateFileA("\\\\.\\h:", GEN...
When using memory-mapped files it seems it is either read-only, or write-only. By this I mean you can't:
have one open for writing, and later decide not to save it
have open open for reading, and later decide to save it
Our application uses a writeable memory-mapped file to save data files, but since the user might want to exit ...
I need some kind of dialog for browsing the local SMB network for file shares. VBScript does it like this.
Set application = CreateObject("Shell.Application")
Set folder = application.BrowseForFolder(0, "Moo!", &h250, &h12) ' &h12 sets
' Network as the root folder.
So I added a reference to Forms and tried to do it with FolderBrowserD...
Hello,
Is there any API to set user credentials programmatically for a wired 802.1X profile in Windows Vista/XP SP3 ?
The corresponding API for wireless is WlanSetProfileEapXmlUserData (...) or WlanSetProfileEapUserData (...). Can the same functionality be achieved for a wired 802.1X profile is some way ?
Thanks,
crimsonbloat.
...
hello!
is it possible to edit a keystroke using a winapi keyboard hook? well, not neccesary a keyboard hook but something like it..
i wanna do something like this:
user presses key 'A'
my function adds 1 to the virtual keycode (just an example)
the 'A' becomes an 'B'
and the 'B' is sent to the destination application
thanks!
...
Excel 2007 uses an updated/custom version of the standard Windows folder browse dialog, which you can see if you navigate to Office Button -> Excel Options -> Save -> Server drafts location -> Browse...
Our client wants us to use that dialog instead of the standard C# FolderBrowserDialog - is this possible (i.e. what Win32 DLLs/API call...
I am looking for a simple way to read/write a file asynchronously using Win API. What I had is mind is something like the asynchronous winsock API (WSAxxx) completion routines. However the file API doesn't seem to have those. Are they hidden somewhere?
Waiting on the overlapped events in a seperate thread adds thread management overhead...
I see there are BN_CLICKED and BN_DBLCLK notification messages for a button control. but how would i catch a right click message for any button control?
...