1、这个错误
General SQL error.
ct_send(): user api layer: external error: This routine cannot be called because another command structure has results pending
是由database引起的,加入tsession就可以彻底解决。
2、访问进程多了有时候会出现
Access violation at address 45C45400. Read of address 45C45400
Access violation at address 77993F19 in module 'oleaut32.dll'. Read of address 00E7C000
这是corba的错误,当瞬间大量访问是会发生,我想的解决方法是尽量减少循环调用。
不知第二个问题,大家有没有高见。