Lib2PBImport 2013 - new Version
Lib2PBImport 2013 - new Version
After a long time, i have created a new version of Lib2PBImport.
Required OS: Windows XP and higher.
This tool reads static libs and Importlibs for DLLs and displays the included functions.
You can and should make various settings in the tool:
- Number of parameters (partially recognized in StdCall libs with decoration)
- Change AliasName
- Select which functions should imported
- Calling Convention of functions (StdCall, CDECL or FASTCALL)
Then you can save an ImportTemplate as an include file, copy to the Clipboard, or
the tool was started directly from the IDE you can directly insert.
Screenshot:
Download
Greetings - Thomas
Required OS: Windows XP and higher.
This tool reads static libs and Importlibs for DLLs and displays the included functions.
You can and should make various settings in the tool:
- Number of parameters (partially recognized in StdCall libs with decoration)
- Change AliasName
- Select which functions should imported
- Calling Convention of functions (StdCall, CDECL or FASTCALL)
Then you can save an ImportTemplate as an include file, copy to the Clipboard, or
the tool was started directly from the IDE you can directly insert.
Screenshot:
Download
Greetings - Thomas
Last edited by ts-soft on Thu May 11, 2017 9:36 pm, edited 2 times in total.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Re: Lib2PBImport 2013 - new Version
Glad to see it being maintained, but...
win2003 - when I ran it and opened a lib:
in contrast, the old one:
win2003 - when I ran it and opened a lib:
in contrast, the old one:
Re: Lib2PBImport 2013 - new Version
Thanks for bugreport!
I have updated the version, to refresh on systems without enabled XP-Style, please test it.
To see all buttons, you have to configure as IDE-Tool, like this:
Attention: "Insert Import" will only work, if you not changed the Tab in the IDE!
You can open your libs from Explorer- or Projectpanel with doubleclick.
Drop a lib on the GUI is also supported.
Added New-Button "Save Import"
Have Fun
Thomas
I have updated the version, to refresh on systems without enabled XP-Style, please test it.
To see all buttons, you have to configure as IDE-Tool, like this:
Attention: "Insert Import" will only work, if you not changed the Tab in the IDE!
You can open your libs from Explorer- or Projectpanel with doubleclick.
Drop a lib on the GUI is also supported.
Added New-Button "Save Import"
Have Fun
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Re: Lib2PBImport 2013 - new Version
YUP! Working now.ts-soft wrote:...without enabled XP-Style, please test it...
Thanks
-j
Re: Lib2PBImport 2013 - new Version
Update:
- More menuentries and shortcuts added
- Comments colored in red
- Imports can be created for DLLs, therefore is the polib.exe in the directory of the tool required (supplied).
DLLs can be opened via the menu or drop.
The create of imports may be still some bugs, please test it.
Greetings - Thomas
- More menuentries and shortcuts added
- Comments colored in red
- Imports can be created for DLLs, therefore is the polib.exe in the directory of the tool required (supplied).
DLLs can be opened via the menu or drop.
The create of imports may be still some bugs, please test it.
Greetings - Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Re: Lib2PBImport 2013 - new Version
Update:
Fixed a problem with generated Importsource.
Fixed a problem with generated Importsource.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
-
- Enthusiast
- Posts: 790
- Joined: Sat Aug 09, 2003 3:13 am
- Location: 90-61-92 // EU or ASIA
- Contact:
Re: Lib2PBImport 2013 - new Version
How you fix that? My app has same problem (menuitem, or toolbar do not show image)ts-soft wrote:Thanks for bugreport!
I have updated the version, to refresh on systems without enabled XP-Style,
Thomas
Re: Lib2PBImport 2013 - new Version
This is very individuellsec wrote: How you fix that? My app has same problem (menuitem, or toolbar do not show image)
For Menu you can add: DrawMenuBar_(hWnd)
(make sure, you have used: CreateImageMenu)
For Gadgets: InvalidateRect_(hWnd, 0, #True)
You should make a search in the forum, you will found many tipps to solve such problems.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Re: Lib2PBImport 2013 - new Version
Update:
- Creation of importlibs supports 64-Bit DLLs (autodetect)
- The Alias (As "...") is now optional for created Importsource
- Creation of importlibs supports 64-Bit DLLs (autodetect)
- The Alias (As "...") is now optional for created Importsource
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Re: Lib2PBImport 2013 - new Version
Update:
+ added Flag /NOUND to Polib
+ Drop a Lib or DLL on a not empty grid opens a new instance.
+ Preview with ScintillaGadget
Screenshot:
If there comes no bugreports or wishes, i think this one is the final.
+ added Flag /NOUND to Polib
+ updated Polib to Version 7.00Polib-Help wrote:The /NOUND option prevents the library manager from adding an underscore ('_') to the beginning of symbols exported from an executable.
Only affect symbols that looks like functions, and lacks other form of decoration.
+ Drop a Lib or DLL on a not empty grid opens a new instance.
+ Preview with ScintillaGadget
Screenshot:
If there comes no bugreports or wishes, i think this one is the final.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Re: Lib2PBImport 2013 - new Version
small bugfix:
Insert Import use the codepage (ASCII or UTF-8) from the actuell scintilla.
Insert Import use the codepage (ASCII or UTF-8) from the actuell scintilla.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Lib2PBImport 2013 - new Version
Really usefull tool, thank you so much for taking the time to publish it.
Enhancement request: Save Import - remember path last saved to.
Enhancement request: Save Import - remember path last saved to.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Lib2PBImport 2013 - new Version
Thx,
DoneIdeasVacuum wrote:Enhancement request: Save Import - remember path last saved to.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Re: Lib2PBImport 2013 - new Version
It's nice thanks and yes I have a wish
Would be nice to be able to run it from the command line, something like:
Lib2PBImport libname.lb [/alias] > libname_import.pbi
to automate includes creation when updating a dll, especially if you have multiple versions of it ... or many dll.
Would be nice to be able to run it from the command line, something like:
Lib2PBImport libname.lb [/alias] > libname_import.pbi
to automate includes creation when updating a dll, especially if you have multiple versions of it ... or many dll.
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
Re: Lib2PBImport 2013 - new Version
In the moment following commandline parameter used:
1. Filename with path of lib or dll
2. LastPath (Path from last opened Lib)
3. SavePath (Path from last saved Import)
I think save without change the settings (all functions are selected, all parameters set to 0)
is not usefull?
1. Filename with path of lib or dll
2. LastPath (Path from last opened Lib)
3. SavePath (Path from last saved Import)
I think save without change the settings (all functions are selected, all parameters set to 0)
is not usefull?
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.