Skip to content

Memory leaks if used from a DLL #74

@00P

Description

@00P

I all,
I started to write a DLL project that uses the nuget cpprestsdk.V140.winapp version 2.7.0.
The DLL is a x64 MFC DLL type.
Memory leaks appear just if have a global object that looks like:
#include <cpprest/json.h>
web::json::value MyVal;
and I exit application by normal quit().
I load and release the DLL that use cpprest140d_2_7.dll by AfxLoadLibrary() and AfxFreeLibrary() respectively.

Sorry if I posted this task here and mybe it is inappropriate for this place.

Some idea/help?
Thank you in advantage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions