Calling function from helper

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Calling function from helper

Postby rahulchavan10 » Wed Feb 07, 2018 12:47 am

Hi,
I want to call function from helper app as well as share a common object between parent and helper app in cef.
I am using CEF3.
Is there any way?

Thanks,
Rahul
rahulchavan10
Techie
 
Posts: 29
Joined: Tue Dec 19, 2017 6:03 am

Re: Calling function from helper

Postby HarmlessDave » Wed Feb 07, 2018 12:09 pm

The FAQ at the top of this forum links to the General Usage wiki, which shows how to use CEF. See the "Inter-process communication" section.

The processes have separate address spaces, so sharing pointers is not going to work. Sharing data can be done using the IPC messages and also whatever functions the OS provides like memory mapped files in Windows - https://msdn.microsoft.com/en-us/librar ... 78(v=vs.85).aspx
HarmlessDave
Expert
 
Posts: 370
Joined: Fri Jul 11, 2014 2:02 pm


Return to Support Forum

Who is online

Users browsing this forum: NateAtReach and 53 guests