Free2Code
 
Time: 2009-01-05, 11:32pm
offset function
Subject: offset function  ·  Posted: 2006-04-09, 10:23am
Rank: ? (37)
Member #: 26960
Hope you don't mind me post so frequently. I'm a teenager with loads of problems.
Code:
  1. window_class_register_procedure    proc    instance_handle:HINSTANCE
  2. LOCAL    window_class:WNDCLASSEX
  3.     :
  4.     :    Filling in the window_class member
  5.     :
  6. push    offset    window_class
  7. call    RegisterClassEx


Why can't I use offset with window_class?
 
  Reply to this ·  Post link ·  Top
Subject: Re: offset function  ·  Posted: 2006-08-26, 06:13am
Rank: ? (119)
Member #: 28292
You should use the directive addr instead. The offset can not be used pointing to the variable created by the derective local. You can read the second iczelion's tutorial, he explains it more detailed.

» Post edited 2006-08-26, 09:21am by igorok.

 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons