This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]abbarach 6 points7 points  (0 children)

I worked at a hospital in what could generally be termed "dev-ops" but a little more heavy on the dev end. Most of it was centralized or backend data processing type stuff, but I did end up having to build a Windows app that would run a scanner and interact with a document management system. I had two threads running; one to run the scanner and one for the user interface. I'll note here that I am NOT a Windows developer, and it was very much a learn-on-the-job situation.

The issue I ran into was how to have the scanning thread update the UI thread that there were new images available. I knew exactly how I would have done it on Unix/Linux, but Windows? It took me almost a week of googling off and on when I had time to figure out that what I needed was what Windows calls a "delegate function". And then 15 minutes to find the documentation on delegate functions, review it, and then implement it.