델파이 초보입니다. 아래와 같은 c++ 헤더를 델파이로 변환하려고 하는데 실제 수행이 잘 안되네요...
조언 부탁드립니다.
=========== c++ ====================
typedef struct
{
int nNumber;
char szName[30];
}T_IN_LIST;
int FunctionAAA( T_IN_LIST* ptList, int& nCount );
========== 델파이 ====================
T_IN_LIST = record
nNumber : Integer;
szName : array[0..29] of CHAR;
end;
function FunctionAAA( var ptList : array of T_IN_LIST; var nCount : Integer ) : Integer;
--- 호출 ---
FList : array[0..99] of T_IN_LIST;
ZeroMemory( @FList , sizeof( FList ) );
nResult := FunctionAAA( FList , nStationCount ); // FList 배열과 nStation에 값을 가져옴
|