BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to use share meomry under a Service program?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
hawkfly
Guest





PostPosted: Sun Sep 25, 2005 12:46 pm    Post subject: How to use share meomry under a Service program? Reply with quote



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





PostPosted: Mon Sep 26, 2005 8:02 am    Post subject: Re: How to use share meomry under a Service program? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.