thanks
DLL2PBLib SourceCode Generator Version 1.5.5
@SFSxOI
thanks
thanks
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.

The development is stopped. For a short time, you can download it here:
www.realsource.de/tmp/DLL2PBLib.zip
Source for PB 3.94 is included
www.realsource.de/tmp/DLL2PBLib.zip
Source for PB 3.94 is included
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.

I don't speak englishQuimV wrote:ts-soft,
May I have DLL2PBLib.exe in english?
Unfortunatelly I don't speak german.
Thanks in advanced
Please learn it or use this version:
http://realsource.de/tmp/dll2pblib_ml.zip
(supports france
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.

I made a version of Thomas' code for my own needs. Beside code is ported to PB 4.x, this one generates include files out of dll inputs using the prototype way for accessing dll functions instead of generating Tailbite supporting outputs.
http://www.file-upload.net/download-103 ... 6.zip.html
Source included.
http://www.file-upload.net/download-103 ... 6.zip.html
Source included.
Last edited by inc. on Sun Aug 10, 2008 1:52 pm, edited 5 times in total.
Check out OOP support for PB here!
To proposal:
Change API-Libraryfunctions in PB native, then it also works with unicode
Save the prefs in Appdata, so it works for none administrators (I use Vista
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.

The changes are from inc, so thank himbyo wrote:Thanks a lot for this tool, ts-soft.
It works perfectly.
I didn't know you could include a DLL with your source like that.
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.

Its a pity that Prototypes don't support string type returns directly, so it has to be done in case of strings via a peekS-Macro.
Whats the number of the special Folder AppData in the system? As the code already contains the procedure GetSpecialFolder so it should be no problem making it Vista compatible.
Btw., I did make the backround looking light blue so this will avoid confusions with DLL2PBLib.
Whats the number of the special Folder AppData in the system? As the code already contains the procedure GetSpecialFolder so it should be no problem making it Vista compatible.
Btw., I did make the backround looking light blue so this will avoid confusions with DLL2PBLib.
Check out OOP support for PB here!
The problem is: GetProcAddress_ API
There is no unicode-version available in windows, so it won't work with
unicode. Use PB Getfunction or change all functionnames to ASCII-String
> Whats the number of the special Folder AppData in the system?
greetings
Thomas
There is no unicode-version available in windows, so it won't work with
unicode. Use PB Getfunction or change all functionnames to ASCII-String
> Whats the number of the special Folder AppData in the system?
Code: Select all
#CSIDL_APPDATAThomas
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.

inc. wrote:Suggestions have been applied ....
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.


