I am trying to create a DirectX extremely simple application with Lazarus and clootie headers for Pascal.
I tryed to convert some c++ code to pascal, but it uses the old procedural interface that doesn¬„t seam to be on clooties headers. The headers come with lot¬„s of examples, but they are all for Direct3D, and not DirectDraw.
Basically I want to transform the IDirectDraw interface into a object, and then call 2 functions from that object, SetCooperativeLevel and CreateSurface.
But I never utilized COM or DirectX before, so I have no idea where to begin... can anyone help me?