flat assembler
Message board for the users of flat assembler.

flat assembler > Windows > Eternal fasm problem

Author
Thread Post new topic Reply to topic
Aquila



Joined: 21 Jun 2003
Posts: 16
Location: Russia, Moscow
Tell me, was subj, I mean linking .res file to exe was already solved? How do you do it? Smile
Post 21 Jun 2003, 19:26
View user's profile Send private message Visit poster's website Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1135
Location: Russian Federation
Only compile .asm to .obj (format COFF) and then use external linker like ALink...

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 21 Jun 2003, 21:48
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
interesting, then fasm have no internal linker Sad

btw, does anyone try to turn past forum posts into online text?
i think this is important, no ask question twice, some meaning, backup.
Post 22 Jun 2003, 01:38
View user's profile Send private message Reply with quote
Aquila



Joined: 21 Jun 2003
Posts: 16
Location: Russia, Moscow
comrade wrote:
Only compile .asm to .obj (format COFF) and then use external linker like ALink...


I don't like this way. Previously I used brc32.exe from TASM to bind resources, but suddenly FASM applications made in such way begin to tell "Application coudn't properly initialize itself (0x00000005)". Now I search what could be a problem or another way to add .res files. But using MS COFF is not good as well as using internal macros.
Post 22 Jun 2003, 07:53
View user's profile Send private message Visit poster's website Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
in my guess, Alink is written in C.
but, to survive fasm, all is must be written in fasm.
purity, unified systemmatic.
Post 22 Jun 2003, 08:41
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7319
Location: Kraków, Poland
After you reminded it, I'm considering adding a feature of including .res files in the PE formatter. It would be just a syntax extension to current "data resource" of "section resource", something like "data resource from 'test.res'".
Post 22 Jun 2003, 11:10
View user's profile Send private message Visit poster's website Reply with quote
BiDark



Joined: 22 Jun 2003
Posts: 110
Location: .th
Hey, Id coon Twisted Evil
Idsunid?

But when is it get released?
Post 22 Jun 2003, 12:41
View user's profile Send private message Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 334
Amigos,

You can use Fasm with:

-MS Link
-GoLink
-Alink
-Digital Mars Linker with the help of DM Coff2omf tool

Theorically,you must be able to use Fasm with tlink32;but
you need to covert the COFF obj. code to OMF.

_________________
Code it... That's all...
Post 22 Jun 2003, 14:20
View user's profile Send private message Visit poster's website Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1135
Location: Russian Federation
Aquila wrote:
comrade wrote:
Only compile .asm to .obj (format COFF) and then use external linker like ALink...


I don't like this way. Previously I used brc32.exe from TASM to bind resources, but suddenly FASM applications made in such way begin to tell "Application coudn't properly initialize itself (0x00000005)". Now I search what could be a problem or another way to add .res files. But using MS COFF is not good as well as using internal macros.


Does that mean include .res file worked previously with FASM?

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 22 Jun 2003, 18:24
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Aquila



Joined: 21 Jun 2003
Posts: 16
Location: Russia, Moscow
comrade wrote:
Aquila wrote:
comrade wrote:
Only compile .asm to .obj (format COFF) and then use external linker like ALink...

I don't like this way. Previously I used brc32.exe from TASM to bind resources, but suddenly FASM applications made in such way begin to tell "Application coudn't properly initialize itself (0x00000005)". Now I search what could be a problem or another way to add .res files. But using MS COFF is not good as well as using internal macros.

Does that mean include .res file worked previously with FASM?


Yes.
Post 22 Jun 2003, 19:17
View user's profile Send private message Visit poster's website Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1135
Location: Russian Federation
Aquila wrote:
comrade wrote:
Aquila wrote:
comrade wrote:
Only compile .asm to .obj (format COFF) and then use external linker like ALink...

I don't like this way. Previously I used brc32.exe from TASM to bind resources, but suddenly FASM applications made in such way begin to tell "Application coudn't properly initialize itself (0x00000005)". Now I search what could be a problem or another way to add .res files. But using MS COFF is not good as well as using internal macros.

Does that mean include .res file worked previously with FASM?


Yes.


What version was that and how?

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 22 Jun 2003, 19:28
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Aquila



Joined: 21 Jun 2003
Posts: 16
Location: Russia, Moscow
privalov wrote:
After you reminded it, I'm considering adding a feature of including .res files in the PE formatter. It would be just a syntax extension to current "data resource" of "section resource", something like "data resource from 'test.res'".

It will be really cool and will support one of the best FASM conceptions - no need for external linker.
Post 23 Jun 2003, 10:20
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
Hm, what you think about writing some visual resource editor (With FASM of course Smile ) generating directly FASM resource section using resource macroses?
Post 23 Jun 2003, 12:53
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 334
JohnFound,

That's a nice idea.Also,one can think about coding a tool which can
translate ready resource scripts to Fasm-style resource sections based on macros.

_________________
Code it... That's all...
Post 24 Jun 2003, 07:34
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
Hi Vortex.

Yes the convertor for .RES files is another solving of the problem. But why to make it easy, when I can make it complex? Very Happy Very Happy Very Happy

Actually I think it must be separate editor, because the next step will be to build it into FASMW together with Project manager and some other visual tools and code generating wizards.
Post 24 Jun 2003, 15:17
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 334
Hi JohnFound,

Yes,you are right about building the resource editor to FASMW.
I see you have a good understanding about FASM internals.

_________________
Code it... That's all...
Post 24 Jun 2003, 15:37
View user's profile Send private message Visit poster's website Reply with quote
Aquila



Joined: 21 Jun 2003
Posts: 16
Location: Russia, Moscow
If Privalov implement those option about including .res files it will improve situation greatly Smile.
Post 24 Jun 2003, 17:17
View user's profile Send private message Visit poster's website 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-2019, Tomasz Grysztar.

Powered by rwasa.