The MASM Forum

General => The Campus => Topic started by: rodolfolopes on November 10, 2014, 12:34:35 PM

Title: Use an external file (like using a class and access to the methods - procedures)
Post by: rodolfolopes on November 10, 2014, 12:34:35 PM
Hi there guys!

Im about to finish the assembly subject Yay! Finally!
But I have a problem right now, I dont know how to use an external file and use the methods in it. Like in C++ or C# I want to create a class and access the methods, I need to do this becuase I have to call arithmetic procedures like ADD, SUB, MUL or DIV or any calculations.

What type of file I need and how can INVOKE it to use the method I want (by name of course)


Thanks
Title: Re: Use an external file (like using a class and access to the methods - procedures)
Post by: TouEnMasm on November 10, 2014, 06:14:33 PM

If you want to create and use various functions ,you have further soluces.

*** An include File
*** a dll
*** a library

Title: Re: Use an external file (like using a class and access to the methods - procedures)
Post by: dedndave on November 11, 2014, 12:23:53 AM
it sounds like you want a static library

http://masm32.com/board/index.php?topic=2743 (http://masm32.com/board/index.php?topic=2743)
Title: Re: Use an external file (like using a class and access to the methods - procedures)
Post by: rodolfolopes on November 11, 2014, 03:08:11 AM
Quote from: dedndave on November 11, 2014, 12:23:53 AM
it sounds like you want a static library

http://masm32.com/board/index.php?topic=2743 (http://masm32.com/board/index.php?topic=2743)

Thanks Dave!
Thats what I wanted.
Thanks a lot !