flat assembler
Message board for the users of flat assembler.

Index > Main > When I modify example, DLL is invalid ??

Thread Post new topic Reply to topic

Joined: 07 Sep 2005
Posts: 45
Location: Australia
james 02 Oct 2005, 06:58
I modified the Win32 DLL example to try and make a project that would print hello world to the console from both Win32 and Linux using one set of source and having the PrintHelloWorld api in a library.

All works ok until I removed the exports


leaving only

export 'hellolib.dll',\

when i do this all FASM's ok but when run I get a "Bad Image" error under windows complaining the DLL is bad.

What am I doing wrong ?

Working code is uploaded in the zip, but modify the exports and its not good.

rgs, james.

Filename: example-1.zip
Filesize: 3.85 KB
Downloaded: 219 Time(s)

Post 02 Oct 2005, 06:58
View user's profile Send private message MSN Messenger 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-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.