Hi,
I am sure "totalNum" & "itemFuncName[]" are initialized correctly,not global variables either. And it doesn't enter any loop. It just stopped at the point where the DLL was executing.Although the DLL may be executed halfway.
Since every DLL is a test function,and will return data back,I know how it breakdown.It breakdown inside the DLL,not in loop.
The key is:If I click other places,such as select a list box item,it still works smoothly.
That is,at the same time,test result of this item will be displayed in the editbox on the right of the view. Then the test continue.And click on the editbox,click on elsewhere of the view.......But as soon as I click on the scrollbar(ListBox's or EditBox's) menu,toolbar,the problem occurs.The DLL will stay at where it was.
I conjecture that such actions may need more CPU time to handle them, so the execution of the DLL was interrupted, and cannot continue.
In another version,the item test functions are not made into DLL,I call them directly through CVI ActiveX Automation Server,everything is OK.
Regards,
Lily