Welcome, Guest. Please login or register.

Author Topic: Problem attaching an Icon to a program!....  (Read 955 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Problem attaching an Icon to a program!....
« on: April 18, 2004, 11:13:14 PM »
Quote
What am I missing?

You're missing WBStartUp message.

You need to WaitPort your process' pr_MsgPort, and GetMsg the wbstartup message from it. Then you can continue with normal business...

When exiting you must Forbid() and ReplyMsg() the startup message you got. *NO* matching Permit() just rts.

You can see small example in my hwstartup.asm