Here the Purebasic code:
Here is the code, Im trying to call from blitz+:; PURE BASIC CODE
ProcedureCDLL.l BASS_OpenFile(filename$)
.....
ProcedureReturn result.l
EndProcedure
Code: Select all
HANDLER=JUKEBOX_OpenFile(FILE$)
It crash with this message:
BLITZCC caused an invalid page fault in
module KERNEL32.DLL at 0167:bff9da1a.
Registers:
EAX=005a000c CS=0167 EIP=bff9da1a EFLGS=00000206
EBX=00d3f7a0 SS=016f ESP=0059fef0 EBP=005a0010
ECX=0059ffbc DS=016f ESI=005a0118 FS=3787
EDX=005a0030 ES=016f EDI=005a0030 GS=0000
Bytes at CS:EIP:
50 51 ff 75 08 8d 85 e0 fe ff ff 50 ff 75 0c e8
Stack dump:
NB. I have no problems with vareiables alone, only strings problems (can it acour in the newest officel version and 4.0Beta 2.
Nb. I do not know the bug is in Blitz or Purebasic?