embedded camera driver; UVC descriptors: MMF producing error 0x80070491, DirectShow OK
We are developing a camera. We have two resolution versions, low res 384 x 290 and medium res 640 x 481. The low and medium versions work with DirectShow (either GraphEdt or VLC) on Win10. The low res works with Windows Camera, but not the med res…
Some on Docs mentioned errorcodes are not in the latest SDK.
Hi, While working om WASAPI, I noticed some error result codes from the AudioClient are documented on Docs but not present in the latest SDK. These are: AUDCLNT_E_INVALIDTYPE and AUDCLNT_E_DEVICEINVALIDATED. And which headerfile should contain…
Media Topology error in Windows 10 OS 2004 verison
Hi, We have developed a streaming and video recording application using MediaTopology. It works fine with Windows 8.1 OS and Windows 10 OS ( except 2004 version ). Error code: 0xc00d5214 What could be the possible reason for this issue that…
Global Atom Table - '-D4%' prefixed atoms
Trying to get an answser to the following: Here's what we see if we batch convert text document through word over a 1 hour period, converting 10 in parallel at a time on an 8 core system: Atom Monitor 1.4 Pattern: ControlOfs[0-9A-Z!?/+-]+ Counts: 2 …
Can't get the module name for a process
I can't get any names for the exe files of processes... Any ideas whats wrong here ? LONG findprogram() { LONG count; DWORD aProcesses[1024],cbNeeded,cProcesses,processID,CurrentProcessId,lpExitCode; unsigned int i; std::wstring…
Discrepency between powershell & dumpbin when duping dll arch
Hi, I'm on win10-2004 (19401-508) with Visual Studio 2019 (16.5.4). Porting a 32bit app to 64bit. Removed all references to 32bit from ALL build properties, but seeing 32bit dlls? Using powershell & dumpbin I'm seeing a discrepancy in which arch…
DTLS 1.2 implementation example with SChannel
I want to know if there is a working example on how to implement DTLS 1.2 with Schannel for a desktop application using Windows 10 SDK, I have searched for it over the internet and I couldn't find any.
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
Determine file system [GetVolumeInformation() not helpful]
Is there a means of determining the file system of a drive, from a native C++ application? Or, otherwise learning what I want to know*? GetVolumeInformation() does not tell me what I need to know*. *WHAT I WANT TO KNOW ABOUT A FILESYSTEM I want to…
![](https://techprofile.blob.core.windows.net/images/YjghgMRei0m22AUG6PnvUQ.png?8D843E)
What wrong with the code?
AppendMenu(hMenubar, MF_POPUP, NULL, "File");
[TSF-IME] Access violation when using / Heap Corruption ITfUIElementSink
Hi, Im currently working with the Text Service Framework. And if I use advise sink on an ITfUIElement, i'll get an exception (see picture) after using my simple test application and spamming some keys and spaces in chinese. If i dont…
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
Create a shared memory segment
Hello. How can I create a shared memory segment, in Windows ? I ask this because I have found several examples for Linux, but I need it in Windows. There, I need to write and read char* on a given position ... but I don't know how to accomplish that. Can…
WinSock2.h generates expression before comma has no effect warning
This is because of while (0, 0) in the following macros: #define FD_CLR(fd, set) do { \ u_int __i; \ for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count ; __i++) { \ if (((fd_set FAR *)(set))->fd_array[__i] == fd) { \ …
![](https://techprofile.blob.core.windows.net/images/YjghgMRei0m22AUG6PnvUQ.png?8D843E)
How to specify PeerTokenAccessMask in WSAQuerySocketSecurity?
The PeerTokenAccessMask field is a ULONG in SOCKET_SECURITY_QUERY_TEMPLATE. I need to set it to some value to get PeerApplicationAccessTokenHandle and/or PeerMachineAccessTokenHandle. However I cannot find anywhere how that mask field can be set. …
Finding memory leaks
My code runs fine, but when it finishes in debug mode I see many memory leaks. Here are a few: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgrpt.c(153) : {1208} crt block at 0x273D9DA8, subtype 0, 16 bytes long. Data: < #a > 00 00 00…
WebClient.DownloadFile can't establish secure SSL/TLS channel?
I cannot download a publicly available file from a government webserver using .Net framework 4.8 or .Net core 3.1. I am able to download the file using Chrome, Firefox, or curl. WebClient.DownloadFile() worked for over a year as an Azure app…
doubt related to RAM
How the Data Loads on RAM with exact proof ? OR how when program runs it first loads on RAM we store data inside a variable how we come to know that it is there in RAM while processing?
![](https://techprofile.blob.core.windows.net/images/YjghgMRei0m22AUG6PnvUQ.png?8D843E)
DirectShow / WMF (KSPROPERTY_CAMERACONTROL_EXTENDED_EXPOSUREMODE)
*Before I ask my question I need to state that I am primarily a Linux C++ developer and don't have that much experience with writing Windows applications. * Background For some time, I have been working on a scientific imaging application which…
![](https://techprofile.blob.core.windows.net/images/YjghgMRei0m22AUG6PnvUQ.png?8D843E)
Win32 websocket sample
Hello, I found a wensocket sample code in: Websocket But I need few hints: Is it a server or client ? I tried running it. It runs and exist without any error. Does not wait for a client (e.g chrome to connect). Can you please advise ? …
![](https://techprofile.blob.core.windows.net/images/_hqlMJXppUulWFfRh8cwtQ.png?8D845A)
Provisioning support for .appinstaller?
We are in an enterprise environment and would like to use the .appinstaller file to install a UWP app provisioned for all users to keep our in-house app up to date. The reason we need the app provisioned for all users is the need to be on shared…
![](https://techprofile.blob.core.windows.net/images/YjghgMRei0m22AUG6PnvUQ.png?8D843E)
Memory isn't deallocated - ActiveX control (.NET/C#) used in an MFC application
I have a memory problem with a COM/OLE/ActiveX component. But I don't know more than the basics of ActiveX... I'm reaching out to the ActiveX experts here - I'd be VERY grateful for some help!! I'm doing some maintenance on an old MFC project (a Win32…
![](https://techprofile.blob.core.windows.net/images/_5e-jRvlCkWlkMrV8cdbJg.png?8D8365)