Skip to content

Use CreateFile2 and CreateFileMapping#536

Merged
Scottj1s merged 12 commits into
microsoft:masterfrom
micahl:master
Jul 26, 2019
Merged

Use CreateFile2 and CreateFileMapping#536
Scottj1s merged 12 commits into
microsoft:masterfrom
micahl:master

Conversation

@micahl

@micahl micahl commented Jul 23, 2019

Copy link
Copy Markdown
Contributor

No description provided.

@Scottj1s

Copy link
Copy Markdown
Member

Thanks, @Scottj1s! I initially had that and then I ran across this stackoverflow post that suggested that approach wouldn't always work as expected if the input was anything other than ASCII. I can switch it back if you think it wouldn't be an issue.

oh, that's good to know. ok, leave as is, but please add some error handling (see https://github.com/microsoft/xlang/blob/d2cff46d73a2b5f320f8a101e0c39413f069d849/src/platform/win32_string_convert.cpp).

Comment thread src/library/impl/meta_reader/view.h Outdated
Comment thread src/library/impl/meta_reader/view.h Outdated
Comment thread src/library/impl/meta_reader/view.h Outdated
@Scottj1s

Copy link
Copy Markdown
Member

thanks Micah

@Scottj1s Scottj1s merged commit 824ab9c into microsoft:master Jul 26, 2019
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

Successfully merging this pull request may close these issues.

4 participants