Pelles C forum

C language => Expert questions => Topic started by: unwake on April 10, 2026, 04:09:53 AM

Title: Link error with minhook
Post by: unwake on April 10, 2026, 04:09:53 AM
https://github.com/TsudaKageyu/minhook/releases/tag/v1.3.4
Minhook has dynamic and static lib, link with dynamic lib is ok, but link with static lib "libMinHook.x64.lib", say error:
POLINK: fatal error: Unsupported anonymous format in object 'x64\Release\libMinHook\hook.obj'.
can you fix it ?
Title: Re: Link error with minhook
Post by: TimoVJL on April 10, 2026, 08:57:10 AM
That ANON_OBJECT_HEADER is a problem for linking.
Check library with pope.exe
Title: Re: Link error with minhook
Post by: Vortex on April 10, 2026, 09:52:04 AM
Sorry but is it allowed to discuss about API hooking in this forum?