RE: Exotica 1.7 Screen Saver

new topic     » goto parent     » topic index » view thread      » older message » newer message

Unfortunately, Todd coded a bug into the dll where the dll cannot be 
accessed from anywhere except the working directory. You can't specify 
an absolute path, unless that path points to the current directory, 
which is pointless.

I put a message box in exotica_api.ew where the dll crashes, to report 
the curent directory. According to this. Windows is executing *.scr 
files from the root directory of c: on my computer.

This was one of the things I had asked Todd to fix in his last release, 
but it got overlooked.

Sorry Dan, no screensavers :(


Chris

Thomas Parslow (PatRat) wrote:
> > I've made a graphics program using ExoticaX and want to make it a
> > screen saver. I've renamed it as *.scr and it works on test, but...   
> > when windows tries running the program, Exotica returns the following 
> > error. "The DLL's filename must not be changed!, Please rename it back
> > to Exotica_7.dll to be able to use it. Thankyou" I haven't changed its
> > name and it is in the same directory as the program. I've even tried  
> > this by using a shell to run it and name that program as a scr file,  
> > but the same thing happens. (Both are made exes with bindw)           
> > I assume windows my be just being itself, and does something wierd to 
> > its screen saver files.                                               
> > exesbindw                                                             
>                                                                       
> > weird                                                                 
> > Does anyone know how to fixs this!  :)                                
>                                                                       
> > fix                                                                   
> > Dan McGrath                                                           
> 
> Could be that windows sets the working directory differently for
> screensavers. Try opening the dll using it's full path (eg:
> c:\programs\screensaver\Exotica_7.dll). If that works then you can use
> command_line() to get the screensaver's location and use that to load
> the dll...
> 
> Thomas Parslow (PatRat)
> E-Mail/Jabber: tom at almostobsolete.net
> ICQ: 26359483
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu