flat assembler
Message board for the users of flat assembler.

Index > Windows > New expanded windows 64/32 Bit include files and api's

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 31 Jan 2012, 14:14
For the past 6 years or so I've been working on greatly expanding the fasmw
include equate files and api's for windows programming, and this is the result.
Below you will find short descriptions of each folders contents. The fasmw64
folder should be put in your root directory c:\ for everything to work correctly.
I've checked all the structures in the 32/64 bit folders for size,alignment
and accuracy using Visual Studio Express 2008/2010. If you have any questions,
let me know. There is a link to my fasmw64 development environment folder below.

[FASMW64\FASMW32.EXE] - 32bit asm development
[FASMW64\FASMW64.EXE] - 64bit asm development

[FASMW64\DLL] - 32bit DLL's required by most programs
[FASMW64\DLL64] - 64bit DLL's requred by some programs
[FASMW64\fasmw16935] - Original FasmW package un-modified
[FASMW64\Resources] - audio/image/etc.. required by some programs
[FASMW64\SOURCE] - Changes to the source code made by me (currently only fasmw.asm)
[FASMW64\V7 Examples 32bit] - 32bit example code, includes: DX7, DX8, DX9, DX10, Windows (use FASMW32.EXE to compile)
[FASMW64\V7 Examples 64bit] - 64bit example code, includes: DX9, DX10, Windows (use FASMW64.EXE to comile)
[FASMW64\V7INCLUDE32 32bit] - Vista/Win7 include files and api's
[FASMW64\V7SHELLS32 32bit] - Window Shells
[FASMW64\V7INCLUDE64 64bit] - Vista/Win7 include files and api's
[FASMW64\V7SHELLS64 64bit] - Window Shells

[Update: 4-11-2012]
Update to the include's and example's files.
To download, click on link and then Click on the download button (this one should work without registration):
http://www.mediafire.com/?6m3ws8anl9p0lk9

[Update: 11-8-2012]
Update to the include's and example's files.
To download, click on link and then Click on the download button (this one should work without registration):
http://www.mediafire.com/?vz640agl5vryl50

_________________
Gimme a sledge hammer! I'LL FIX IT!


Last edited by madmatt on 08 Nov 2012, 17:09; edited 7 times in total
Post 31 Jan 2012, 14:14
View user's profile Send private message Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc 01 Feb 2012, 00:57
madmatt
Thank you very much. That's a great job! I'm also glad to see you're not removing underscores from structure names (like IMAGEEXPORTDIRECTORY) anymore.

My question is, why didn't you include toolhelp API structures like PROCESSENTRY32 (TLHELP32.INC)?
Post 01 Feb 2012, 00:57
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 01 Feb 2012, 02:42
l_inc wrote:
madmatt
Thank you very much. That's a great job! I'm also glad to see you're not removing underscores from structure names (like IMAGEEXPORTDIRECTORY) anymore.

My question is, why didn't you include toolhelp API structures like PROCESSENTRY32 (TLHELP32.INC)?


Your Welcome. Hopefully, this will help the fasm community develop more advanced projects for Windows. I relized that capitalizing everything and removing the underscores on my previous includes was a bad Idea so I re-did them using the standard Windows naming convention. The toolhelp api was not included because I never had an example that needed it. the tlhelp32.h file is a small one so if you don't want to wait for me to add them you can add them yourself.

_________________
Gimme a sledge hammer! I'LL FIX IT!
Post 01 Feb 2012, 02:42
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20513
Location: In your JS exploiting you and your system
revolution 01 Feb 2012, 03:14
madmatt wrote:
The fasmw64 folder should be put in your root directory c:\ for everything to work correctly.
This is rather worrying. Can this be fixed to use any drive:\folder\subfolder combination by making use of an %include% variable?
Post 01 Feb 2012, 03:14
View user's profile Send private message Visit poster's website Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 01 Feb 2012, 14:28
revolution wrote:
madmatt wrote:
The fasmw64 folder should be put in your root directory c:\ for everything to work correctly.
This is rather worrying. Can this be fixed to use any drive:\folder\subfolder combination by making use of an %include% variable?


I don't know, never had any problems using the fasminc variable. Why would this worry you?

_________________
Gimme a sledge hammer! I'LL FIX IT!
Post 01 Feb 2012, 14:28
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20513
Location: In your JS exploiting you and your system
revolution 01 Feb 2012, 14:42
madmatt wrote:
I don't know, never had any problems using the fasminc variable. Why would this worry you?
Not everyone is an admin on the PC. Creating folders in the root of a drive might not be possible for some users. Besides, using a fixed c:\ drive may not be desirable in all cases.

BTW: fasminc is deprecated.
Post 01 Feb 2012, 14:42
View user's profile Send private message Visit poster's website Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc 01 Feb 2012, 16:06
madmatt
To supplement the revolution's argumentation the paths specified in the include variable are used implicitly, so that you don't need to write include '%fasminc%\win32a.inc' . It's enough to write include 'win32a.inc' instead, provided the corresponding directory belongs to the set of paths from the include variable.
Post 01 Feb 2012, 16:06
View user's profile Send private message Reply with quote
marcinzabrze12



