Add SystemFileDialog utility with native integration #90
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IllusionMods/IllusionModdingAPI!90
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Introduced a new SystemFileDialog utility to enable native file dialog functionality using a C++ helper dynamic library. Updated project solution files to include the Helper project and integrated its functionality with a C# wrapper for easier usage within the solution.
Pull Request Overview
This PR adds a new SystemFileDialog utility that provides native Windows file dialog functionality through C++ interop. It introduces a complete solution with both C++ native implementation and C# wrapper for easier integration.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@ -0,0 +15,4 @@</Filter></ItemGroup><ItemGroup><ClCompile Include="dllmain.cpp">The project filters file references 'dllmain.cpp' but the actual source file in the project is 'SystemFileDialog.cpp'. This mismatch will cause build issues.
@ -0,0 +165,4 @@}/*** Creates and displays an save file dialog with the specified parameters.Corrected grammar from 'an save file dialog' to 'a save file dialog'.
@ -79,6 +81,10 @@ Global{C275954F-05F9-4AFF-8290-E8190B54A602}.Debug|Any CPU.Build.0 = Debug|Any CPUThe C++ Helper project is configured to build as Win32 (32-bit) when the solution platform is 'Any CPU'. This could cause architecture mismatch issues. Consider adding x64 configurations to support 64-bit builds.
@ -0,0 +15,4 @@</Filter></ItemGroup><ItemGroup><ClCompile Include="dllmain.cpp">SystemFileDialog.cpp should probably be renamed to dllmain, rather than vice versa giving how it's the entry point
@ -0,0 +165,4 @@}/*** Creates and displays an save file dialog with the specified parameters.Oh yay, typos....
@ -79,6 +81,10 @@ Global{C275954F-05F9-4AFF-8290-E8190B54A602}.Debug|Any CPU.Build.0 = Debug|Any CPUNow entirely sure about this one? x86 should work for both 32bit and 64bit? Needs further testing.
@ -79,6 +81,10 @@ Global{C275954F-05F9-4AFF-8290-E8190B54A602}.Debug|Any CPU.Build.0 = Debug|Any CPUtldr; No. Koi is a x64 process, as such it can't load x86, resolved in latest commit
@ -0,0 +165,4 @@}/*** Creates and displays an save file dialog with the specified parameters.You leave my typos alone stupid bot. My engrish is feri gut.