Blpnt.c UserlibMaker (DLL > Ulib) NOT BB!]

Community Forums/Showcase/Blpnt.c UserlibMaker (DLL > Ulib) NOT BB!]

darklordz(Posted 2004) [#1]


i just coudn't wait to get the sucker out. it's realy a lot better then fooling around with notepad. this is a functional beta (measely 550 lines o code) but still bugs might occur. love to here people's feedback and bugreports...remember it's still v0.0.1 much to add. but id like to know if it's any use...

p.s click the pic to download!
oo almost forgot the usage instructions:

- open dll
- double click a function to add params.
- * in the param list double click params to edit them.
- * hit update to save the changes in that param.
- save dll as decls or export to notepad.

Oo and a special note for EddyFromMars :)
if ya want tha code so u can integrate this in VB, just ask :P it's all pb source...


Red(Posted 2004) [#2]
Interesting...
if ya want tha code so u can integrate this in VB
it's all pb source...

Yes, send me a email (with any suggestion if you want)


Red(Posted 2004) [#3]
Is there a way to get function parameters ?


Koriolis(Posted 2004) [#4]
It would require the DLL to contain debug information, which isn't the case normally (by normal case I mean in the normal, publicly released form of a DLL). Without debug information, you just can't retrieve the parameters information from the DLL at all.


darklordz(Posted 2004) [#5]
Ed i sent ya tha code! So no feedback eh?


Red(Posted 2004) [#6]
I've received your code.
Thx

I'll try do something for your request. :)


Koriolis(Posted 2004) [#7]
Mmm, it appears that winbdows dll DO ship with CodeView debug information. Darklordz, I don't know what exactly is in this debug data, but it's quite possible that you could use that to retrieve the needed parameters.


AntonyWells(Posted 2004) [#8]
Nice. Hate messing about with notepad..


AntonyWells(Posted 2004) [#9]
Dark, you've missed out a vital par type. You can pass banks directly as a pointer to userlibs, by using the * type in the par list.

e.g initFx( test%,gfxBuffer*):"_initFx@8" ;I.e they are 4 bytes.

Then in blitz,

bank=createBank(20248)
initFx( 5,bank)

Let us know if you add it :)


Red(Posted 2004) [#10]
What does it happen if I declare two .lib in the same .DECLS file?


MyLib.DECLS
.lib "user32.dll"
...
...

.lib "kernel32.dll"
...
...


It works for me


Red(Posted 2004) [#11]
@DarklordZ

like that:




Kuron(Posted 2004) [#12]
Let it rest Ed, not much he can do to help you if he did indeed off himself.


Red(Posted 2004) [#13]
Hmm ... 0_O


Kuron(Posted 2004) [#14]
Ed (here is what I was referring to):

http://www.blitzbasic.com/Community/posts.php?topic=32310
http://www.blitzbasic.com/Community/posts.php?topic=33375


Red(Posted 2004) [#15]
sad news O_o


puki(Posted 2004) [#16]
"Unknown" - but not forgotten - it's a weird world.