I instrument HostPackedFiles to help me out here. A second copy is named HostPackedFiles_jig and I link it during the development phase.
HostPackedFiles_jib
PROCEDURE (d: Directory) Old (loc: Files.Locator; name: Files.Name; shared: BOOLEAN): Files.File;
VAR f, f_jig: Files.File;
BEGIN
f := orgdir.Old(loc, name, shared);
(* alm Jul 19, 2011 *)
f_jig := packedDir.Old(loc, name, shared);
IF (f # NIL) & (f_jig = NIL) THEN (*add to packing list*) END
IF f = NIL THEN f := packedDir.Old(loc, name, shared) END;
RETURN f
END Old;
On Tue, Jul 19, 2011 at 2:39 AM, Douglas G. Danforth <danforth{([at]})nowhere.xy
Folks,
Another hair puller outer!
I have generated a .exe file that works in the BlackBox directory
but does not work when moved to some other directory.
Yes, it is using a third party dll that is resident in c:\WINDOWS\system32
and is not resident anywhere else (i.e. it is not in the BB directory).
So why should the .exe file work when placed in the BB directory
but not in some other directory?
The fact that it works at all says it does find the .exe file (when in the BB
directory).
Now I really do not know whether it is the third party dll that is causing the
problem since the only error message I get is
CodeFileNotFound
which could be referring to any code file. But then again the fact that the
.exe file works when placed in the BB directory says that all of the necessary
Component Pascal code files have been included in the linkage and packing
steps (doesn't it?).
So, I really don't know how to proceed from this point.
Suggestions welcome.
-Doug Danforth
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
--
Aubrey McIntosh, Ph.D.
1502 Devon Circle
Austin TX 78723-1814
http://home.grandecom.net/~amcintosh/aubrey/Search/
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Tue Jul 19 2011 - 12:27:08 UTC