Page 1 of 1
Library Generator
Posted: Fri Feb 05, 2010 11:25 pm
by magna
My first attempt to create a Library Generator for WINAPI functions is far from beeing complete but I like to share it nonetheless.
I still have difficulties to map some data types but I hope that somebody gives me a hand and leads me into the right direction to solve this problem.
I added a advapi32.h created from MSDN which you can use as a test case.
Here is my code so far:
Library Generator
Posted: Sat Feb 06, 2010 7:26 pm
by cvirus
Can you show some exemples?
Thaks
Library Generator
Posted: Sat Feb 06, 2010 9:53 pm
by magna
e.g.
LONG WINAPI RegDeleteKeyValue(
__in HKEY hKey,
__in_opt LPCTSTR lpSubKey,
__in_opt LPCTSTR lpValueName
);
from advapi32.dll translates to
DECLARE RegDeleteKeyValue AS "RegDeleteKeyValue" OF DLL_NAME
hKey AS INTEGER BYADDRESS
lpSubKey AS STRING BYADDRESS
lpValueName AS STRING BYADDRESS
RESULT AS LONG
END DECLARE
where DLL_NAME should be a constant which has to e declared as advapi32.dll.
Library Generator
Posted: Fri Feb 12, 2010 6:21 am
by magna
Here is the version 2 with some improvements.
* maps all WINAPI data types to FNX-Basic datatypes
* library can be saved to file
* allows copy & paste of header and library
* allows to define if FNX-Basic keywords should be in lowercase, CamelCase or UPPERCASE
* FNX-Basic keywords are bold in the RichEdit
Library Generator
Posted: Sat Sep 15, 2012 4:35 pm
by saqmo
Show me the pics of the generator than i can help to you other vise i say to sorry.....thanks