.NET 3.5 SP1 is here! It's time to break out your DirectX skills. This article provides the information necessary to get started using a new DirectX interop feature in WPF called D3DImage.
This article is about the IntelliFile application which is a free alternative Windows version to Total Commander and uses many components that have been published on CodeProject.
dll for this endeavor came from GitHub - ela-compil/BACnet: BACnet protocol library for .NET :satellite:[^] Trying to get BACnet client to start, but having troubles. Add-Type -Path "C:\myDlls\BACNet\net40\BACnet.dll" ...
I asked Google C# capture mouse[^] and found this: Capture or Detect mouse click on or outside Windows Form using C#.NET[^] UPDATE Let us change the Google Search: c# movemouse[^] - there are 126,000+ results. The first result has a couple of...
I have an HookMouseCallback(int nCode, IntPtr wParam, IntPtr lParam) How do I use these out params in UINT SendInput( [in] UINT cInputs, [in] LPINPUT pInputs, [in] int cbSize ); I am also planning on doing this for keystrokes,...
This is too close to providing code that aids in writing key logging software. Over the years, we have had many requests to provide code to people that can be used maliciously. Now, you might have benign intentions, and if it were just you and me...
I am trying to make a simple macro thing, I want it to record messages such as the mouse inputs, but also things like page select. I plan on saving these into a list or array, and then just looping over them and sending to the computer. I am...
On a windows workstation, I want to be able to run the code project ai exe installer as silent? Does the exe support a command line silent install? I would also like to be able during silent install, to install object, lpr and face rec. Is...
WM_KEYDOWN doesn't work for PowerPoint Viewer, not reliably. Send WM_COMMAND with wParam = 0x000106EF (for next slide) or 0x000106EE (for previous slide).
If you're using Windows 11, you can use ssh-keygen from the terminal, or in WSL, something like ssh-keygen -t ed25519 -C "me@email.com". Obviously you would have to choose what type of key you wanted to create here.
I have tried many time to generate SSH key (public and private key) on Windows from command prompt but do not able to generate. What I have tried: Restart the PC many times, but not work on single time.
This article is about the IntelliFile application which is a free alternative Windows version to Total Commander and uses many components that have been published on CodeProject.
Open the machines Event Log Viewer and look in the Application event log for any error messages concerning your service. Without more information and what your code does at startup, and your code, it's impossible for anyone to tell you what's...
I have windows service (developed in c# visual studio 2013 & .net framework 4.5.1). Windows service is working fine when we install and it run without any issue. My problem is when I restart my PC windows service is getting stopped but I want...
Without your service (and probably your actual PC) we can't really tell what is going on - so I'd start by adding logging to the service and reinstall - that way, you should at least be able to tell if the system is trying to start it, and if it...
Your function declared as taking 3 arguments. But you call it passing only 2 arguments. Hence you get an error during compilation. 3rd argument is not optional as declared.
I have a question that may tax you, but it may also embarrass me at the same time, but here goes. Let's have some programming examples with which to work with first: Declaration of a "C" routine int RetIntDayNum(char * datestrg, int *...
I could not believe that. So I tried the following piece of code #include int RetIntDayNum(char * datestrg, int * intdaynum, int * iostat); int main() { char foo[] = "foo"; int daynum = 42; int iostat = 10; ...
First of all, a distinction must be made between the declaration in the implementation and the call of a function. The following line is not a declaration but an assignment: iretv = RetIntDayNum(cdatestring, &idaynum, &iostat); VS2019 usually...
It depends on the compiler: most will give you an error "too few arguments to function" when you try to call it with two parameters. Other than that, it will probably blow up when you try to use iostat within the function as it's value will be...
you can make use of the 'SystemTimeToTzSpecificLocalTime' function to achieve what you are trying - MS Learn | SystemTimeToTzSpecificLocalTime function (timezoneapi.h)[^] Your code will look like - #include #include void...
I'm making an assumption here that you are talking about converting the two SYSTEMTIME structures in the DYNAMIC_TIME_ZONE_INFORMATION object. To accomplish this, I believe that you are going to start by converting the SYSTEMTIME structure to a...
n using the GetDynamicTimeZoneInformation(&dtzi) function, and within the 'dtzi' structure, it tells you whether you're in the Daylight Savings time or not and when they will start, via these two dates. The return value of this function also...
Quote: Found few projects that seem like they could do that, but am horrible at reading other people code If you cannot read other peoples code that contains a solution you are on a downward spiral as nobody is going to supply a 'copy and...
Title says it all, I want to create taskbar application that would work in windows 10 and 11, preferably in C++, but I can also do C# and C if that's what it takes to make on. Visually it would be just bunch of text in taskbar that would update...
Shows how to use OpenGL in a .NET WPF application by directly incorporating an OpenGL window as a child of the main WPF window, making it behave more like a control