Joined: 07 Aug 2011
Posts: 61
marcinzabrze12 01 Feb 2012, 20:47
excelent work. Thanks
Post 01 Feb 2012, 20:47
View user's profile Send private message Send e-mail Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 01 Feb 2012, 23:30
revolution wrote:
madmatt wrote:
I don't know, never had any problems using the fasminc variable. Why would this worry you?
Not everyone is an admin on the PC. Creating folders in the root of a drive might not be possible for some users. Besides, using a fixed c:\ drive may not be desirable in all cases.

BTW: fasminc is deprecated.


l_inc wrote:
madmatt
To supplement the revolution's argumentation the paths specified in the include variable are used implicitly, so that you don't need to write include '%fasminc%\win32a.inc' . It's enough to write include 'win32a.inc' instead, provided the corresponding directory belongs to the set of paths from the include variable.


Ok, didn't know that was possible, haven't read the documentation In a while. That seems a better way than the way I was doing it. I've already got some examples working using the newer method. I'll keep the old examples posted, and I'll post the new updates with an underscore in front of the file name: _FASMW64.zip when they are finished, which shouldn't take too long. A few other things, fixed/updated some v7shells32 examples, and added tlhelp32 api defines to the 32/64 bit includes.

_________________
Gimme a sledge hammer! I'LL FIX IT!
Post 01 Feb 2012, 23:30
View user's profile Send private message Reply with quote
fatygant



Joined: 12 Sep 2011
Posts: 30
Location: Poznan, Poland
fatygant 02 Feb 2012, 09:58
Oh man! Your timing is perfect! Just a couple of days after I asked for Direct2D headers. Many thanks!
Post 02 Feb 2012, 09:58
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 04 Feb 2012, 17:40
As promised, just uploaded a version that should work in any folder. Let me know how it works for you. A Link is below.
_FASMW64.rar
Post 04 Feb 2012, 17:40
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 13169
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 0010456
sleepsleep 05 Feb 2012, 20:05
very good resources! madmatt, thanks,
Post 05 Feb 2012, 20:05
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 13 Feb 2012, 18:06
Just a post to Kick this back to the top.
Post 13 Feb 2012, 18:06
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 28 Mar 2012, 15:40
[Update]
- fixed examples in the 'V7 Examples 64bit\Misc' folder: DirectWrite and Winsock, better music for some FMOD examples
- fixed 'ID2D1HwndRenderTarget interface' in D2D1.INC
- fixed struct definition in d3d11.inc
- other minor example and include fixes
- updated the fasmw32.exe/fasmw64.exe to 1.69.50

How to download the file, Just Click on the download button

Update New Link:
http://www.mediafire.com/?6m3ws8anl9p0lk9


Last edited by madmatt on 28 Mar 2012, 19:07; edited 3 times in total
Post 28 Mar 2012, 15:40
View user's profile Send private message Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc 28 Mar 2012, 15:51
madmatt
Quote:
You will be taken to another page that has a countdown timer

Well. I'm taken to another page without a countdown. It has however a box with the following statement instead:
Quote:
You should Sign Up or Login to download this file


I prefer to avoid single-access-signups, but thank you for sharing anyway.
Post 28 Mar 2012, 15:51
View user's profile Send private message Reply with quote
bzdashek



Joined: 15 Feb 2012
Posts: 147
Location: Tolstokvashino, Russia
bzdashek 28 Mar 2012, 17:57
Thanks a lot, you've done a lot of work!

You could host the file on a dropbox, btw.
Post 28 Mar 2012, 17:57
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 28 Mar 2012, 18:58
Well, I tried every way I could think of to make the file public, but couldn't.
So found a new place to upload the file, try the link above again.
Post 28 Mar 2012, 18:58
View user's profile Send private message Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc 28 Mar 2012, 20:28
madmatt
This one works without registration. However at least for me the download speed is limited to 10 kB/s per connection. The good news is that multiple simultaneous connections are allowed.
Post 28 Mar 2012, 20:28
View user's profile Send private message Reply with quote
bzdashek



Joined: 15 Feb 2012
Posts: 147
Location: Tolstokvashino, Russia
bzdashek 10 Apr 2012, 19:48
madmatt wrote:
Well, I tried every way I could think of to make the file public, but couldn't.
So found a new place to upload the file, try the link above again.

Thanks! Speed is ok, btw.
Post 10 Apr 2012, 19:48
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 08 Nov 2012, 17:09
[Update: 11-8-2012]
This is an update to my expanded include and api files.
The OS's supported are: WindowsXP [32bit only], Vista/7 [64/32 Bit]. and the beginning's of a windows 8 include directory.
I've added and fixed the WindowsXP include's to be standard now, {no removal of underscores, and no all Caps changes]
You can download the new update here [and in the first post above]:
http://www.mediafire.com/?vz640agl5vryl50
Post 08 Nov 2012, 17:09
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.