04-05-2006 03:10 AM
04-05-2006 03:21 AM - edited 04-05-2006 03:21 AM
I see you have gotten a very proficient Windows API/Call Library Node programmer. 😉
@Dynamik wrote:
Hi Jim, Conseils,
Please consider using the attached Launcher2.vi It closes thread and process handles associated with call, allowing Launcher2.vi to be calleded multiple times without incurring a memory leak.
Cheers.
Message Edited by rolfk on 04-05-2006 10:25 AM
04-05-2006 07:25 AM
04-13-2006 07:52 PM - edited 04-13-2006 07:52 PM
Hi Guys,
Thank you for the "proficient" plug, Rolf! ... though I'm not sure that "knowing enough to be dangerous" qualifies me as "proficient".
re: "brute force" - have to admit that All Unicode is Greek to me.
re: CreateProcessWithLogonA - what API DLL would I find that in?
Cheers.
@rolfk wrote:
I see you have gotten a very proficient Windows API/Call Library Node programmer. 😉
@Dynamik wrote:
Hi Jim, Conseils,
Please consider using the attached Launcher2.vi It closes thread and process handles associated with call, allowing Launcher2.vi to be calleded multiple times without incurring a memory leak.
Cheers.
The only comment I have is that your way of ASCII->Unicode translation is rather brute force. It will only work for US american code pages without real problems. Already some European code pages and the according special chracters used in the strings will create invalid Unicode characters.
As Wiebe has pointed out using the ANSI function may simplify the code a bit. Otherwise you really should consider using the MultiByteStringToWideChar API to do the translation properly.
Rolf Kalbermatter
Message Edited by rolfk on 04-05-2006 10:25 AM
Message Edited by Dynamik on 04-13-2006 07:53 PM
04-14-2006 04:27 AM - edited 04-14-2006 04:27 AM
Hmm, you don't have to understand Unicode to use it . Just get familiar with WideCharToMultiByte and MultiByteToWideChar and you are completely fine
@Dynamik wrote:
re: "brute force" - have to admit that All Unicode is Greek to me.re: CreateProcessWithLogonA - what API DLL would I find that in?
Message Edited by rolfk on 04-14-2006 11:28 AM
05-12-2006 01:39 PM
05-16-2006 06:41 AM
04-06-2021 04:41 AM
Please allow me to ask this seemingly dumb question :).
Why does one need Admin rights to run LabVIEW Runtime anyways? prior to 2020, we didnt need this.
we have multiple users who are using LabVIEW RTE for years, and our company policy has always been NOT to allow elevated rights to regular users.
With the change in LabVIEW 2020, we're having to jump through hoops to get it working on a regular account. Not ideal at all.
Wish this would be reversed again to regular accounts being able to run LabVIEW RTE again..
04-06-2021 04:46 AM
The LabVIEW runtime does not need administrative rights as far as I can tell here. It must be something your programs try to do that requires this.
What doesn't work for you without administrative rights?
04-06-2021 05:04 AM
Hi Rolf,
after installing Labview Runtime 2020, when i start the application under a regular user account, it prompts me to provide Admin credentials. we've tried using iCACLS to setup specific access to the program folder and subfolders, but to no avail.
are we doing something wrong in the installation process you think?