함수는 
int xxx(
    int user_type,
    char *bind_id,
    char *bind_pwd,
    char *bind_domain,
    BOOL b_submit_ack,
    X_SUBMIT(_2)_CALLBACK lpfn_submit,   <---
    BOOL b_report_ack,
    X_REPORT_CALLBACK lpfn_report,    <----어떤식으로 변경해야될지..?
    int *x_ret_code) ;
///.h 파일
typedef int (WINAPI *X_REPORT_CALLBACK) (
        char                *user_id,
        char                *user_domain,
        char                *user_phone_id,
        int                duration,
        int                pages) ;
int WINAPI fn_x_report_callback(
        char                *user_id,
        char                *user_domain,
        char                *user_phone_id,
        int                duration,
        int                pages) ;
외주업체에서 받은 dll을 델파이에 적용시키려합니다..
대부분 매개변수가 integer나 PChar로 변경하면 될거 같은데..
위 콜백함수(?)로 되어있는 매개변수는 어떤식으로 처리해야될지 모르겠네요
그리고..외부라이브러리(xxx.lib)와 헤더파일(xxx.h)를 추가하라는데 ...어떻게 하는건지모르겠네요..
도와주세요...
			 
	
	
    
    
	
	
    
    
    
델파이에서는 함수포인터를 사용하시면 됩니다...
type
TX_Report_CallBack = function (user_id, user_domain, user_phone_id: PChar; duration, pages: Integer): Integer; stdcall;
function xxx(user_type: Integer; ...; lpfn_submit: TX_Report_CallBack; ...): Integer;
호출은 씨와 똑같이 함수포인터 넘겨주시면 됩니다...
^^ 항상 즐코하세요...