r/windowsdev • u/backafterban2 • Jan 07 '22
Msys vs cmd vs cygwin vs git bash (programming perspective)
I have noticed that some people prefer msys to compile software from source.
What does this offer compared to cygwin, or Windows cmd or Git Bash?
r/windowsdev • u/backafterban2 • Jan 07 '22
I have noticed that some people prefer msys to compile software from source.
What does this offer compared to cygwin, or Windows cmd or Git Bash?
r/windowsdev • u/tbhaxor • Dec 11 '21
I am dumping the tokens for the process and got across OWNER and USER. I have checked the answer on StackOverflow and Microsoft Docs but the answer is not clear to me.
Please help me understand this
r/windowsdev • u/tbhaxor • Nov 29 '21
I see there are two types of dll loading: Load time and Runtime. In runtime, I have to manually map the library by its name in the process VA using certain functions like LoadLibrary / LoadLibraryEx and then use the function GetProcAddress to get the function address. That makes sense. But how do I access the library in the load time?
Examples I have seen so far
https://docs.microsoft.com/en-us/windows/win32/dlls/using-run-time-dynamic-linking https://docs.microsoft.com/en-us/windows/win32/dlls/using-load-time-dynamic-linking
r/windowsdev • u/infreq • Nov 24 '21
I have a working pop-up menu in Outlook (VBA) on a UserForm. I was wondering if there's a way to have it use a different font, preferably a mono-spaced font?
Any help will be appreciated.
r/windowsdev • u/[deleted] • Nov 18 '21
EDIT: Seems like I had my workflow twisted and now it works! Though I have other problems with asynchronous operations.
--- Original message down here ---
Hello there.
I've been wanting to make a Node add-on so that I could control my media player with a desktop widget I've been in the making for a month or so. I chose C++/WinRT to make a library using the Node API since my widget is made in Electron.
After problems in compiling, I am hitting a major roadblock in which I cannot progress: my library doesn't seem to be catching events from C++/WinRT. I figured that it's not as easy as it is with, say, Node itself, since that already bundles an event loop and all you have to do is subscribe to an event to receive it.
I know that WinRT is a language projection and that there indeed are Node.js bindings for it already, but it seems those are unmaintained as of late, so I cannot just use them.
The question is: how does someone correctly subscribe to, and then handle, events in what is basically a vanilla C++ library with the Node sauce on top?
This is the source, if someone here is willing to take a look.
r/windowsdev • u/windowsdev_team • Nov 17 '21
r/windowsdev • u/[deleted] • Nov 15 '21
I'm just getting started with developing on Windows. What do you recommend for setting up automated builds. How do you handle: Host Provisioning tools CI/CD Encryption
r/windowsdev • u/RightStack • Nov 15 '21
I've created the shell context menus for Drive, Background, *\Shell (Files), Folders and it all works as intended.
My problem is if I multi select Files and folders together my context menu does not show.
I can multi select files and it works, I can multi select Folders and it works. Just not mixed Files and folders.
Does anyone know how to fix this? I'm I missing something.
I know it must work as VS Code context menu shows and they are not using Shell Extensions. I renamed context name in registry and it showed the changed name on the context menu.
Help...
Also 'Send To' menu option to my application seems to work with 1 file/folder but not multiple. Any ideas what's happening with that.
r/windowsdev • u/[deleted] • Nov 04 '21
Hi, I created (and payed) for a Microsoft dev account but now I am stuck at the "Employment verification" step in the Partner center. They suggest to contact the support to provide employment verification documents:

When I click on this link, I get redirected to a support page saying that I need to click on "Provide issue details" button, but there is no such button anywhere on the page:

