I'm having a problem with some source code. The program opens a source file (.prg) and executes it from another already compiled file, using the functions hb_compileFromBuf(), hb_hrbLoad() and hb_hrbUnload() (the problem is with the last one. When it is executed, it always returns the error:
Error BASE/6105 Argument error: HB_HRBUNLOAD
Called from HB_HRBUNLOAD(0)
Called from HB_FILERUN(47)
Called from MAIN(12)
CodeBlock.zip
I'm having a problem with some source code. The program opens a source file (.prg) and executes it from another already compiled file, using the functions hb_compileFromBuf(), hb_hrbLoad() and hb_hrbUnload() (the problem is with the last one. When it is executed, it always returns the error:
Error BASE/6105 Argument error: HB_HRBUNLOAD
Called from HB_HRBUNLOAD(0)
Called from HB_FILERUN(47)
Called from MAIN(12)
CodeBlock.zip