flat assembler
Message board for the users of flat assembler.

Index > Main > win32ax.inc with custome lib import?

Author
Thread Post new topic Reply to topic
primer



Joined: 05 Nov 2010
Posts: 12
primer
Hi!
I'm finding the way to add a custom lib import. I have code like this:

Code:
format pe gui
include 'win32ax.inc'  ; most common stub

.data
    somedd dd 0
.code
start:
    invoke GetCommandLine
    invoke showMessage,"hello"
.end start

    library comlib,'commonlib.dll'     ; I want to add some more custom libs here. It use by particular project, so I don't want put it into my win32ax.inc
    
    import comlib,\
        showMessage,'showMessage'
    


but this won't be accepted because my addition library does not place in import section, Is there a good way to do this?
thank you.
Post 12 Nov 2010, 05:07
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
primer,

There is. It's almost universal: use search!
Post 12 Nov 2010, 06:13
View user's profile Send private message Reply with quote
primer



Joined: 05 Nov 2010
Posts: 12
primer
baldr wrote:
primer,

There is. It's almost universal: use search!

thanks, I've already searched, but I don't know approximate keyword, so the search function return so many unexpected result.
Post 12 Nov 2010, 07:25
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
primer,

win32ax.inc is one of extended headers, right? Extended headers and extra imports was second topic in the results of search for both keywords.
Post 12 Nov 2010, 15:52
View user's profile Send private message Reply with quote
primer



Joined: 05 Nov 2010
Posts: 12
primer
yep, that's is, thank you baldr
Post 12 Nov 2010, 17:10
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.

Powered by rwasa.