What is the best Workflow tool
Preferable free, open source, vcl. For Delphi 2007 or above and win32. ...
Preferable free, open source, vcl. For Delphi 2007 or above and win32. ...
// Toolbar.rc #include "resource.h" IDI_MAINICON2 ICON "MainIcon.ico" // resource.h #define IDI_MAINICON2 201 // main.cpp icon_button = CreateWindow(TEXT("button"), TEXT("Button"), WS_VISIBLE | WS_CHILD | BS_PUSHBUTTON | BS_ICON | BS_TEXT, 80, 80, 55, 40, ...
As the question says, I want to load a DLL from a location in memory instead of a file, similarly to LoadLibrary(Ex). I'm no expert in WinAPI, so googled a little and found this article together with MemoryModule library that pretty much meets my needs. On the other hand the info there is quite old and the library hasn't been updated fo...
EDIT: Since the original wording of my question caused much frowning I re-phrased it. Sorry about the confusion. Until now all my COM DLLs had the extension .dll, but I assume there are some rules about that. I know there are .ocx, .oca, .tlb and .olb files. I'm aware that these files all contain "COM stuff" but what exactly? What are...
It doesn't seem to be one of the standard cursors (like IDC_ARROW), so how can I load this? ...
Hi all, I am using the gethostbyname() function in the usual manner... iaHost.s_addr = inet_addr(lpServerName); if (iaHost.s_addr == INADDR_NONE) { // Wasn't an IP address string, assume it is a name lpHostEntry = 0; lpHostEntry = gethostbyname(lpServerName); } to access my web site and return information. The variable, "lpServer...
I'm using a third party library to render an image to a GDI DC and I need to ensure that any text is rendered without any smoothing/antialiasing so that I can convert the image to a predefined palette with indexed colors. The third party library i'm using for rendering doesn't support this and just renders text as per the current window...
What are the drawbacks (if any) of using memory mapped file to read (regular sized files) over doing the same using CreateFile ReadFile combination? ...
On most newer computers you can shutdown the hard way by pressing the power button for a couple of seconds. But I want to prevent this completely. You're able to prevent some soft events like the sleep, suspend, hibernate and "Press power button" events in Windows control panel; you can also use some Win32 and WDI programming to catch a...
GetSystemInfo will give you the number of physical CPUs / cores, but I would like to know the total number of virtual CPUs. I.e. on the new Nahelam chips, they have 4 cores, but appear as 8 cpus. If GetSystemInfo doesn't give this information, what API do I need (I've seen a function for getting number of logical processors, but it is V...
Hi, My app needs to make a GET request to a website and I'd like to be able to know if it's being blocked by a firewall, and ask the user to add an exception. How can I find out that my get request failed because of a firewall, instead of something else? ...
Hi, Does anybody knows how to get the paragraph the user is pointing his mouse to? It shouldn't depend on application that is used. A good example are dictionary apps that will translate the word when you right-click on it while holding ctrl. I'm curious how they are doing that, because I'm thinking about creating word learning tool...
the code: bool success=CreateProcess(m_Process, NULL, NULL, NULL, FALSE, NORMAL_PRIORITY_CLASS||CREATE_SUSPENDED, NULL, NULL, &suInfo, &procInfo); if(!success){ MessageBoxA(0,"Could not create process...","ERROR",MB...
I am using the standard FindFirst and FindNext to retrieve all files in a directory but I need the results to come back sorted ( in the same order that clicking on the name column in explorer would sort them basically ) How can I achive this This has to be done via Win32 Thanks ...
I'm writing grepath utility that finds executables in %PATH% that match a pattern. I need to define whether given filename in the path is executable (emphasis is on command line scripts). Based on "Tell if a file is executable" I've got: import os from pywintypes import error from win32api import FindExecutable, GetLongPathName def ...
I have a Windows shell extension that uses IShellIconOverlayIdentifier interface to display overlay icons on files and folders. My extension is a little like TortoiseCVS or TortoiseSVN. Sometimes I need to make Windows Explorer redraw all it's icons. To do this, I call SHChangeNotify like this: SHChangeNotify(SHCNE_ASSOCCHANGED, SHCN...
I have a Win32 application that I'm making, and it sends a string from one process to another via a named pipe. However, the process that calls ReadFile on the pipe gets the string with some garbled data in it. It returns the number of bytes written correctly, but the last 8 characters or so of the string are garbled. Here is the code f...
Is there a way to bring up the Windows XP shutdown dialog (the one with the three buttons – Suspend, Shutdown, Restart and Hibernate when Shift is pressed) using any language (preferred: C/C++, VB, Haskell, batches)? I think I can load the msgina.dll in my C++ program, but I dunno what to do next – what function in the dll is used to sh...
In a unit I use the function DeleteFile and the compiler outputs a hint: "H2443 Inline function 'DeleteFile' has not been expanded because unit 'Windows' is not specified in USES list" In Uses there is SysUtils, which defines DeleteFile (although internally calling Windows.DeleteFile). What does this hint mean? If I put Windows in...
Is there any way to find out the actual time spent by a thread inside the CPU using MFC/Win32? By actual time, I mean I don't want to count the time the thread spent in states other than "Running". I tried GetThreadTimes() method in Win32 SDK but couldn't get the proper values. I want to do this because I want to check effect of setting ...