Try these:
http://www.powerbasic.com/support/downloads/windows.htm Generic Service Example
http://www.powerbasic.com/support/downloads/pbcc.htm Windows Service Example
Cheers,
Announcement
Collapse
No announcement yet.
Windows COM Interaction with Service (Need Client/Server App)
Collapse
X
-
>Had you included the two sentences .....
Communications issues? Here? STOP THE PRESSES!!!
Leave a comment:
-
Originally posted by MICHAEL S THOMASON View PostMaybe if you spent a little more time actually reading my question and less time replying with such tort responses you would have actually understood what I was asking.
Accepting your invitation and re-reading your question, I stand by my response. Had you included the two sentences from your second post:
I know how to write DLL's (INPROC32 COM Processes) and have client EXE's contact them.
I'm looking for how to do out of process COM with PowerBasic under a Windows Service (i.e. service manager). I've not found anything in the service forums that go into this level of detail.
Leave a comment:
-
Given the touchy nature of some here regarding "Proffesionalism" (http://www.powerbasic.com/support/pb...ad.php?t=41852), I think a new PB Forum rule should be adopted:
"Henceforth and forthwith (forsooth too), given the absolute necessity of respect some here feel the reassuring need of,
New Rule : Any time the word "prfessional" is used it shall be Capitolized, Bolded and Underlined - "Profesional".
================================
"Reality is merely an illusion,
albeit a very persistent one."
Albert Einstein (1879-1955)
================================
Leave a comment:
-
I*thought* this looked familiar.
It is: http://www.powerbasic.com/support/pb...ad.php?t=41876
>but I think lack professionalism was a little shocking
And cross-posting demonstrates what?
Leave a comment:
-
Somewhere in help file is direct quote that the PB compilers cannot create out-of-process (*.exe) COM servers.
But I think that means, "using native functions." That is, you can probably create an out-of-process COM server using some combination of Windows' API calls.
However...
Not sure if that makes sense but I want the EXE (client running as a user process) to be able to talk with the Windows service and send data besides just service status messages.
Leave a comment:
-
Quick Reply
Chris:
Maybe if you spent a little more time actually reading my question and less time replying with such tort responses you would have actually understood what I was asking.
Your example shows something I already know how to do. I know how to write DLL's (INPROC32 COM Processes) and have client EXE's contact them.
I'm looking for how to do out of process COM with PowerBasic under a Windows Service (i.e. service manager). I've not found anything in the service forums that go into this level of detail.
I appreciate your response but I think lack professionalism was a little shocking.
Leave a comment:
-
Thank goodness for the search facilities on these forums! Using only the terms "COM" and "client" as target title strings I was able to find this post among lots of others.
I strongly recommend you to give it a try sometime, you will enjoy the results and get a faster service too!
Leave a comment:
-
Windows COM Interaction with Service (Need Client/Server App)
I am in the process of writing a Windows service and I need for the "client" EXE to communicate with the Windows service and send certain types of information. I'm confused on how to get the Windows service to load up and register the COM to the OS os the "client" can communicate.
Not sure if that makes sense but I want the EXE (client running as a user process) to be able to talk with the Windows service and send data besides just service status messages.
Anyone have any examples or sample code?
Thanks!Tags: None
Leave a comment: