realbasic-plugins
[Top] [All Lists]

Re: plugin assertion failure on windows

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: plugin assertion failure on windows
From: Björn Eiríksson <bjorn at einhugur dot com>
Date: Wed, 20 Apr 2005 23:19:40 +0000
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <BE8C2C77 dot 12D2C%william at realsoftware dot com>

On 20.4.2005, at 20:57, William Yu wrote:


Norman pointed out some causes, other possibilities include: not having
permission to write to the app data directory (this is why I suggested
running as admin to rule out that possibility). The other possibility is
that your DLL is not really a DLL, maybe it's really an EXE.  I'm only
speculating of course... You can also write a small RB app that declares
against your DLL for "PluginEntry" and see if you can call it.

There is actually no such thing as not having permission to Write to the App Data directory. I spent quite a lot of time for a company in solving issues and figuring out how that directory works on each system.

Here is how it works:
    * Global App Data Directory:
You always (even the most limited restricted user) have access to write a new file to the App Data directory. You however do not have rights to write to or overwrite existing file that was placed there by a different user if you are a restricted user. In same way then a restricted user cannot delete a file from there
      that he did not place there.

* The App Data Directory that is per user (Different App data for every user) Here you can always write, both new files and existing files (Even Restricted users have this right). (If REALbasic has to use this awful system to copy the DLL's,
      then here is the safest place to
place them), since the other App data directory can easily fail in number of cases, where the existing DLL's have not been cleaned properly before another users
      launches the App.

--
______________________________________________________________________
Björn Eiríksson                            bjorn at einhugur dot com
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 45 countries world wide.
______________________________________________________________________
For support:                               support at einhugur dot com
To post on the maillist:                   einhugur at yahoogroups dot com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>