Search found 9 matches

by Virja
Fri Feb 07, 2020 12:56 pm
Forum: C++ Development
Topic: Multilingual application (without locales or internationalisation)
Replies: 30
Views: 3883

Re: Multilingual application (without locales or internationalisation)

wxLog::AddTraceMask("i18n"); Thanks, I was able to get it working by looking at the output from AddTraceMask. This is where I had my MO files located: ./langs/en/en.mo ./langs/de/de.mo ./langs/ga/ga.mo In order to get this to work, I had to move these files to: ./langs/en/en.mo ./langs/en...
by Virja
Fri Feb 07, 2020 12:18 pm
Forum: C++ Development
Topic: Elevate privileges at Runtime
Replies: 10
Views: 1842

Re: Elevate privileges at Runtime

DavidHart wrote: Fri Feb 07, 2020 11:45 am Hi,

I have some in my program: see ExecInPty::ExecuteInPty() in https://sourceforge.net/p/fourpane/git4 ... e/Misc.cpp

(which is the second time this week I've pointed to that function :? )

Regards,

David
Your link says "Page Not Found"
by Virja
Fri Feb 07, 2020 10:37 am
Forum: C++ Development
Topic: Multilingual application (without locales or internationalisation)
Replies: 30
Views: 3883

Re: Multilingual application (without locales or internationalisation)

I once had a similar idea, i.e., just allow the user to select the language of the UI, without affecting the application locale. I wrote something like this, seemed to work on MSW I'm trying to get this working. I'm using my own user-defined language identifiers, like so: English = wxLANGUAGE_USER_...
by Virja
Fri Feb 07, 2020 10:08 am
Forum: C++ Development
Topic: Elevate privileges at Runtime
Replies: 10
Views: 1842

Re: Elevate privileges at Runtime

Does anyone have some Linux code for elevating privileges? It's actually quite difficult to find anything about this if you do a web search (because 99% of the returned hits are for a user trying to run, as root, a GUI program that they downloaded). I might have to look at the source code for a prog...
by Virja
Thu Feb 06, 2020 4:15 pm
Forum: C++ Development
Topic: Elevate privileges at Runtime
Replies: 10
Views: 1842

Re: Elevate privileges at Runtime

That account still exists. If you forgot the password, you can request a new one, if you still have access to the email account from back then. The email account I used back then was with "lavabit.com" but they've since been shut down. I can't remember the password. Is there any way to re...
by Virja
Thu Feb 06, 2020 4:06 pm
Forum: C++ Development
Topic: Multilingual application (without locales or internationalisation)
Replies: 30
Views: 3883

Multilingual application (without locales or internationalisation)

I have started making my Dynamo network analysis application multilingual. I have replaced all occurrences of "wxT" with "_". The application is written in English, and I have used POEdit to make German and Irish translations. This is working fine, except for when I switch langua...
by Virja
Thu Feb 06, 2020 1:55 pm
Forum: C++ Development
Topic: Elevate privileges at Runtime
Replies: 10
Views: 1842

Elevate privileges at Runtime

Hi guys, I posted to this forum about 9 or 10 years ago under the name "Virchanza". It would be nice if I could get that account back. I found all the source code to my old program 'Dynamo' and I'm now continuing development on it, hoping to bring out a new version before Summer. When my a...
by Virja
Fri Jun 07, 2019 11:32 pm
Forum: Announcements and Discoveries
Topic: Dynamo : A network analysis tool
Replies: 6
Views: 13427

Re: Dynamo : A network analysis tool

Thanks for the link.

The filename contained the word 'dynamo'. It would have been something like dynamo.tar.gz, or dynamo.zip.

I reckon I'll get this job if I can find that source code.
by Virja
Fri Jun 07, 2019 8:51 pm
Forum: Announcements and Discoveries
Topic: Dynamo : A network analysis tool
Replies: 6
Views: 13427

Re: Dynamo : A network analysis tool

Hi guys This is Virchanza here, I have a new account. 8 years ago I posted here about my network analysis program, Dynamo, and I have since lost all my data. I don't have my source code anymore. I've had two job interviews so far with an IT firm, and they've put me forward for a third interview, but...