Hi,
Is it possible (and feasible) to use .NET Remoting interface with Delphi win32 application?
I need communication between .NET application and Delphi win32 application, so .NET remoting would be native for other end of the pipe.
Any other solutions, as close to native as possible, for both ends without 3rd party libraries? Applicat...
In other words, does the .NET framework eventually make calls somewhere to get its work done? Or did Microsoft completely re-create all the functionality of the win32 library in their .NET framework.
Thanks!
...
I'm busy getting to know a tiny bit of C/C++, and interop with C#. I've checked several examples of creating a simple Win32 DLL and using this from C#, but when I try and call into my DLL, I get the runtime error: "Unable to find an entry point named TestFunc". My DLL looks like this, and I created it from a Win32 DLL project, with the...
Hi.
I need to replace the common Tooltip from WinXP taskbar for another application.
So, I need to run an application when the mouse hover a task button. Is this possible, programatically?
If so, how?
Thank you
...
I am having trouble getting SendMessage to activate a menu on another program. When looking through Spy++ when a user clicks on the menu the following occurs:
000A0628 P WM_NCLBUTTONDOWN nHittest:HTMENU xPos:1706 yPos:395 [wParam:00000005 lParam:018B06AA time:27:23:56.156 point:(1706, 395)]
000A0628 S WM_SYSCOMMAND uCmdType:SC_MOUSE...
This is a subjective question. For those who are Windows developers coding desktop applications, what are the most beautiful or nice looking GUI you have ever seen or built?
Why am I asking this? I'm looking for good models to follow.
See also:
What is the best UI you've ever used?
...
I have a service that is responsible for collecting a constantly updating stream of data off the network. The intent is that the entire data set must be available for use (read only) at any time. This means that the newest data message that arrives to the oldest should be accessible to client code.
The current plan is to use a memory ma...
Why does GetTempPath always return short path names? Is there a way to return the long path name rather than subsequently converting the returned string with GetLongPathName?
...
There are a few freeware tools out there (e.g., Taskbar Shuffle, XNeat, etc.) which have the ability to change the order of the buttons on the taskbar, without actually closing or opening any windows. Unfortunately, none of them appears to be open-source.
What are the API calls required to change the order of buttons in the taskbar?
...
The code worked all along. Somehow I manage to get Visual C++ Express not hit the break point on the final return statement and it appeared to run for ever.
In the example code bellow EnumWindows enumerates infinitely.
How can one make it stop after all windows has been enumerated.
#include <Windows.h>
BOOL CALLBACK EnumWindowsProc(HW...
The Microsoft WinAPI documentation appears to suggest that user32.dll contains a function called GetNextWindow() which supposedly allows one to enumerate open windows in their Z order by calling this function repeatedly.
Pinvoke usually gives me the necessary DllImport statement to use WinAPI functions from C#. However, for GetNextWindo...
According to http://support.microsoft.com/kb/883792 , MS can detect installed AV using either WMI or a manual method involving registry keys that MS knows about. Is there an API to access this functionality?
...
I'm using the function/message to check if the workstation is locked. Now my application is in the startup folder. It has worked without any problems on XP pro, but since I'm using the program on XP home WTSRegisterSessionNotification fails about 50% of the time on startup, but it never fails when the system is already booted up. Any ide...
Is there any way to pop-up TIPS and pop-over any other windows open? I don't find a flag to set it in NOTIFYICONDATA struct.
...
When I say "installed application", I basically mean any application visible in [Control Panel]->[Add/Remove Programs].
I would prefer to do it in Python, but C or C++ is also fine.
...
I have a batch file that installs WinVNC in about 1 second and starts up the service. However, I still have to manually go into the Windows Firewall and open a port to allow connections. How can I do that programmatically?
If I could do it from inside the batch file, that would be ideal, but I'm ok writing an EXE if that's necessary.
...
I can't seem to get a reliable timestamp using winapi functions. For example:
int main(int argc, char *argv[])
{
HANDLE file;
BY_HANDLE_FILE_INFORMATION finfo;
SYSTEMTIME systime;
file = CreateFile("test.txt",GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
GetFileInformationByHandle(file,
FileTimeToSystemT...
The GetModuleFileName() takes a buffer and size of buffer as input; however its return value can only tell us how many characters is has copied, and if the size is not enough (ERROR_INSUFFICIENT_BUFFER).
How do I determine the real required buffer size to hold entire file name for GetModuleFileName()?
Most people use MAX_PATH but I rem...
Lets say I used a program that read a file and that the program was finished. Now ,
most likely that parts of the file still reside in the physical ram (lets assume I have huge amount of RAM).
Is there any way to know which parts of the file reside in the physical ram? Is there any tool that can do it or maybe a winapi function call?
...
The Windows API function CryptBinaryToString isn't supported on Windows 2000.
Is there and alternative?
The main use that I need, is to encode/decode BASE64
...