TDDSprSrc STRUCT
Filename DB ?
Data IDirectDrawSurface7 <>
Width_ DD ?
Height DD ?
Rect RECT <>
TDDSprSrc ENDS

....
LOCAL _ddsd: DDSURFACEDESC2
......
LOCAL _sprt: TDDSprSrc
....

coinvoke edi, IDirectDraw7, CreateSurface, dword ptr _ddsd, dword ptr _spr, NULL

when i use coinvoke gives me this "error instruction operands must be the same size".

I know that maybe this is a tupid question but whats the problem ?
:stupid:
Posted on 2002-01-17 07:52:29 by eXterminator