返回首页

嘿大家。

我有如下的枚举:

enum Open

{

     OPEN_COULD_NOT_OPEN_PORT = 1, ///< Could not open the port

     OPEN_COULD_NOT_SET_UP_PORT, ///< Could not set up the port

     OPEN_INVALID_BAUD_RATE, ///< Baud rate is not valid

     OPEN_COULD_NOT_SET_BAUD, ///< Baud rate valid, but could not set it

     OPEN_ALREADY_OPEN ///< Connection was already open

};

在我的C#解决方案使用,我出口是这样的:
{C}
当我从C#调用,我不能访问枚举?
是否有任何其他的办法做到这一点吗?

我最诚挚的问候...

回答

评论会员: 时间:2
C