Error: class _IMAGE_IMPORT_DESCRIPTOR has no member u1

  c++

While hooking the API, I get the error:

class _IMAGE_IMPORT_DESCR─░PTOR has no member u1

What is the solution to this? Is it a missing program, or am I writing my code incorrectly?

for (; pIID->u1.Ordinal & IMAGE_ORDINAL_FLAG) && pIID->u1.AddressOfData; pIID++) {

Source: Windows Questions C++

LEAVE A COMMENT