Posts: 1,407
Threads: 117
Joined: Dec 2002
I'm a total ignorant in VB but....
It exists something like VB headers for the Windows API?
In case they exist, would they be easier to por to FB than the C headers?
If yes, could someone point me to a place where I can download them?
Antoni
Posts: 6,419
Threads: 74
Joined: Mar 2002
Check this:
http://www.activevb.de/rubriken/apiviewe...ereng.html
Download this proggie. In the database you have definitions for all Windows API (functions, constants and data types) in BASIC.
Posts: 788
Threads: 53
Joined: Nov 2002
The problem with vb is that integer is 16 bits, long is 32 etc.
oship me and i will give you lots of guurrls and beeea
Posts: 658
Threads: 71
Joined: Sep 2003
but can't the integer's be replaced with word's? thei'r 16 bit right?
url]http://fbide.sourceforge.net/[/url]
Posts: 6,419
Threads: 74
Joined: Mar 2002
Simple find and replace.
1.- INTEGER for SHORT
2.- LONG for INTEGER (no need on this)
Posts: 1,407
Threads: 117
Joined: Dec 2002
A Great resource!
Thanks, Nathan!
Antoni
Posts: 3,279
Threads: 170
Joined: Nov 2003
All the headers I've made thus far, meaning the new ones as well as the additions to existing ones, have come from VB declarations. The method is so similar...you just have to make sure to remove the .dll from the Lib, and change the data types. The rest is the same. Oh, and you have to make sure you have the proper .a file from the mingw distro as well.
I'd knock on wood, but my desk is particle board.