Re: [BLACKBOX] Creating EXE applications

From: Douglas G. Danforth <"Douglas>
Date: Thu, 28 Feb 2008 14:07:59 -0800

----boundary-LibPST-iamunique-1192291532_-_-
Content-type: text/plain

Folks,
  I just copied the EXE file out of the A directory (to the
desktop) and ran it. It could not find any of the menus.
So that answers one question. The menu information is
not included within the EXE file when one uses DevLinker.Link.

So it seems that I should (must?) use DevLinker.LinkExe but
when I tried this by moving the '$' from the Kernel to after my
application module
and having the body of the module invoke my main procedure
I get a trap #020 with -TextViews.SetCtrlDir .... . I get the same trap
whether
the '$' is after the Kernel or after my application name. What is
necessary?

-Doug Danforth



Douglas G. Danforth wrote:
> Folks,
>
> I am creating an application for a client using the linker.
> Currently I am just using DevLinker.Link with all the
> modules listed in the "Fully linked redistributable part of
> BlackBox" plus my application module. The generated
> EXE file works as I would expect.
>
> Now the issue is what is the best way to develop the
> application (call it A) using the development environment
> (call it B)?
> What I have done is to copy all of B into a
> new directory A and then modify A. The modifications
> entail removing the menus that I don't want from A
> and adding those that I do. But to see the immediate
> effects of this I run everything in A which still includes
> the Dev subsystem.
>
> I don't understand how the menus appear when the
> EXE is executed since the linker seems only to have
> listed the names of the modules. Does this mean that
> all subdirectories under (for example TextCmds) are
> included in the EXE? I would think it must otherwise
> the menus could not be accessed.
>
> I have not (yet) modified the Config file to start up
> my application when the EXE is executed. I assume
> that is what one must do.
>
> I would think that some how one should always work
> within the B environment modifying A. Is this what
> is recommended? If so then one can not see the
> results of a modification to A until one relinks and
> runs the EXE. Is this what everyone does?
>
> Oh yes. Is there an automated way to obtain the
> list of just those modules used by the application
> (and in the correct order) so that the linker produces
> the smallest possible EXE?
>
> Your comments are desired.
>
> -Doug Danforth
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy
>
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1192291532_-_-
Content-type: application/rtf
Content-transfer-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CIgdG8gTElTVFNFUlZATElTVFMuT0J9fQBjcmliZS1y
ZXF1ZQ==
----boundary-LibPST-iamunique-1192291532_-_---
Received on Thu Feb 28 2008 - 23:07:59 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:00 UTC