You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
[ilink32 Error] Error: 'C:\USERS\USER\DESKTOP\MAIN\LIB\DETOURS.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
I using rad studio 12 version write code from C++ but i cannot using detours library i try coff2omf recorder but its not too work.
if i using converting library
i have error like this
Command-line test case
#include <iostream>
#include <windows.h>
#include "detours.h"
#include "pch.h"
#pragma comment(lib, "detours.lib")
int main2 (){
DetourTransactionBegin();
DetourUpdateThread(GetCurrentThread());
DetourAttach((PVOID*)&original_sub, hooked_sub);
DetourTransactionCommit();
}
**Detours version**
All versions i need your helps for rad studio using detours
The text was updated successfully, but these errors were encountered:
C++ Builder use OMF for legacy bcc compiler and ELF for legacy clang-based bccx compiler, they are not compatible with COFF used by MSVC and MinGW toolchains by default.
You may switch to RAD Studio 12.1 and enable new clang compiler which does support COFF or recompile Detours using legacy bcc.
Describe the bug
[ilink32 Error] Error: 'C:\USERS\USER\DESKTOP\MAIN\LIB\DETOURS.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
I using rad studio 12 version write code from C++ but i cannot using detours library i try coff2omf recorder but its not too work.
if i using converting library
i have error like this
Command-line test case
The text was updated successfully, but these errors were encountered: