Dear DelphiRTL developers,
There is problem of creating VCL forms if calling process is assembly itself(not exe).
e.g. If I try to create TForm6 which is in my MyOxygeneForms.dll assembly, I get exception
lResStream is nil. That is because System.Reflection.Assembly.GetEntryAssembly();
will return wrong assembly (when called from another assembly)
I tried to solve this problem by overloading TCustomForm constructor and passing there Assembly name, but that obviously not a good way to override base library, because It will have to be rebuild. So i created newForm.WPF.pas version.
Please come with advice, how I can use Oxygene forms from different assembly.
The example of using Delphi forms in Visual C# project can be found here
thanks in advance,