Comments (3)
\openvpn-gui\passphrase.c(699): SetDlgItemText(hwndChangePSW, ID_TXT_KEYFILE, keyfilename);
so my question is: how can we get or set the dialog item text?
Those items are used to pass the keyfile format and name to the change password thread and are set as above. Those are not text displayed to the user so 0,0,0,0 in the resource file is fine..
I prefer to use explicit function names with A or W (and char or wchar_t/WCHAR) but the legacy code has TCHAR and generic calls. We no longer support non-unicode builds so both resolve to the same. For new code I suggest to be explicit about ascii and wide char calls.
from openvpn-gui.
thanks for the explanation, i spent a lot of time translating the resource into vs2013 editable form, the big issue is vs2013 resource editor does not allow line concatenation, and it always puts a resource.h to replace openvpn-gui-res.h, that totally made me a mess
from openvpn-gui.
Though it would be useful to get this compile under VS, its a lot of work to get the current resource files into a VS compliant form.The resource compiler in mingw is pretty lenient (smart?) and allows line continuation by '\' in almost all places, preprocessor macros in strings etc.
If you manage to port the resource files please submit a PR. Other contributions are also most welcome.
from openvpn-gui.
Related Issues (20)
- Could not parse --management option HOT 12
- OpenVPN Pre-Logon Access Provider HOT 8
- Textbox for 2fa security code HOT 26
- Tray icon context menu triggers filesystem walk
- Can't see ip address in tray tooltip HOT 8
- Service> OpenThreadToken Access Denied HOT 1
- Tray icon and text not updated in some cases
- Copyright timestamp needs updating to 2024 HOT 1
- PLAP Auto Connection HOT 4
- > Greate Fie for stdout 系统找不到指定的文件 HOT 2
- Add setting to reestablish last VPN connection on application start HOT 1
- Minor Windows GUI flaw: white strip on 125% dpi HOT 2
- OpenVPN GUI (SBL/PLAP) setting doesn't work with Dynamic Challenge HOT 6
- Reintroduce the private key password change feature HOT 2
- Does SAML work with using SBL/PLAP with OpenVPN GUI? HOT 7
- OpenVPN DCO connect error with TCP port on Windows client HOT 8
- i have a I have a problem verifying the certificate
- Move application data to %APPDATA% HOT 1
- [BUG] OpenVPN 2.6.9+ can't be installed/updated on Windows 11 HOT 3
- Blurry eye icons when UI scaling is set HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvpn-gui.