diff --git a/packages/winunits-base/src/typelib.pas b/packages/winunits-base/src/typelib.pas index 340a177e6b..db31130a2a 100644 --- a/packages/winunits-base/src/typelib.pas +++ b/packages/winunits-base/src/typelib.pas @@ -475,6 +475,14 @@ var end; end; + function GetName(i:integer):string; //bug in Office10\MSacc.OLB _WizHook.Key + begin + if i0) then sl:=sl+'+'#13#10; end; - sl:=format('LazarusResources.Add(''T%s'',''BMP'',['#13#10,[BstrName]) + sl:=format('LazarusResources.Add(''TAxc%s'',''BMP'',['#13#10,[BstrName]) + sl + #13#10']);'#13#10; FAXImages.Add(sl); end;