Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Using Application.Run(ApplicationContext) in Visual COBOL

$
0
0

Changing the constructor name to "New"  works like you said but unfortunately it's not returned to after I start up the native menu, so the message loop never gets started;  "invoke type Application::Run(context)"

never gets performed.  In the C# example, the MyApplicationContext class showed two forms using the Show method which is different from calling a native menu.  I really don't see a way we can start a message loop on the managed thread.  Our earlier approach was to run each managed function on its own thread and to show the main form of each using "Run(MainForm)", which started a message loop.  We should probably stick with that.


Viewing all articles
Browse latest Browse all 4356

Trending Articles