I've been trying to get GnuGetText to compile again while I think I got a little bit farther, I've run into another snag.
GnuGetText attempts to call ResourceStringTableCount, but the compiler say it cannot find the method. The method is in ObjPas unit but IFDEF'd like this: {$ifndef RESSTRSECTIONS} Function ResourceStringTableCount : Longint; Function ResourceStringCount(TableIndex : longint) : longint; Function GetResourceStringName(TableIndex,StringIndex : Longint) : Ansistring; Function GetResourceStringHash(TableIndex,StringIndex : Longint) : Longint; Function GetResourceStringDefaultValue(TableIndex,StringIndex : Longint) : AnsiString; Function GetResourceStringCurrentValue(TableIndex,StringIndex : Longint) : AnsiString; Function SetResourceStringValue(TableIndex,StringIndex : longint; Value : Ansistring) : Boolean; {$endif RESSTRSECTIONS} I'm sorry that I don't know more about the internals, but where would this directive get set? I tried explicitly setting it myself like below but it doesn't seem to get set: {$DEFINE RESSTRSECTIONS} in the gnuGetText unit, but of course that doesn't work. Then I thought, maybe it doesn't get set unless there is a resourcestring section so I tried adding one as well, but that didn't work either. I had to move some of the IFDEF's around to get it to compile this far so I suspect there is problems maybe with the $IFDEF logic in this unit... Judging from this particular $IDEF: {$IFDEF VER1_0} Sorry this code itsn't compatible with your FreePascal version. You must use 1.9.x version minimum. {$ENDIF} It doesn't look like the unit has been kept up to date. -- Warm Regards, Lee _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus