Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ Core
»
CreateProcessW doesn't compile with CLANG
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Re: CreateProcessW doesn't compile with CLANG
[
message #59835
is a reply to
message #59834
]
Mon, 01 May 2023 16:52
Oblivion
Messages:
1206
Registered:
August 2007
Senior Contributor
Hello Luigi,
It seems that you've hit a problem that the move from 16 bit wchat to 32 bit wchar caused.
You need to convert the strings into WCHARS (16 bits) in order for CreateProcessW to work.
You can check my PtyProcess class (ln 53-90) to see how to -hopefully- solve this issue for both cmdline and env strings.
Link to the source code:
https://github.com/ismail-yilmaz/Terminal/blob/300cb3311bf97 6a2f4a05fc3efefd9e7bc0ee439/PtyProcess/Win32Pty.cpp#L53
Best regards,
Oblivion
Github page:
https://github.com/ismail-yilmaz
upp-components:
https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator:
https://github.com/ismail-yilmaz/Bobcat
Report message to a moderator
[
Message index
]
CreateProcessW doesn't compile with CLANG
By:
forlano
on Mon, 01 May 2023 15:09
Re: CreateProcessW doesn't compile with CLANG
By:
Oblivion
on Mon, 01 May 2023 16:52
Re: CreateProcessW doesn't compile with CLANG
By:
forlano
on Mon, 01 May 2023 21:38
Previous Topic:
DropList STDFONT size changing after Drawn on screen
Next Topic:
StrInt returning value
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
U++ and AI
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Mon May 12 15:49:10 CEST 2025
Total time taken to generate the page: 0.02870 seconds