OK I know this probably sounds like a really dumb question..
I am trying to use a DLL library that I purchased to write Palm
DB files. Unfortunatley all of the example code is in Delphi
and I'm not sure how to translate the DECLARES to something PB
will use. I do very little Windows programming so any help would
be greatly appreciated (this is for PB DLL 6).
Here is what is in the example code for Delphi:
//------DELPHI 3.0 pdb.dll functions import---------------------------------------------------
function PDBopen(aFileName, aCreatorID, aDatabaseTYPE, aPDBName : Pchar) : Integer ;stdcall; external 'PdbBuilder.dll';
function PDBaddNumField(aFieldName : pchar; aFieldValue : Integer) : Integer;stdcall; external 'PdbBuilder.dll';
function PDBaddStrField(aFieldName,aFieldValue : pchar) : Integer;stdcall; external 'PdbBuilder.dll';
function PDBaddRecord : Integer;stdcall; external 'PdbBuilder.dll';
function PDBbuild : Integer;stdcall; external 'PdbBuilder.dll';
function PDBclose : Integer;stdcall; external 'PdbBuilder.dll';
function PDBcDevelopper : Integer;stdcall; external 'PdbBuilder.dll';
//-------------------------------------------------------------------------
------------------
I am trying to use a DLL library that I purchased to write Palm
DB files. Unfortunatley all of the example code is in Delphi
and I'm not sure how to translate the DECLARES to something PB
will use. I do very little Windows programming so any help would
be greatly appreciated (this is for PB DLL 6).
Here is what is in the example code for Delphi:
//------DELPHI 3.0 pdb.dll functions import---------------------------------------------------
function PDBopen(aFileName, aCreatorID, aDatabaseTYPE, aPDBName : Pchar) : Integer ;stdcall; external 'PdbBuilder.dll';
function PDBaddNumField(aFieldName : pchar; aFieldValue : Integer) : Integer;stdcall; external 'PdbBuilder.dll';
function PDBaddStrField(aFieldName,aFieldValue : pchar) : Integer;stdcall; external 'PdbBuilder.dll';
function PDBaddRecord : Integer;stdcall; external 'PdbBuilder.dll';
function PDBbuild : Integer;stdcall; external 'PdbBuilder.dll';
function PDBclose : Integer;stdcall; external 'PdbBuilder.dll';
function PDBcDevelopper : Integer;stdcall; external 'PdbBuilder.dll';
//-------------------------------------------------------------------------
------------------
Comment