C to D, HtoD fails

BLS nanali at wanadoo.fr
Fri Sep 8 18:40:37 PDT 2006


Hi folks,
due to my very limited C(pp) knowledge I would like to know how to 
translate :
typedef DWORD PCTXHF;
typedef PCTXHF far * PPCTXHF;

into D.
Unfortunately HtoD seems to have some problems with : far *

Björn

*-----------------------------------------------------------------------------------------------------------*/
/* Interface avec la dll HyperFile  */
/*-----------------------------------------------------------------------------------------------------------*/
#ifndef __WDHF_H
#define __WDHF_H

#if !defined(_INC_WINDOWS) && !defined(__WINDOWS_H)
#include <windows.h>
#endif
//
typedef DWORD PCTXHF;  /*numйro d'instance*/
typedef PCTXHF far * PPCTXHF;
//THIS !!!!
-------------


#define HFCTX_NULL (PCTXHF)NULL
     						
#ifdef __cplusplus
extern "C" {
#endif



More information about the Digitalmars-d-learn mailing list