flat assembler
Message board for the users of flat assembler.
Index
> Windows > Struct ? |
Author |
|
iic2 17 Sep 2008, 08:30
Hello everybody
How do I translate this to FASM code? Code: mov edx, [lParam] add edx, MOUSEHOOKSTRUCT[edx] |
|||
17 Sep 2008, 08:30 |
|
revolution 17 Sep 2008, 08:30
Your code doesn't seem to make sense but try this:
Code: mov edx, [lParam] add edx, sizeof.MOUSEHOOKSTRUCT |
|||
17 Sep 2008, 08:30 |
|
revolution 17 Sep 2008, 08:36
Hey dude, you've posted it 4 times now, take it easy.
|
|||
17 Sep 2008, 08:36 |
|
revolution 17 Sep 2008, 09:19
So show us your MOUSEHOOKSTRUCT definition code. Like I said your code doesn't make sense because it looks like this:
Code: mov edx,[lParam] add edx, [MOUSEHOOKSTRUCT.MOUSEHOOKSTRUCT + edx] Are you trying access a member field of MOUSEHOOKSTRUCT? Code: add edx, [MOUSEHOOKSTRUCT.someMember + edx] Or are you trying to get the offset of a member field in the structure? Code: add edx, MOUSEHOOKSTRUCT.someMember Or do you want to point to the next set of fields in an array? Code: add edx, sizeof.MOUSEHOOKSTRUCT |
|||
17 Sep 2008, 09:19 |
|
iic2 17 Sep 2008, 09:34
I will post sample shortly, under new thread.
|
|||
17 Sep 2008, 09:34 |
|
LocoDelAssembly 17 Sep 2008, 13:53
I fixed the multiple posts thing. iic2, why you haven't used the edit button?
|
|||
17 Sep 2008, 13:53 |
|
iic2 17 Sep 2008, 15:49
Sorry LocoDelAssembly,
I was working with a 14" dull screen under very little light last night and could not see. Worse of all *I know for a fact I now need GLASSES* . I keep clicking the wrong button but one thing for sure, I promise, those symbols were poping in for no rason at all. A bug must over there or on my machine. I don't know but I had seen this action a few times before. I love to do titles, Hot off the Press. I wanted to save this for a thread call (The Real Dll) but I never could fix it for FASM and it finally drove me nuts and had to ask for help. See ya |
|||
17 Sep 2008, 15:49 |
|
iic2 17 Sep 2008, 17:32
LocoDelAssembly, could you tell me what is the default font that this forum use and it size, so I can stop ajusting and set my editor to default same.
|
|||
17 Sep 2008, 17:32 |
|
LocoDelAssembly 17 Sep 2008, 17:58
Code: .smalltext, .mediumtext, .largetext { font-family: Verdana, Helvetica, sans-serif; color: #000020 } .largetext, TD.row1, TD.row2 { font-size : 13px; } .codetext { font-family: Courier New, Courier, monospace; font-size : 13px; } But, why do you need to adjust? [edit] In case is it is note clear, the post body is .largetext class. |
|||
17 Sep 2008, 17:58 |
|
iic2 17 Sep 2008, 18:55
Because I use WordPerfect to write nearly everything so I can correct my
bad spelling most of the time. I set difference default fonts to Arial, Swiss 721, Courier, etc depending on the bulk of what I am during for that week. I have so much going on between school and work so I transfer text to notepad that has it own font...sometime. I don't use MAXIMIZED SCREEN for neither and that throws of the appearance of the text when we post over the web (who have their own default fonts). ................................ ................................ Why? I thinks it's got MORE to do with the size of the Window that we may be using than the font, MAYBE. So, whenever you see even one bad paragraphs like this, that is what the problem be.. This is my only guest since Window95. Also, as you hear from others... things do go bad at times for some reason. We type good and it get twisted by stuff like this. There is no reason for me to type this, I knew nothing about this .... [quote="iic2"] Bad HTML anchors is also my new guest as of today. First time ever., I'm on chapter 4 of Internet World Wide Web "How to Program" by Deitel. I am glad I'm taking this class. It's all about the WEB. So never worry about ASM programming school questions from me because I will never have to take a life time semester for ASM after experiencing MASM, POASM and my last stop ... FASM Sorry for going into extensive details. It's ic2 way, beside, you got to know these things. Soon I'll document any bad bad bad and e-mail them to you for security reasons only. A field where I will be number 2 some day Thanks you and (Good night) |
|||
17 Sep 2008, 18:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.