I have access a 32 bit dll from a 64 bit application. For this I am using Shared Memory IPC and I have done something like this
TCHAR szName[]=TEXT(Path of DLL on local machine); 
TCHAR szMsg[]=TEXT("abc");
HANDLE file = CreateFile(szName,                
                       GENERIC_READ,          
                       0,                      
                       NULL,                   
                       CREATE_NEW,             
                       FILE_ATTRIBUTE_NORMAL,  
                       NULL);
Is it the correct approach to share a dll over an IPC? Can I access the functions defined inside DLL at the reader interface?
 
     
     
    