digi proc added the comment:
By the way, that above C++ function is not re-entrant! I was lazy and just made
a static return buffer. To make it re-entrant, you'd need to figure out how to
allocate enough space in the DefFile string so the C function could write the
selected filename to
digi proc added the comment:
Almost certainly a tkinter bug.
A work around is below. First build a DLL from the following C++ source (and
add a similar function for the 'save' dlg rather than the 'open' dlg):
#include "windows.h"
#include "Commd