Please tell me: I wrote a program on Pascal using the GRAPH module, compiled both in TP7.0 and FP2.2.0, everything compiles, everything is fine :) and everything works fine for me, but when I throw the .exe to a friend, it does not work for him graphics mode how to fix? Probably need some more file) And for all friends) t. not just one) graphics initialization code:
procedure InitG; var GraphDriver, GraphMode: Integer; begin GraphDriver := detect; GraphMode := detect; InitGraph(GraphDriver, GraphMode, ''); SetBkColor(white); SetViewPort(0, 0, GetMaxX, GetMaxY, ClipOn); cx := GetMaxX shr 1; cy := GetMaxY shr 1; ClearViewPort; end;