Category : desktop

I can create function to get path from PID, but now i must get process PID. String _getProcessPath(int processID) { var path = ”; var hProcessHandle = OpenProcess( PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, processID); var lpFilename = ‘000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000’ .toNativeUtf16(); var nSize = MAX_PATH; GetModuleFileNameEx(hProcessHandle, NULL, lpFilename, nSize); path = lpFilename.toDartString(); CloseHandle(hProcessHandle); free(lpFilename); return path; } I ..

Read more

I’m using the "github.com/lxn/walk" package in Golang to build a windows desktop GUI application. Now I want to change the background color of the application, What should I do? There’re few docs about "walk", and even fewer about changing background color using "walk". (https://github.com/lxn/walk) Here is my code in main.go: package main import ( "time" ..

Read more

I’m creating native plugin implementation for Flutter desktop app (both Linux and Windows), and I’d like to debug plugin’s C++ implementation. I only found guide how to do it with ios/android plaform code (https://flutter.dev/docs/testing/oem-debuggers). So for I have tried the following: Open "windows" directory with VSCode (install C/C++ / CMake / CMakeTools plugins) Select Cmake ..

Read more

I start using Visual Studio 2019. I am trying to follow a paper about how to use Visual Studio 2019 to create a Windows desktop application in C++. But failed at beginning. Following compares the paper said and My result Paper:From main menu,choose File-New-Project to open the Create a new Project dialog box Me:I didnt ..

Read more