Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAVE-APPLICATION creates executables which do not function properly after running some GUI code. #24

Closed
arbv opened this issue Feb 4, 2017 · 2 comments
Assignees

Comments

@arbv
Copy link
Member

arbv commented Feb 4, 2017

It is easy to reproduce.

  1. Load ohello-gui (I believe any GUI application will do).
  2. Execute (th:create-thread #'win::othello-gui).
  3. Run (save-application "othello-gui" #'win::othello-gui :static t).

Produced executable will not be able to show window. One can kill it via Task manager.

@arbv arbv self-assigned this Feb 4, 2017
arbv added a commit that referenced this issue Feb 4, 2017
@arbv
Copy link
Member Author

arbv commented Feb 4, 2017

The problem was in WINUTIL.lisp. One should check for validity of the obtained ATOM by checking if window class was really registered.

@arbv arbv closed this as completed Feb 4, 2017
@rgcorman
Copy link
Collaborator

rgcorman commented Feb 6, 2017

That is a good catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants