Windows Programming - July 2021

by Mif
Any Help with RegGetValueA function ??
Hello I'm working on a project and I want to use the RegGetValueA function which is suppose to be in the winreg.h , which is included by windows.h . I jus...
Jul 31, 2021 at 12:04pm
[16 replies] Last: FuzzyGuy reached his end of life about 45 years ago - that being the t... (by againtry)
Does Visual C++ have any effect on my machine??
I am opening the control panel of my laptop. I see there are many versions of Visual C++, I am not a computer technician. So Why are there so many versions of V...
Jul 28, 2021 at 10:09pm
[13 replies] Last: DLL Hell can still be a pain, even 'modern' languages/runtimes like C#... (by Ganado)
by Mif
XAudio2Create function fail..
Hello guys.. I'm using XAudio2 library as my sound for the project. And compiles without errors: //Audio ... ... #include <xaudio2.h> #pragma com...
Jul 22, 2021 at 10:54pm
[4 replies] Last: I'm using XAudio2 library as my sound for the project. For your pro... (by malibor)
by hbcpp
SetWinEventHook in a GUI Application - how to exit GetMessage
I have this code from an answer on stackOF HWINEVENTHOOK LHook = 0; void CALLBACK WinEventProc(HWINEVENTHOOK hWinEventHook, DWORD event, HWND hwnd, LONG idOb...
Jul 15, 2021 at 8:03pm
[1 reply] : I am testing this in a gui app where this code would run in a differe... (by malibor)
by Mif
Help ..Can't convert value to a vector "C" API
I'm having this code copied from a stream which is a game in "C" + API, and I get one error like |error: can't convert value to a vector| , and a warning ex...
Jul 15, 2021 at 1:40pm
[2 replies] Last: If I'm not mistaken, __m128i is referring to the total size of the reg... (by Ganado)
control parameter
DLL C++ void GetData(wxListView *listView1) { int iCount = listView1->GetItemCount(); MessageBox(NULL, L"iCount = " + std::to_string(iCount), L"", MB_OK); }...
Jul 14, 2021 at 1:28pm
[3 replies] Last: Also, ListView, as in System.Windows.Forms.ListView, has nothing at al... (by Ganado)
by hbcpp
How to use pointer member method -> error: reference to non-static member function must be called
I have these two functions: void BrowserMonitor::WinEventProc(HWINEVENTHOOK hWinEventHook, DWORD event, HWND hwnd, LONG idObject, LONG idChild, DWORD dwEv...
Jul 12, 2021 at 6:32am
[4 replies] Last: @mbozzi Thanks for the reply. However I am error in where it is line ... (by hbcpp)
Memory is corrupt
DLL c++ extern "C" { __declspec(dllexport) wstring ReadName(HWND hwnd); } c# to call [DllImport("TestDLL.dll", CallingConvention = CallingConvention.Cd...
Jul 9, 2021 at 7:21am
[6 replies] Last: Thank you Ganado ! (by Ba ranh)
by hbcpp
Get the address bar url from a browser
I would like to know how can I get the url from the address bar in a browser, I would like to do it preferably in the most popular browsers like firefox, chrome...
Jul 8, 2021 at 9:11pm
[6 replies] Last: By changing the keyword used in google search I was able to find some ... (by hbcpp)
by pj33
How ot install DCMTK
Hello I am new in c++ but i'm trying to install the DCMMTK library but I'm confussed. Can someone give me a clear set of instructions because I was confused wit...
Jul 8, 2021 at 2:27pm
[1 reply] : The Install document seems to be the information you're looking for: h... (by Ganado)
by pj33
Visual c++/add library path
I am trying to add the <Magick++.h> library by adding another path to the properties aconfiguration adn I am getting an error "includePath": [ ...
Jul 7, 2021 at 1:09pm
[4 replies] Last: Yes I am using Visual Studio Code, but I am new to all this, i have ad... (by pj33)
by pj33
Cmake
I try to install imebra libray using cmake and it tells me that the direcotry doesnt exist. The commands to build imebra are below. Building Imebra ..........
Jul 7, 2021 at 11:06am
[1 reply] : I think you should: 1. Create a directory for your project 2. md artif... (by kbw)
by Mif
_WriteBarrier not found.. please help
Hello guys.. I am following some programmers on youtube and I'm at a point where he is doing Multithreaded for the game. The problem is that from what he is w...
Jul 6, 2021 at 10:09am
[6 replies] Last: At least .. just for understand, those crushes are just cause I comme... (by Mif)
by benui
List voice attributes in Windows SAPI
Sorry if this is not the correct forum to ask this question. I am using the Windows Speech API and am able to loop through all installed voices. However I am h...
Jul 3, 2021 at 3:57am
[no replies]
by volang
Combine OpenSSL with Windows IOCP
I have a problem with combining openssl with windows IOCP. Usually without IOCP you can just call ssl_accept and it will handle the incoming data as soon it'...
Jul 1, 2021 at 12:45pm
[1 reply] : There's more to SSL than handling the physical read/write. Why do you... (by kbw)
  Archived months: [jun2021] [aug2021]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.