11-11-2016, 03:04 PM
Quote:is this correct?
No.
Macro Flac_Def
;constants
def xxx ...
;...
;types
type yyy ...
type FLAC__IOCallbacks read write seek tell eof close
;...
;functions
dll "Q:\Downloads\libFLAC_dynamic.dll"
,FLAC__StreamDecoderInitStatusString ...
,FLAC__FunctionThatCallsYourCallbacks ... FLAC__IOCallbacks*iocb ...
,...
,;Also you can declare the exported variables here.
;Don't need to declare callbacks. Just create functions with parameters etc that match the C callback declarations.
Function FLAC__IOCallback_Read
Macro Macro272