Skip to content

C++ code classes generated disordered "A uses undefined class B" #232

Closed
@Liftu

Description

@Liftu

Hello,

I'm trying to generate the C++ code from the structs I reversed but I get an error when I'm compiling the result.

ReClass.NET seems to generate the structs definitions in a random order.
So if a class A refers to a class B but the latter is defined after the struct A in the generated C++ code, I get the error "A uses undefined class B" from Visual Studio compiler.

I have more than 2000 lines of generated C++ code so I can't rearrange them manually.

It's the first time that kind of stuff happen to me using ReClass.NET and I wonder if someone else already encountered the same problem or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions