我们开发的程序有一个服务器端,和若干客户端,以前使用很好的。可是自从
前不久换了一台服务器,就出现奇奇怪怪的问题。程序在服务器上能正常运行,可是
在客户端就跑不起来了。经过努力,解决了一串问题,最后还是没有成功,请大家
江湖救急,看看有没有解决的办法,或者知道问题的症结出在哪里。
    在客户端运行时,会出现异常,但不调试之后,发现几乎所有的DataModule都
运行不正常,而其中的DcomConnection连接服务器数据库联接不上,DCOM从计算机
Server2000(我们的服务器名)得到错误:    “请求的操作要求JIT在当前上下文中,但JIT不在其中”郁闷的一塌,JIT是什么东东?SOS!

解决方案 »

  1.   

    just in time
    help里有详细解释.
      

  2.   


    Just In Time 
    那如何解决呢?大虾请指教
      

  3.   

    Use JITEnable to indicate what types of exceptions trigger the just-in-time debugger. JITEnable only has an effect on applications that run under Windows.When JITEnable is 0 (the default), all exceptions are handled using the application抯 exception handling mechanism. The just-in-time debugger is only called if the application provides no mechanism to catch exceptions. Note that any application that includes the Forms unit provides exception handling (via the Application object) for all but the initialization and finalization sections in Delphi units and does not trigger the just-in-time debugger.
    When JITEnable is 1, any non-native exceptions (Exceptions raised by code that was compiled using other products) trigger the just-in-time debugger. Native exceptions are handled by the application抯 exception handling mechanism.When JITEnable is greater than 1, all exceptions trigger the just-in-time debugger.Note: When you install the IDE, it is registered as the just-in-time debugger. If you install other tools with debuggers, they may register themselves, overriding the registration of the IDE.