Hi

I have been trying to call a DLL called Bigdll.dll that I downloaded from Acknex WDL & Dll. The DLL says that it 'plays mp3, wav, wmv, midi, ogg etc. with all the engine versions'. Would there be an expert who could tell me what I am doing wrong?

1. Do I need to register a DLL for it work and how is this achieved?

When I attempt to call the DLL using the following CScript code:

////////////////////////////////////////////////////////////////////////////////////

var video_mode = 7; // 800x600 pixels
var video_depth = 32; // 32 bit mode

var walk_percentage;
var death_percentage;
var success = 0;
var_nsave dll_handle;


////////////////////////////////////////////////////////////////////////////////////

string work21_wmb = <work21.wmb>;

////////////////////////////////////////////////////////////////////////////////////

text deletion_txt
{
pos_x = 200;
pos_y = 200;
//font = std_font;
flags = visible;
}
//dllfunction var buck_palace(x);

starter terminate_file
//{
dll_handle = dll_open ("C:\\Program Files\\GStudio6\\Tutorials\\cscript\\cscript_samples\\samples\\workshop21\\Bigdll.dll");
//while (key_t==0) {wait(1);}
//success = happy_beep ("c:\\somefile.txt");
//if(success==0)
//{
//deletion_txt.string = "The file was deleted sucessfully";
//}
//else // success = -1 here
//{
// deletion_txt.string = "Error while trying to delete the file!";
//}
//sleep (3);
//deletion_txt.visible = off;
//dll_close (dll_handle);
}

I get the following Error in the syntax checker results at the bottom of the page:

Error (29)Keyword unknown starter

The DLL has been placed in my work directory.

2. My second question is how do I correct this error?

Thanks

D