Jump to content

create struct consult

Recommended Posts

Hi, How to create this struct?

Local $tagLpSYSText = DllStructCreate("int textCount;int sign;int textlen;char ptext;int x[4]; int y[4]")

struct _SYSTextPoint {
    int x;
    int y;
    _SYSTextPoint():x(0), y(0) {

struct _SYSText {
    int textLen;
    char* ptext;
    _SYSTextPoint coordinate[4];
    _SYSText() {
        textLen = 0;
        ptext = nullptr;

typedef struct _SYSRsText {
    int textCount;
    int sign;
    _SYSText* pSYSText;
}SYSText, * LpSYSText;


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...