Search:
Type: Posts; User: kw1991
Search:
Search took 0.05 seconds.
-
April 29th, 2013, 10:01 AM
ok i tried that and got this message:
[SC] StartService FAILED 2:
The system cannot find the file specified.
-
April 29th, 2013, 09:17 AM
ok thanks for the code. how do i install the service so it appears in the Service Management Console?
-
April 29th, 2013, 06:47 AM
ok what questions still need answering? i am using Windows 7, i created a windows service application using c++ visual studio and it uses the local service account
-
April 29th, 2013, 03:50 AM
when i run the service and check the processes that are running (by using task manager) I don't see the GUI program running
In the Service Management Console i changed the log on property to local...
-
April 29th, 2013, 03:38 AM
i am using window7. i tried setting the service to interact with the desktop but that doesn't work either
-
April 22nd, 2013, 07:28 AM
i don't know anything about the code of the external program.. so i guess SW_HIDE isn't a good option then
-
April 22nd, 2013, 06:50 AM
i have never used HOOK before. is there an easier way to hide the window of the external program?
-
April 22nd, 2013, 06:42 AM
my createprocess program is a console application (the code i put in the first post). can i add hook WH_CBT to this?
-
April 22nd, 2013, 06:33 AM
ok hook be used in a c++ console application? examples on google only seem to be showing examples in win32
-
April 22nd, 2013, 06:24 AM
i can't change the external program so could you show some code for (WH_CBT) HOOK?
-
April 22nd, 2013, 06:12 AM
ok so how do i solve this problem? what code do i need to hide the window?
-
April 22nd, 2013, 05:59 AM
ok adding the line ShowWindow(hWnd, SW_SHOW ); to the test program causes the window to be displayed when i run createprocess
-
April 22nd, 2013, 05:46 AM
so where should i call ShowWindow again in my test program?
and do you mean like this:
ShowWindow(hWnd, SW_SHOW );
-
April 22nd, 2013, 05:32 AM
so i need to change my code that hides the window?
info.dwFlags = STARTF_USESHOWWINDOW;
info.wShowWindow = FALSE;
-
April 22nd, 2013, 05:20 AM
i just created a blank win32 project in visual studios. i didn't change any code
so this is the code visual studios generates:
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
HWND...
-
April 22nd, 2013, 05:07 AM
ok i created a win32 project and it has the ShowWindow(hWnd, nCmdShow) function. i ran it through my createprocess code and it works. The windows is hidden and the program is running in the background
-
April 22nd, 2013, 04:50 AM
i know the code i posted works because i tested it with notepad and it worked but for some reason it doesn't work with the other program
-
April 22nd, 2013, 04:42 AM
i can't access the code of the other program. i didn't create it so i have no idea about the code
i think it was made using visual basic
-
April 22nd, 2013, 04:35 AM
it runs my program but it displays the window. i want the window to be hidden
-
April 22nd, 2013, 04:25 AM
i created a windows service that will run another program. but the program i want to run has a gui and i don't want the gui to be visible, i just want the program to run in the background.
But i...
-
April 16th, 2013, 09:58 AM
i am not really sure what i need to change in my program
-
April 16th, 2013, 07:55 AM
I followed the MSDN tutorial on RPC programs:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa379010(v=vs.85).aspx
but when i run the client i get access denied.
void main()
{
...
-
April 16th, 2013, 05:00 AM
ContextExample_s.c was generated when i compiled the idl file. i didn't change any of the code
-
April 16th, 2013, 04:51 AM
no i did not ask in the comments and discussions section. i thought this was the right section to post questions?
full error:
error LNK2001: unresolved external symbol...
-
April 16th, 2013, 04:23 AM
I have tried following this tutorial to create an RPC server and client:
http://www.codeproject.com/Articles/4878/Introduction-to-RPC-Part-2
but i got this error:
error LNK2001: unresolved...
|
Click Here to Expand Forum to Full Width
|