flat assembler
Message board for the users of flat assembler.

Index > Windows > Resources

Author
Thread Post new topic Reply to topic
Barf



Joined: 17 Sep 2004
Posts: 34
Location: Poland
Barf
How can i declare cursors and RT_RCDATA in FASM(in .rsrc section)
Post 17 Sep 2004, 11:41
View user's profile Send private message Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner
this 2 thread might be usefull to you Smile

http://board.flatassembler.net/topic.php?t=568&highlight=rtrcdata

http://board.flatassembler.net/topic.php?t=2204&highlight=rtrcdata

hi barf, welcome to the board of fasm, you could consider to search the forum first if you wish to obtain "fast" answer next time Smile

sincerely,
vbVeryBeginner d(^b^)b
Post 17 Sep 2004, 12:54
View user's profile Send private message Visit poster's website Reply with quote
Barf



Joined: 17 Sep 2004
Posts: 34
Location: Poland
Barf
hmmm.... What with cursors Idea I was finding Smile I know rules, sorry, next time, I`ll look exactlier Razz Twisted Evil
Post 17 Sep 2004, 14:16
View user's profile Send private message Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner
no need so sorry actually.
i just hope i didn't hurt you and sincerely hope you enjoy your stay here in fasm board Smile
Post 17 Sep 2004, 14:50
View user's profile Send private message Visit poster's website Reply with quote
Barf



Joined: 17 Sep 2004
Posts: 34
Location: Poland
Barf
please tell my, how to ad to resources coursor, i tried fileres, but it doesn`t work( load with "invoke LoadCursor,[hInstance],numberofres", and take from EAX). HOW? ;(
Post 17 Sep 2004, 19:06
View user's profile Send private message Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner
hi,
i check the assembled file with tdump
(Res1.exe) assembled and successfully show cursor
(using external resource compiler)
Code:
Name                   RVA       Size  
------------------  --------  --------
Exports             00000000  00000000
Imports             00003000  00000171
Resources           00004000  00000960
Exceptions          00000000  00000000
...
reserved            00000000  00000000
    

(Res2.exe) assembled but unsuccessfully show cursor
(using inline fasm resource compiler)
Code:
Name                   RVA       Size  
------------------  --------  --------
Exports             00000000  00000000
Imports             00003000  00000171
Resources           00004000  0000095C
Exceptions          00000000  00000000
...
reserved            00000000  00000000
    

i further check the file with resource hacker, the size
of cursor is 2,220 for "res1.exe" and 2,216 for "res2.exe"

i guess (guess only), the fasm inline rc load less
4 bytes from the .cur file (guess only)

load extra 18 bytes if using fileres curAFile,'curA.cur'

sincerely,
vbVeryBeginner d(?guessonly?)b
Post 18 Sep 2004, 10:30
View user's profile Send private message Visit poster's website Reply with quote
Barf



Joined: 17 Sep 2004
Posts: 34
Location: Poland
Barf
there isn`t any method like write directory RT_CURSOR, curs etc.? Shocked
Post 18 Sep 2004, 10:59
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.