跳至主內容

搜尋

搜尋

ExportToFile Failing Silently

評論

1 條評論

  • Avatar
    Andy

    Follow up to this we've determined that it has to do with running the ExportToFile within a separate thread but still have no idea why bartender fails. 

    If I use a separate thread with code like this it works:

    ThreadPool.QueueUserWorkItem(MyFunctionToExport, Parameter); 

    But calling it like this fails. :

    MyFunctionToExport(Parameter);

    Basically within MyFunctionToExport() it initializes the label and sets a bunch of label fields and then calls the export.

    0

登入寫評論。