Page 3 of 3
Posted: Fri May 14, 2004 12:30 am
by freak
...but those PB wrapper functions are slower than those produced by my tool
I hope to finally get to work a bit on this on sunday maybe, so stay tuned...
Timo
Posted: Fri May 14, 2004 12:40 am
by Karbon
Oh no doubt they are slower - it's good documentation though!
Thanks man, really really appreciate it!
Posted: Fri May 14, 2004 3:14 am
by Shannara
ricardo wrote:Nice idea!!!!
Im testing this tool that converts ANY dll into a lib:
http://www.binary-soft.com/dll2lib/dll2lib.htm
I convert the dynaload into a lib and will try to test with it.
At the moment im trying to use your tool but it seams to freeze (i will wait a little more)...
BTW, where does ned to point the LibMaker Path? To lib sdk?

Holy, I'll pay $99 for this if... ah.. erm... just to check...... How do I access these static libraries in PB? Any sample code on that? Also, COM = ActiveX? Or am I way off track here? Especially when the activex dll have events that are raised...
Also if this tool would work perfectly with freak's tool, I will definately buy it ASAP.
Oh one last thing. Say I make an ActiveX dll w/ risen events and stuff in VB. And I want to convert it over to a static lib (this would be w/o the need of the vb runtimes), would this be possible? If So, say yes, and i'll buy the product asap

Posted: Wed Jun 02, 2004 1:01 pm
by waffle
here's a big potential surprise for someone really ambitious ....
1 - go to the raven software website ( or search "hexen source port")
2 - download zdoom ? and obtain source code.
With the source code (its c++) you'll get .... .lib files and some docs.
3 - now try and use those to load doom/hexen levels using PB
It is something I was tinkering with last week .... trying to get a C++ compiler to actual compile the source code so that I knew I could actually get a working mod from the code. No luck yet, but I'll tinker some more next week .... its something to do
Of course, I can't sell anything, unless I translate the code to PB and use my own media and prevent others from loading levels not intended for my game ..... But that could mean rewriting the bsp editor too.
Posted: Thu Jun 03, 2004 12:45 pm
by FloHimself
freak,
very nice tool!
first, i haven't used the tool yet, so i'm sorry when i'm asking something obvious. you have to declare the "number of parameters", but not the type. so your using always longs in the generated .desc file?
a nice feature would be a .def file import. so dll sources could be compiled to static libs and the generated or provided .def file could be used:
Code: Select all
function
alias function
| name
| | *---- number of params
V V V
PB_error = error@4 @1
so you don't have to hack in 50 functionnames and aliases, because aliases in a .def file could be created by scripts.
regards,
flo
Posted: Wed Jun 23, 2004 8:25 pm
by Karbon
Did anything ever come of this? Did you get it to work with the new linker?
Posted: Mon Aug 30, 2004 6:26 pm
by Shannara
Heh, I think it's a dead project. I have an ActiveX (ocx) control I wanted to use in purebasic, however that is currently not a reality (interface generator doesnt work). But when compiling the code, it spit out a LIB file

I was going to use that via this tool but .... well, no way to use it if I cannot handle events returned from the control..