 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
hawkfly Guest
|
Posted: Sun Sep 25, 2005 12:46 pm Post subject: How to use share meomry under a Service program? |
|
|
I create a ServiceApplication under BCB5 and use CreateFileMapping to alloc
some memory for comunication with a desktop-program.
I have set the value:
Interactive=true
ServiceType=win32
I use the CreateFileMapping() in OnStart event,but the desktop-program can't
share the memory.
When CreateFileMapping() be used in desktop-program ,it return null.
Please tell me how can I use CreateFileMapping() in service application?
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Mon Sep 26, 2005 8:02 am Post subject: Re: How to use share meomry under a Service program? |
|
|
hawkfly wrote:
| Quote: | Please tell me how can I use CreateFileMapping() in service
application?
|
You will increase your chances of getting useful replies if you post
your messages into the appropriate newsgroup section. .IDE deals with
questions arising from the IDE (Editor, debugger, etc). Questions on
using the API belong in .NATIVEAPI.
See how it goes today but if you don't get any useful replies repost to
there.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|