Type: Posts; User: dc_2000
Search took 0.06 seconds.
July 13th, 2015, 02:20 PM
Arjay, you're the man! It worked!
All it needed is for my child GUI process to be created with the WS_EX_TOPMOST style. (This obviously wouldn't work with the stock calc.exe.) Evidently the logon...
July 13th, 2015, 12:37 PM
Yep, and it didn't come from me. It's MSDN. Plus, a buggy code too. (See my explanation of their GetLogonSid() method.)
July 13th, 2015, 12:43 AM
While waiting for your responses, I did some research and found this MSDN sample that shows how to configure the ACL for the window station and the desktop. I originally didn't know that a window...
July 13th, 2015, 12:21 AM
No, I haven't. The issue is that we're talking about two different desktops here. The one on the lock screen is what they refer to as a "Secure desktop" or "Winlogon", while the...
July 12th, 2015, 12:43 PM
Yes, that's what I mean. It did the same thing as the calc.exe
July 12th, 2015, 03:10 AM
Well, I thought so too. I built a simple (stock) Win32 GUI app and it did not show either. In other words, it's not the issue with the child GUI process that I'm running... it's something else in the...
July 11th, 2015, 02:29 PM
I have a Windows service written in C++/WinAPI that runs in a local-system context. The service may perform some configurable power actions (such as put the system into sleep mode)...
June 24th, 2015, 12:06 PM
Igor, I appreciate it. You are really helpful! I especially appreciate your idea of using out-of-proc server that's housed in an exe vs dll. That does solve me a lot of trouble. (Especially your...
June 23rd, 2015, 03:58 PM
It actually just returns your usual HRESULT. So I guess doing SUCCEEDED() may do the job for checks for success.
No, I don't. Sorry, Igor, can you repeat how one can change that default timeout...
June 23rd, 2015, 01:53 PM
Yeah, no problem. I'll ignore it. Plus I don't think I'll be rebuilding this COM server once it's done. I just need a quick shim for the JScript code.
I'm more concerned about those 3 points I...
June 23rd, 2015, 01:48 PM
Oh, I see. That's really cool. And you're right. I was totally missing it. Thanks for bringing it up.
There are some concerns that this brings up though. So let me hear your take on it:
June 23rd, 2015, 01:27 PM
Victor, what do you mean by close IDE editor? What? Completely? How else would I work with the source code then? If you mean just that file, then like I said above, it's not open:
June 23rd, 2015, 01:16 PM
Arjay, I don't have it open. And if I remove it from the solution itself, then I start getting linker errors about missing symbols.
June 23rd, 2015, 12:17 PM
Also, Igor, on the side note. Why am I getting this when I build your project?
June 23rd, 2015, 12:13 PM
I would surely love to have only a 32-bit build and eliminate messing with 64-bit-only DLL, but I'm still not quite clear on how this .exe approach would work. That .exe has to run somehow for the...
June 22nd, 2015, 06:09 PM
Appreciate it! ATL it is! And if I link it statically it doesn't drag as much "weight" as MFC either...
One last follow up question, guys. Since I will need to make both 32-bit and 64-bit builds...
June 20th, 2015, 01:30 PM
@Igor: I need to be able to recreate it for VS 2008. Can you give me general steps how you made that ComDll project?
June 19th, 2015, 10:05 PM
I should admit, that I do not have much experience working with COM/automation. My goal is to create a C++ module whose methods could be exposed/called by a JScript script running in...
Thank you for the explanation guys.
So is there a lot of code to switch from in-proc to out-of-proc COM? Like I said I've never tried out of proc in my limited exposure to COM.
Also Arjay, you...
Thanks. You have a point there.
One follow-up. I'm not entirely sure what's the difference between the in-proc and out-of-proc COM server. I understand that the former one is when my DLL is loaded...
No, not really. I was just trying to eliminate complexity, but it seems like I'm only adding it, hah?
You see, I am not really good with COM, but it seems like if I do in-process DLL, I will have...
My goal is to create a COM interface in my Windows local service, written with C++/MFC, whose methods could be called from a Windows Script Host JScript code running under a logged in interactive...
April 30th, 2015, 02:40 AM
I might have gotten to the bottom of it.
This looks like a bug in the IE 11 rendering engine. (Interestingly enough, I ran it on a machine with IE 8 and it worked fine.) I discovered this by...
April 29th, 2015, 08:38 PM
Arjay, I can't. That (html) report must be generated at 8:30 AM.
April 29th, 2015, 01:06 PM
Thank you for your input guys.
I can't run any tests on it now until the end of the work day in that office. I do remember trying to kill the screensaver earlier, or wake the screen, using the...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!