On Friday, September 6, 2002, at 08:29 AM, carlos wrote:

> My projector sometimes stops running and Windows crashes with an error 
> such
> as "Projector executed an illegal operation on DIRAPI.DLL"
>
> What is this DLL anyway? Does anyone have a clue on why is my 
> application
> causing this crash?

An API is an application programming interface and while I don't know 
enough about how Director works under the hood to say with certainty, I 
believe this DLL is there to provide Director, projectors, Shockwave 
(and you!) certain hooks into the Windows operating system as a whole, 
thus allowing it to display material onscreen, respond to user and 
system commands, etc.

As for why the crash is happening -- good question. Things to look for 
in general include:

1. Having MIAWs close and forget themselves
2. Not pausing digital video before closing the window or section of 
your program that is playing the video
3. Doing the same as (2) with audio; and
4. Explicitly unloading resources that Director might still need or try 
to reload immediately (that is, using the Lingo unload commands)

There could be other issues but these are the big ones I avoid.


              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
        http://shop.osborne.com/cgi-bin/osborne/0072195622.html

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to