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:
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: