Hi,
In my code, when load the window i open my dll in this way
Code: Select all
If OpenLibrary(1, "wavemp3.dll")
*F = IsFunction(1, "WM_SetCBWindow")
If *F
CALLBACK_MSG.l = CallFunctionFast(*F,WindowID(),0,0)
EndIf
EndIf
Code: Select all
Procedure Enc()
*Fenc = IsFunction(1, "WM_WavToMp3")
If *Fenc
Resultado.l = CallFunctionFast(*Fenc,Infile,OutFile,128,44100)
SetGadgetState(5, 0)
EndIf
ProcedureReturn 1
EndProcedure
Code: Select all
Case 7 ; Button Clicked
*Fenc = IsFunction(1, "WM_WavToMp3")
If *Fenc
Resultado.l = CallFunctionFast(*Fenc,Infile,OutFile,128,44100)
SetGadgetState(5, 0)
EndIf
Does anybody knows what are going wrong here?
I want to run every function as a Thread but it crashes too.
Best Regards
Best Regards
Ricardo
Dont cry for me Argentina...