Click here to Skip to main content
15,887,485 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Anyone know how to force the project to use ATL 8 only? Pin
Christopher Duncan12-May-09 6:44
Christopher Duncan12-May-09 6:44 
GeneralRe: Anyone know how to force the project to use ATL 8 only? Pin
Michael Dunn19-May-09 8:31
sitebuilderMichael Dunn19-May-09 8:31 
GeneralRe: Anyone know how to force the project to use ATL 8 only? Pin
Christopher Duncan12-May-09 6:03
Christopher Duncan12-May-09 6:03 
QuestionHow to debug an atl project? Pin
sunil.n.cs7-May-09 3:08
sunil.n.cs7-May-09 3:08 
AnswerRe: How to debug an atl project? Pin
Stuart Dootson7-May-09 4:25
professionalStuart Dootson7-May-09 4:25 
GeneralRe: How to debug an atl project? Pin
sunil.n.cs7-May-09 18:33
sunil.n.cs7-May-09 18:33 
GeneralRe: How to debug an atl project? Pin
Stuart Dootson7-May-09 19:58
professionalStuart Dootson7-May-09 19:58 
Questionsharing standard maps across process boundaries using shared memory concept Pin
Neelesh K J Jain7-May-09 2:08
Neelesh K J Jain7-May-09 2:08 
Hello All,

I have a standard map of type map<string, fileinfo=""> populated in one process and retrieving the values in another process using shared memory concept. The memory is being shared from the server and the client is retrieving the number of pair, but not the values. I am using the following code on the client side for retrieving
HANDLE hOptimizationShared = OpenFileMapping(FILE_MAP_READ, FALSE, szOptimizationShared );

if ( hOptimizationShared != NULL )
{
    pOptimizeBuffer = (std::map<string, FileInfo> *)MapViewOfFile(hOptimizationShared, FILE_MAP_READ, 0, 0, 0);
    HANDLE hEvent;

    if ( pOptimizeBuffer != NULL )
    {
        mapFileDetails.insert(pOptimizeBuffer->;begin(),pOptimizeBuffer->;end());

        UnmapViewOfFile(pOptimizeBuffer);
            }
    }


The second condition check is getting validated, and i can see proper size of the map, but the elements are not present.

Please help in solving this issue.

Thanks in advance.
Regards,
Neelesh K J Jain.
AnswerRe: sharing standard maps across process boundaries using shared memory concept Pin
Stuart Dootson7-May-09 2:56
professionalStuart Dootson7-May-09 2:56 
GeneralRe: sharing standard maps across process boundaries using shared memory concept Pin
Neelesh K J Jain7-May-09 4:25
Neelesh K J Jain7-May-09 4:25 
GeneralRe: sharing standard maps across process boundaries using shared memory concept Pin
Stuart Dootson7-May-09 4:29
professionalStuart Dootson7-May-09 4:29 
GeneralRe: sharing standard maps across process boundaries using shared memory concept Pin
Neelesh K J Jain7-May-09 21:16
Neelesh K J Jain7-May-09 21:16 
GeneralRe: sharing standard maps across process boundaries using shared memory concept Pin
Stuart Dootson7-May-09 22:38
professionalStuart Dootson7-May-09 22:38 
GeneralRe: sharing standard maps across process boundaries using shared memory concept Pin
Neelesh K J Jain7-May-09 22:45
Neelesh K J Jain7-May-09 22:45 
QuestionATL Composite Control Pin
komofilms776-May-09 20:29
komofilms776-May-09 20:29 
Questioniinternetprotocol Pin
john_36929-Apr-09 4:34
john_36929-Apr-09 4:34 
QuestionHOW to debug ATL dotnet 2008 step by step Pin
john_36929-Apr-09 4:29
john_36929-Apr-09 4:29 
QuestionCopy file to remote host Pin
Jack Rong28-Apr-09 8:44
Jack Rong28-Apr-09 8:44 
AnswerCross Posted Pin
led mike28-Apr-09 8:58
led mike28-Apr-09 8:58 
QuestionNeed a solution. Pin
rana ray26-Apr-09 21:24
rana ray26-Apr-09 21:24 
QuestionInstall ActiveX in non-admin Pin
p_196026-Apr-09 3:35
p_196026-Apr-09 3:35 
AnswerCross Posted Pin
led mike27-Apr-09 4:37
led mike27-Apr-09 4:37 
Questionproblem in porting template class from VS6.0 to VS2008 Pin
Hemant kulkarni25-Apr-09 3:21
Hemant kulkarni25-Apr-09 3:21 
AnswerRe: problem in porting template class from VS6.0 to VS2008 Pin
Stuart Dootson25-Apr-09 3:35
professionalStuart Dootson25-Apr-09 3:35 
QuestionAnother DLL problem. Pin
rana ray24-Apr-09 4:58
rana ray24-Apr-09 4:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.