A question about setObserversByIdentity in c++ builder vcl form

mill888mill888 Member Can LinOrganization: PersonalProject: Just for study
edited April 2018 in Help Center

I want to write a c++ program like IceGridGui in c++ builder 2007 with VCL Form; I use the Ice-3.2.1 version;
I put a button on main form, if I click the button, it would login to icegrid and register observers to monitor the icegrid;
When successfully createAdminSession, it comes to setObserversByIdentity. But program is blocked in setObserversByIdentity, and the main form can not reaction anymore.

But if I write a console application without any VCL , all is ok, it would not be blocked by setObserversByIdentity ; So, I think my setObserversByIdentity code has no problem.

So , I want to know, in c++ builder VCL application, whether I must invoke setObserversByIdentity function on separate Thread ?

my vcl program is in attachment testice.zip, on the file MyAdminSession.cpp

Best Answer

Answers

Sign In or Register to comment.