Page 6 of 7
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Fri Nov 18, 2011 6:51 pm
by Zach
You could always install something like
Sandboxie
Turn off your AV, save the file, then open it inside the sandbox where it is isolated, copy the source code out. Try suspect exe's, etc.
Good workaround for waiting on stupid AntiVirus companies to fix stuff, when you're still paranoid of something.
Re:
Posted: Sat Nov 19, 2011 9:08 pm
by luis
inc. wrote: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.
Source included.
Is this still available somewhere ? I would like to give a look at the source because maybe I need to make something similar (or to modify this).
I tried to look on ts-soft's websites (the thread hinted that maybe it could been hosted there), I found a PureDLLHelper but it's binary only, and says it's made by ts-soft. So I'm not sure what's what.
http://www.realsource.de/index.php/down ... edllhelper
Thanks!
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sat Nov 19, 2011 9:17 pm
by ts-soft
you found the downloadlink in the first post, but is not compatible to pb 4.xx
PureDLLHelper != DLL2PBLib
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sat Nov 19, 2011 9:24 pm
by luis
@ts-soft
Thanks but I was looking for the version "forked" by inc. (that one is described as already supporting pb4, prototypes, and with source). Only problem are the usual dead-links.
If possible I would like to start from there. Is that one available somewhere ? Surely someone downloaded it.
PureDLLHelper seems to do in part what I need too but not having the source I can't start from that

Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sat Nov 19, 2011 9:51 pm
by ts-soft
luis wrote:PureDLLHelper seems to do in part what I need too but not having the source I can't start from that

This source uses ExGrid by srod, so i can't make the source public
Greetings - Thomas
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sat Nov 19, 2011 10:09 pm
by luis
I have bought srod's grid.
But that's beyond the point, I'm not asking for it (I would never ask for a source if the author did not make it available in the first place), only for the version made by Inc. that was supplied with the source.
I'll wait to see if someone can help me or if a solar flare removed every copy in existence.
You for example, didn't keep it ?
ts-soft wrote:Okay, i will add it to realsource.de the next days, thanks
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sat Nov 19, 2011 10:31 pm
by netmaestro
luis, I found something called 'dll2pblib' in my libraries folder and it seems to have source included, could you see if that's what you're looking for?
http://lloydsplace.com/dll2pblib.zip
I hope it helps you.
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sat Nov 19, 2011 10:41 pm
by luis
@netmaestro
Thank you but that's the original code by ts-soft in the first post, the version by Inc. should have a name similar to "DLL2PBInclude-1.5.6.zip", judging by this:
http://www.purebasic.fr/english/viewtop ... 30#p254630
Maybe Inc. himself will drop here in time, I hope at least him kept a copy
But thanks

Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sat Nov 19, 2011 10:48 pm
by netmaestro
I can't find anything like that unfortunately. Good luck in your quest!
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sat Nov 19, 2011 11:44 pm
by Demivec
luis wrote:@netmaestro
Thank you but that's the original code by ts-soft in the first post, the version by Inc. should have a name similar to "DLL2PBInclude-1.5.6.zip", judging by this:
http://www.purebasic.fr/english/viewtop ... 30#p254630
Maybe Inc. himself will drop here in time, I hope at least him kept a copy
But thanks

I have a version by that name and it was obtained 2 days after inc posted the message in the link you gave. It will be available for a week here.
@Edit: Removed link to file.
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sat Nov 19, 2011 11:55 pm
by luis
@Demivec
Looks like the right one! Doesn't work out of the box with PB 4.60 unfortunately but I'll try to fix it (still uses DisASMCommand).
Thank you very much!
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sun Nov 20, 2011 12:05 am
by ts-soft
with the new disasm you can't do the same as with the old one, it will not work

Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sun Nov 20, 2011 2:38 am
by luis
Yes, I quickly adapted it to PB 4.60 and did a rough check. Seems the disasm used by PB get lost quite easily.
I suppose this can be fixed using another dissassembler anyway.
Nice trick to get that infos from the dll
Bye!
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sun Nov 20, 2011 2:56 am
by netmaestro
To get at the DisAsm command from a previous version of Purebasic, you could put it in a .dll project compiled with the earlier version. Your code could call that command from the dll and bob's your uncle. In theory anyway, it seems like it might work.
Re: DLL2PBLib SourceCode Generator Version 1.5.5
Posted: Sun Nov 20, 2011 1:17 pm
by luis
Thanks for the suggestion netmaestro, sounds like a good tip, I'll keep that in mind.
Anyway there are some stable disasm engine available so it's probably worth the effort to interface with something (hopefully) good and actively maintained once for all. I'll try and see.
netmaestro wrote:...and bob's your uncle
Didn't know that expression:
http://en.wikipedia.org/wiki/Bob%27s_your_uncle