Hello! I have a problem...help me please..
I have a COM library (writen in C#, named as Lib) with such enum:
enum DECLSPEC_UUID("***") COLOR
{
RED= 1,
BLUE= 2,
CREEN= 3,
} ;
In C# this enum calling as:
COMTest.ColorType((int)Lib.COLOR.RED, .....);
So I need to do the same, but using PHP. I connected this library to PHP, but I don't know how to expose an enum.
Waiting for your advice. Thanks;)
I have a COM library (writen in C#, named as Lib) with such enum:
enum DECLSPEC_UUID("***") COLOR
{
RED= 1,
BLUE= 2,
CREEN= 3,
} ;
In C# this enum calling as:
COMTest.ColorType((int)Lib.COLOR.RED, .....);
So I need to do the same, but using PHP. I connected this library to PHP, but I don't know how to expose an enum.
Waiting for your advice. Thanks;)