>When it is running in the exe, is the form included in the exe or the whole app ? When it is NOT running in the app (called by the exe), is the form included both in the exe and the app ? VFP is fragile if it encounters duplicate names, at least for functions and programs [verified], and class names [hearsay from a usually very reliable coworker]. Might be a similar mechanism working for forms, even if the compile/version status is identical.
>
The EXE only loads the menu, plus a few functions. No forms. My APP is self-contained and can be run independently from the EXE if necessary (all the classes and functions are included). None of it is duplicated between either project. I tried building an EXE and calling it instead (eg. DO MyApp.EXE), with the same results.
>I remember getting unexpected behaviour with nodefault when experimenting with Bindevent().
>
In this case, I'm not using BINDEVENT().
Thanks for the feedback. Very weird (and annoying). This wasn't the only weird behavior I found when calling an APP from the EXE - another problem I ran into:
- In a pop-up menu that used ICO files next to the menu items, the background (which was transparent) changed to the background color of the calling VFP app. I had to change these to BMPs w/MSK files to fix it.