Quote:
Main is a basic4ppc designer created form, 800x600
When I run the code, there's no error but the form shows has if the dll was not beeing called at all...
|
You are right, it is not being called because you are showing your original Main form with "Main.Show" not the XForm.
To show only your FormEx use "XForm.Run". This is documented in the comments in the "Start Application" region of the example and also under the help for Run in the "FormExDesktop advanced topic".
To get a window that Maximises and Minimises all you need is this
Code:
Sub App_Start
LoadINI
XForm.New1("Main")
XForm.Run
End Sub