첨부 파일을 분석중인데요..
main.cpp
static int CB_CALLCONV callback(unsigned int inpos, unsigned int outpos)
pecrypt.cpp
void CPECryptor::CryptFile(int(__cdecl *callback1) (unsigned int, unsigned int))
그리고 main.cpp에서
PEfile->CryptFile(callback);
이렇게 호출합니다.
사용 범위에 제한이 있는 static 함수를 pecrypt.cpp에서 사용하기