* Fix windows compilation

This commit is contained in:
Michaël Van Canneyt 2023-03-08 10:09:58 +01:00
parent 8dcabc5796
commit c3c3bd3471

View File

@ -1413,7 +1413,7 @@ function CreateComponentfromRes(const res : string;Inst : THandle;var Component
if Inst=0 then
Inst:=HInstance;
ResId:=FindResource(Inst, Res, RT_RCDATA);
ResId:=System.FindResource(Inst, Res, RT_RCDATA);
result:=ResID<>0;
try
if Result then