flat assembler
Message board for the users of flat assembler.

Index > Windows > Where is wininet.inc?

Author
Thread Post new topic Reply to topic
masterducky



Joined: 12 May 2010
Posts: 10
masterducky 29 May 2010, 07:19
I dont have it in my INCLUDE folder.

Thanks!
Post 29 May 2010, 07:19
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 29 May 2010, 07:25
masterducky,

Well, it isn't in FASM distribution too. Probably you've lost it somehow.
Post 29 May 2010, 07:25
View user's profile Send private message Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 618
cod3b453 29 May 2010, 08:36
Try this: http://board.flatassembler.net/topic.php?t=3229 , which will generate the include file you need for any DLL. (There are other 'dll2inc' converters too).
Post 29 May 2010, 08:36
View user's profile Send private message Reply with quote
masterducky



Joined: 12 May 2010
Posts: 10
masterducky 29 May 2010, 15:25
Awesome cod3b453!

Thanks a lot!

@baldr
If it isnt in FASM distribution, how could i lose it? Smile
Post 29 May 2010, 15:25
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 29 May 2010, 16:10
cod3b453,

Imports are small part of the deal: one can easily write library / import for needed functions. #defines, enums and structs are more precious. For WinInet.h function prototypes are only ~25% lines of entire file (and since FASM import needs only names/argcount, it's more like 5% of work Wink).

----8<----
masterducky,

That was simply a conclusion: you're looking for wininet.inc in INCLUDE folder and it's not in distribution, hence you put it there yourself; it's not there now, then you've lost it. Wink

If your only need is to import some functions, you may look here for another solution.
Post 29 May 2010, 16:10
View user's profile Send private message Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 618
cod3b453 30 May 2010, 08:04
True, it only solves the API issue; I haven't seen a c header converter for the equates and I usually look look at the c includes anyway.
Post 30 May 2010, 08:04
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 841
Location: Jakarta, Indonesia
TmX 30 May 2010, 14:39
Post 30 May 2010, 14:39
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.