Windows functions are not working in editor mode but working when debugging?

I have open file dialog function in “PostActorCreated()” method i.e when i drag n drop .cpp file from contain browser to editor it should open dialog box.

Now while i open project in VS and run though “Local windows debugger” then this functionality works fine, but when i don’t run the project using debugger(i.e using .uproject file only) then it is not opening the dialog box ??? nothing happens.

What to do so that i can have this functionality working with debugging ??


In release version of unreal , 3rd party files are not given , So i need to run it from source