A portable executable (PE) is invoked through a platform-independent
interface by processing an export table in the PE to obtain the function
names used in the PE. A resources table in the PE is processed to obtain
a user interface used in the PE. A platform-independent user interface is
generated based on the user interface used in the PE. At least one of the
functions used in the PE is invoked through the platform-independent user
interface.