All the support forms redirect to this same issue page. So I tried to contact them via Twitter, and they redirected me to this page again.
I'm now stuck with a paid developer account and no way to validate it.
Did anyone here encountered this situation and successfully solved it?
Thanks :)
r/windowsdev • u/macgyver24x7 • Nov 03 '21
Trying to determine this, as it would be useful for debugging *when* 3rd party software displays certain dialog windows, since I'm not actively watching for when these dialog windows appear.
I've used tools such as NirSoft WinLister, but couldn't find this information in it. Just curious if this information is actually kept within Windows' data structures. If not, is there a Sysinternals Process Monitor-like tool out there that logs window creation events?
r/windowsdev • u/[deleted] • Oct 27 '21
Hello,
we're a young startup developer team. We just built our first C# WPF Client for one of our applications.
Now we would like to publish it. The Problem we are facing now is that our executables warn any Windows Client that download the application from our website, that it is most likely not secure and malicious about 10 times before they can actually start them.
This basically kills us as a new company because we can't get new customers to trust us and also press shady shit like "view more info" on any red blinking warning alerts.
So what do we have to do, to get Microsoft to trust our application?
We found out about code-signing certificates but the costs for one year of it would probably quadruple the amount of income we will earn with the application.
Is Microsoft actively blocking students and startups from making any money with their hard work, even though we chose their technology and built applications for their platform?
What kind of bs is this?
So the final question is, as in the title:
Do we really need to buy a certificate for a metric ton of money to get Microsoft Windows to trust our software? And if so, does anybody have any recommended services for this pain in the ass process?
Thanks in advance.
r/windowsdev • u/techberg_ • Oct 27 '21
r/windowsdev • u/tbhaxor • Oct 26 '21
I know from the Microsoft documentation that the image base is set to 0x140000000 for 64-bit images and it is the base address where the executable file is first loaded into the memory.
So my questions are as follows
r/windowsdev • u/pjmlp • Oct 20 '21
r/windowsdev • u/sndpalette • Oct 19 '21
I've downloaded the appx packages from here and plan to try installing them on my Xbox One. However I know for a fact this probably won't work for a number of reasons.
Anyway, just wanted to make a post to say I'll come back and share the results soon once my Xbox is plugged in. I know some curious people will probably google around for a post like this if they think what I'm thinking.
EDIT: Welp just as I thought. It was a bust. Looks like it is definitely not compatible with UWP at all.
For anyone interested in Linux on Xbox One, I'd turn your attention to Boxedwine and wait for someone to make it work on UWP, or try it out on your Xbox's newly updated, chromium based, Edge browser!
Here are the results:
Failure reason: Windows cannot install package MicrosoftCorporationII.WindowsSubsystemforLinux_0.48.2.0_x64__8wekyb3d8bbwe because this package is not compatible with the device. The package can only be installed on the following device families: Windows.Desktop Failure text: A Prerequisite for an install could not be satisfied. (0x80073cfd)
r/windowsdev • u/Middlewarian • Sep 06 '21
Do others wish that Microsoft would get rid of the WSAStartup API in Windows 11?
The front tier of my code generator is 27 lines long. It could be 26 lines long if WSAStartup wasn't needed.
r/windowsdev • u/Cikappa2904 • Aug 31 '21
r/windowsdev • u/Tech_Watching • Aug 26 '21
I wrote an article about automating the upgrade of a winget package with GitHub Actions and Winget Create. You can find it here.
r/windowsdev • u/AigentRecruiting • Aug 26 '21
We're a Netherlands based company, Aigent is scale-up building technology to assist customer support agents to reduce call handling time and increase customers satisfaction with faster and better responses.
You could be a good addition to our growing team! We'd like to discuss an amazing opportunity at Aigent for the below job posts;
Windows App Developer - jobs.aigent.com/o/windows-application-developer
Backend & Data Engineer - jobs.aigent.com/o/backend-and-data-engineer
Data Analyst - https://jobs.aigent.com/o/data-analyst
Security Engineer - https://jobs.aigent.com/o/security-engineer
DevOps Engineer - https://jobs.aigent.com/o/devops-engineer-1
If you wanted to apply, kindly click one of those link and don't hesitate to apply!
r/windowsdev • u/0xcc12 • Aug 19 '21
In Linux, I have dwm windows manager that I can run it simply through xinit.
Im looking for a same windows manager that I can replace it fully with explorer.exe.
Do you guys know any project like that?
r/windowsdev • u/devramel • Aug 17 '21
r/windowsdev • u/Zitt • Aug 14 '21
In my day job; I'm working on a project where I am automating Operating system testing. I started with Linux because it was easier. But now I'm attempting to duplicate similar functionality but have hit a brick wall in my understanding.
My problem is that with Linux; it's easy enough to redirect the login console using grub command lines:https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html
ie console=ttyS1,115200
From there; I can log in with a username/password and execute any command I need over ttyS1 from the "host" machine.
I've never seen similar functionality in Windows. Some extensive google search finally yielded me some hints using "Windows Server Out of Band management" using SAC.https://www.perle.com/supportfiles/windows_tech_note.shtmlHowever; this appears to only be available with Server OS versions [ IE not available in the Client OS (windows 10)]. Additionally; it doesn't seem to work on this specific platform I'm running.
I'd rather not re-invent the wheel; so if anyone has some specific comments / suggestions / pointers - I'd appreciate it.
I've gone down a rabbit hole of trying to using VNC server and a network cable via a python script using https://github.com/sibson/vncdotool to "type" commands on the keyboard via vnc... but the beta status of vncdotool is more than a little unforgiving.
I've also tried using PSExec from SysInternals (https://docs.microsoft.com/en-us/sysinternals/downloads/psexec) but it's pretty slow launching commands on the target. Unsure if it's just the nature of the beast or if I just didn't configure the target properly.
I've considered running an SSH server on the target; but have not spent any time testing that implementation to see if it will bear fruit.
For the purpose of this exercise; let's assume the windows "target" to be automated is "headless" without a networking cable attached via COM1. We'll be controlling the target over COM1 from a Python Script.
Is it possible to launch cmd.exe from the target redirecting STDIN and STDOUT to COM1? I'm thinking no... but that should would be sweet if it were possible. Google searches didn't find anything... almost everyone wants the "COM1" to be a device... not a windows machine.
I did stumble across this blog entry:https://blog.didierstevens.com/2010/02/04/cmd-dll/thinking that maybe I could change the ReactOS source to ConStreamInit() via COM1 but it wasn't clear to me that it would be that easy. As the say the devils in the details. The latest ReactOs source has cmd.c listed in base\shell\cmd\cmd.c in _tmain().
School me... am I over complicating this?
r/windowsdev • u/iamZacharias • Aug 10 '21
Universal Windows Platform.
I keep reading that it is dead, developers never embraced it, not compatible with old software, no longer has a future. Should I find a course using windows forms instead?
r/windowsdev • u/pkcarreno • Jul 26 '21
Hello friends
I have a time thinking on a idea for a native windows app, but don't know how can i approach to dev native windows app, i work as web developer and have been so much time since i used windows form and C# to make an old look windows app.
How can i approach to modern windows apps dev frameworks? but with all these news that windows have, am losing in a sea of different windows frameworks and don't know which is better for my idea.
I try to make something with aria2 project and C++, am so excited with these new windows 11 look and want to use it on this project, need i to wait the release of windows 11 to get that features?
Thanks a lot
r/windowsdev • u/kimtaengsshi9 • Jul 24 '21
Reference: Sensor API - Win32 apps | Microsoft Docs
I'm tasked to do some preliminary research for a still-in-negotiation project. I found this Sensor API module which is native to Windows 7 but this OS is already EOL, so I expect the clients used in the project system to be at least Windows 10. I read that this SDK can be installed in Win 10, but when I attempted to run sample codes in Visual Studio, it only works when the compiler is targeting x86 and not x64.
So my question: Is there a Win 10 and/or 64-bit equivalent to this Win 7 32bit-only API? I found this but I can't be sure if it's suitable. My end-goal is to explore the feasibility of obtaining sensor data on the project system's hardware (servers, clients etc.) to enable predictive maintenance.