Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ Scaffold Project invalid codegen #196

Open
blackxored opened this issue Nov 17, 2021 · 0 comments
Open

C++ Scaffold Project invalid codegen #196

blackxored opened this issue Nov 17, 2021 · 0 comments
Labels

Comments

@blackxored
Copy link

blackxored commented Nov 17, 2021

Apologies if this is a dumb question as I'm fairly new to this tool.
When generating a C++ scaffold/DLL injection project, I'm getting a bunch of compile errors. I'm using VS2019 community and Windows 10 SDK as recommended.

For instance, il2cpp-types.h:

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2059	syntax error: ';'	IL2CppDLL	D:\Research\inj\appdata\il2cpp-types.h	2307047	

with the line in question and the above are along the lines of:

struct Some {
//...
struct SomeStructType *_member1;
struct AnotherStructType *_member2;
}

I can only assume with my limited knowledge is that it fails to find the symbol, and hence is erroring (there's no missing semicolon), however I can see the struct in the file, and I can also see DO_TYPEDEF(<address>, SomeStructType);
Might this be related to the macro? I've no idea.

EDIT: if I hover over DO_TYPEDEF I see SomeStructTypeClass identifier is undefined, not sure if related.

@blackxored blackxored added the bug label Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant