Hello Everyone
I am trying to create a Shared Memory between
applications written in C and VB.NET. Interface variables are defined
in "SharedMemory.h" file. C-application is accessing the memory via
pointer to the structure which holds the data. I want to include this
header into my VB.net application and create shared memory using data
type defined in the header. Now couple of questions: is shared memory
possible between C and VB.NET applications, if yes give me please a
hint how to do that? Is that possible to include a .h file into VB.net
application?
Thanks a lot for any help,
Filip
File Mapping
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Bechir BejaouiRank #144 · 15.9K pointsPosted Jun 14, 2008, 6:42 AM EDT
include the
System.Interop.Services;
[DllImport("The name of dll ")]
public static extrern TheMethodName(Parameters)