Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Public access to Argv0__[]
Re: Public access to Argv0__[] [message #56669 is a reply to message #56628] Fri, 02 April 2021 09:48 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
Novo wrote on Mon, 29 March 2021 21:48
Is it possible to make extern char Argv0__[] publicly visible?
I need it to initialize third-party code in a way similar to the way gtk_init is doing this.

TIA


Just to be sure: You need the value of argv[0] of main, right? (the name of app)

Something like

String GetArgv0();

(things are complicated as Argv0 is POSIX specific...)

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: InFilterStream::Out() is buggy: a possible bugfix
Next Topic: Issue with FileCopy() on LinuxMint
Goto Forum:
  


Current Time: Sun Apr 27 21:33:29 CEST 2025

Total time taken to generate the page: 0.00978 seconds