The 'Pawn Language' Forum

An embedded scripting language


Back To Forum Index
Boris Estudiez
Posted On 2011-08-17 15:01 -- Subject: Libpawnc.dll return code


I'm compiling scripts with libpawnc.dll from my application.

How I can read if compilation was success ?.
Where I can read the return code ?.

This is my prototype for libpawnc.dll:

static extern void Compile(int hWnd, int hInst, string CommandLineOptions, int CmdShow);

Boris Estudiez.-

Slicetex Electronics

Posted On 2011-08-18 06:22 -- Subject: RE: Libpawnc.dll return code

I think you want this function

int pc_compile(int argc, char *argv[]);

Boris Estudiez
Posted On 2011-08-18 11:00 -- Subject: RE: Libpawnc.dll return code

Thanks Serjio, it works fine.

Do you know how to get the estimated number of stack/heap and code
space required for the script after compilation (using this function) ?.

In the report file (-r option), that information is not stored.


You Are On Page: 1/1 <<   <   1   >   >>

- BiTBOARD version 2.5 by the BiTSHiFTERS SDC -