Ok, another question:
I have modified the code a bit, wrapped it into a class operation with char* inputs Filter and Path and it returns returnstring (char*). It appears, however, that even though I can open the open dialog successfully and pick a file, lpstrFile is not being set (it remains...