Answer the question
In order to leave comments, you need to log in
How to redirect a function call?
There is a function declared in header.h
#ifndef BASSDEF
#define BASSDEF(f) WINAPI f
#else
#define NOBASSOVERLOADS
#endif
HSAMPLE BASSDEF(BASS_SampleLoad)(BOOL mem, const void *file, QWORD offset, DWORD length, DWORD max, DWORD flags );
How to redefine BASSDEF so that the functions are pointers referring to dlsym and I could easily call them (the same BASS_SampleLoad, pass arguments, etc. but only to dlsym)?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question