QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: SpriggsySpriggs on January 18, 2021, 02:11:54 pm

Title: Looking for a new API or C++ project for my downtime at work
Post by: SpriggsySpriggs on January 18, 2021, 02:11:54 pm
I get bored sometimes at work waiting for tickets/emails so I program when I'm bored. Lately I haven't been able to think of anything fun to program that is relatively small. I'd like suggestions for programs that use WinAPI or code that uses C++ headers that I could write. Please post suggestions below for either WinAPI or C++ code for me to write.

Thank you in advance for your ideas.
Title: Re: Looking for a new API or C++ project for my downtime at work
Post by: SMcNeill on January 18, 2021, 02:20:55 pm
You can always try to sort out the DirectShow or Media Foundation APIs.  https://docs.microsoft.com/en-us/windows/win32/audio-and-video
Title: Re: Looking for a new API or C++ project for my downtime at work
Post by: Richard on January 19, 2021, 10:59:53 pm
@SpriggsySpriggs

Just wondering if there is an API or something that for each Running Application (be it Windows or anything else) to have a Cumulative Count for each app of bytes read written etc.

At present I have to manually take many screen shots of Windows 10 Resource Monitor (Disk) and then manually tabulate the appropriate data to each app.

Even if it was a Cumulative Count for each PID running (PID changes with each program run) that would be OK.
Title: Re: Looking for a new API or C++ project for my downtime at work
Post by: zaadstra on January 21, 2021, 09:27:17 am
Is it possible to have QB64 calculating crc32's with a piece of fast c++ code that you can include, and then call it from the program to calculate a file's crc32?  Or as second option calculate the crc32 of a specified block in memory. Crc32 calculating in QB64 basic is slow.
Title: Re: Looking for a new API or C++ project for my downtime at work
Post by: SMcNeill on January 21, 2021, 10:07:35 am
Is it possible to have QB64 calculating crc32's with a piece of fast c++ code that you can include, and then call it from the program to calculate a file's crc32?  Or as second option calculate the crc32 of a specified block in memory. Crc32 calculating in QB64 basic is slow.

Look in my SaveImage library.  It does both.  ;)
Title: Re: Looking for a new API or C++ project for my downtime at work
Post by: Dav on January 21, 2021, 01:01:41 pm
If you're into music making at all via midi keyboards, here's something interesting...
https://docs.microsoft.com/en-us/windows/win32/multimedia/midi-functions

- Dav
Title: Re: Looking for a new API or C++ project for my downtime at work
Post by: TempodiBasic on January 21, 2021, 06:21:56 pm
Hi Zack
what do you think about a function/application that recognizes the number of windows opened on the desktop and their  positions and size?.