Sharing variables between C# and C++

There is no problem sharing memory between C# and C++ using P/Invoke once you know how it works. I would suggest reading about marshaling in MSDN. You might also want to read about using the unsafe keyword and fixing memory. Here is a sample that assumes that your variables can be described as a simple … Read more

Object Sharing between Applications?

There are a few IPC technologies you can use that though pre-date WCF are still relevant today. Pipes Pipes is one such technology. It’s binary, runs in Kernel mode and very fast! Though it’s quite low-level and does not give access to “objects”. .NET Remoting .NET Remoting will give access to objects but is perhaps … Read more

Has Facebook sharer.php changed to no longer accept detailed parameters?

Facebook no longer supports custom parameters in sharer.php The sharer will no longer accept custom parameters and facebook will pull the information that is being displayed in the preview the same way that it would appear on facebook as a post from the url OG meta tags. Use dialog/feeds instead of sharer.php https://www.facebook.com/dialog/feed? app_id=145634995501895 &display=popup&caption=An%20example%20caption … Read more

Is it possible to add a link to download a file that can only be downloaded by sharing it on Facebook?

UPDATE According to a Facebook new policy, this act is not allowed. Use it at your own risk. I hold no responsibilities for using this. Yes, using the JavaScript SDK, it provides a response (it doesn’t anymore) We will create an if statement to see if the response has a post_id if yes show the … Read more

Sharing a complex object between processes?

After a lot research and testing, I found that “Manager” does this job at a non-complex object level. The code below shows that object inst is shared between processes, which means property var of inst is changed outside when child process changes it. from multiprocessing import Process, Manager from multiprocessing.managers import BaseManager class SimpleClass(object): def … Read more