Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows CreateProcess() in platform.jar #229

Closed
davidhoyt opened this issue May 9, 2013 · 2 comments
Closed

Windows CreateProcess() in platform.jar #229

davidhoyt opened this issue May 9, 2013 · 2 comments

Comments

@davidhoyt
Copy link

CreateProcess()' lpCommandLine argument is LPTSTR (not LPCTSTR) and can therefore be potentially modified by CreateProcess().

Should the argument instead use a pointer (to an array of wchar_t?)?

@twall
Copy link
Contributor

twall commented May 10, 2013

There should be an additional mapping for CreateProcessW() that uses char[], since only the unicode version may modify its argument.

@twall
Copy link
Contributor

twall commented May 10, 2013

Fixed in 5206982

@twall twall closed this as completed May 10, 2013
mstyura pushed a commit to mstyura/jna that referenced this issue Sep 9, 2024
Motivation:

2423c2f added the FlushStrategy API but did not add extra tests

Modifications:

Add unit tests for the two factory methods of FlushStrategy

Result:

Better test coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants