剛接觸Corba的服務器程序,請各位大俠幫忙,謝謝!

解决方案 »

  1.   

    delphi6默认装的Visibroker 4.0
    选一下Visibroker3.3
    试试
      

  2.   

    刚才看了一下Delphi的帮助,orbpas.dcu在D5下有,而D6/D7下都没有。下面是D6的帮助,应该对你有用。Some versions of Delphi come with an IDL2PAS compiler for writing CORBA applications. This IDL2PAS compiler has been enhanced to support writing CORBA servers (generating skeleton code) as well as clients (generating stub code). You can launch this IDL2PAS compiler from within the IDE by choosing Tools|Regenerate CORBA IDL files or by choosing File|New|Other and clicking the CORBA page. The compiler is useful for creating clients and servers, and maintaining existing CORBA projects where you make a change to the IDL file and just want to refresh the project files.It is highly recommended that you use the new IDL2PAS compiler for CORBA applications, rather than using the older CORBA support that was integrated with Delphi抯 support for COM applications. When using the new IDL2PAS compiler, you should use the corba.pas and orbpas30.pas or orbpas40.pas units to interact with the ORB rather than the older corbaobj.pas and orbpas.pas units. In addition, two new units, cosevent.pas and cosnaming.pas wrap the event and naming services, respectively.The documentation for the CORBA support has not been integrated into the main Delphi documentation. Instead, the IDL2PAS compiler is documented in Doc\IDL2PAS\index.htm.