How to fix starting address of shared memory
-
Dear Friends, Did anybody knows how to create shared memory in C language that will always having the same starting address. I have a situation where i need to have shared memory concept to share data between multi processes. But at the same time i want my shared memory should only start from say 0x00112233 location. My environment is Windows CE .NET (ARM processor) and using C language for programming. Can anybody help me in this regard. Thanks and Best Regards, subramjobmail, 2003/07/01 (16:36 JST).
-
Dear Friends, Did anybody knows how to create shared memory in C language that will always having the same starting address. I have a situation where i need to have shared memory concept to share data between multi processes. But at the same time i want my shared memory should only start from say 0x00112233 location. My environment is Windows CE .NET (ARM processor) and using C language for programming. Can anybody help me in this regard. Thanks and Best Regards, subramjobmail, 2003/07/01 (16:36 JST).
Dear Friends, I got that i can not fix the starting address of the shared memory. Actually my problem is below. I am creating shared memory using CreateFileMapping(). By using the MapViewOfFile() i am creating a view for the shared memory i want. I want to create this view at my specified address always(ie how many times i call the MapViewOfFile() i want it to be created always at specified address). I can do that using lpBaseAddress parameter of MapViewOfFileEx(). But this function is not supported in Windows CE .NET. Can anybody suggest any alternative for this. Thanks and Best Regards, subramjobmail, 2003/07/02 (15:16 JST).