Page 1 of 1

Lib GetProgramParameters

Posted: Sun Nov 27, 2005 8:06 pm
by Gansta93
Hello,

This is my new lib, GetProgramParameters. With this you'll be able to know parameters which have been passed to your program as you examine a directory.
To download it, click here.
Image

TSSoft said it doesn't work, and I don't understand wy. If it is the same for you, can you examine the sources and say me why it doesn't work?

Thx in advance.

Posted: Mon Nov 28, 2005 2:43 pm
by dagcrack
Well TSSoft is right, here when I call ExamineProgramParameters() I get a nice and warm crash.

I might check the source later if I have time. I believe you have an initialization lack of / error and you also need error handling / checking ;).

Re: Lib GetProgramParameters

Posted: Mon Nov 28, 2005 3:52 pm
by Kiffi
Hello Gansta93,

what are the difference between your lib and PB's ProgramParameter()?

Greetings ... Kiffi

Posted: Mon Nov 28, 2005 4:11 pm
by dagcrack
I can answer you: his lib is meant for lazy people (well, yes).. So you don't have to extract each parameter by hand.. but just do a simple call and get the parameters returned.

This has been done already (at least from my side) But I dont believe its worth for a lib, but for an include only. (Again, I prefer to include my own code than use libraries, just for the comfyness, no thats not being lazy thats not depending on other's libraries - you never know if they'll stop developing it or when they'll fix those nasty bugs it has - ).

Posted: Mon Nov 28, 2005 5:04 pm
by ts-soft
dagcrack wrote: This has been done already (at least from my side) But I dont believe its worth for a lib, but for an include only
Full ACK

Posted: Mon Nov 28, 2005 9:38 pm
by Nik
This is Surely a good way to try hwo to build libs.