[tao-users] trouble on using AMH

Wang shj wangsj125 at foxmail.com
Thu Sep 24 03:47:51 CDT 2020


TAO VERSION: 2.5.9ACE VERSION: 6.5.9     HOST MACHINE and OPERATING SYSTEM: surface pro3, Windows10 professional x64     COMPILER NAME AND VERSION (AND PATCHLEVEL): Microsoft Visual Studio Community 2019     THE $ACE_ROOT/ace/config.h FILE: #include "ace/config-win32.h"     CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features    (used by MPC when you generate your own makefiles): no this file     AREA/CLASS/EXAMPLE AFFECTED:[What example failed?  What module failed to compile?]     DOES THE PROBLEM AFFECT: My test application got exception when running.     SYNOPSIS:Got CORBA INTERNAL exception when call a AMH server’s attribute.  DESCRIPTION:In client of Test.idl, when call foo attribute of server, it should get a string "attribute foo". But a 'IDL:omg.org/CORBA/INTERNAL:1.0' exception occurs . REPEAT BY: 

Generater vs project file: %ACE_ROOT%\bin\mwc.pl -type vs2019

Complied in vs2019

Excute server:  server.exe

Excute client: client.exe

Then get exception in client:

E:\amh>client.exe

(232|3184) EXCEPTION,

system exception, ID 'IDL:omg.org/CORBA/INTERNAL:1.0'

Unknown vendor minor code id (0), minor code = 0, completed = NO

 

发送自 Windows 10 版邮件应用

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/tao-users/attachments/20200924/8231787f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.idl
Type: application/octet-stream
Size: 93 bytes
Desc: not available
URL: <http://list.isis.vanderbilt.edu/pipermail/tao-users/attachments/20200924/8231787f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.cpp
Type: application/octet-stream
Size: 4860 bytes
Desc: not available
URL: <http://list.isis.vanderbilt.edu/pipermail/tao-users/attachments/20200924/8231787f/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.cpp
Type: application/octet-stream
Size: 890 bytes
Desc: not available
URL: <http://list.isis.vanderbilt.edu/pipermail/tao-users/attachments/20200924/8231787f/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.mpc
Type: application/octet-stream
Size: 448 bytes
Desc: not available
URL: <http://list.isis.vanderbilt.edu/pipermail/tao-users/attachments/20200924/8231787f/attachment-0003.obj>


More information about the tao-users mailing list