hello to all
i have a problem that sounds trivial, but it's not at all (for me).
in my application i link a library containing the main method.
the problem is now, that i need access to the parameters passed
to my application. but how can i get them when the main
function is part of the library?
it is possible with the ps command but only if the parameterlist is
not to long, else i only get partial parameter data.
i wonder now, if it might be possible to wrap the main method.
normally, the compiler links the runtime-file to the application
to make it runnable under the system. is there a way to tell the
compiler/linker that another function than main() should be used
as the entering point?
i appreciate any kind of help.
thanx in advance, clemi.