2

I use the iwebbrowser2 navigate to navigate over some local html files.

At each navigate, memory gets allocated and not released until I close my app! My win32 (no .net, no MFC) app is running on a Windows embedded compatct 7 module.

Is there any workaround for that problem?

dns
  • 2,753
  • 1
  • 26
  • 33
Patrick
  • 145
  • 1
  • 1
  • 9
  • 1
    There should be a way to free this memory. I doubt anyone could help you, without seeing the code. – Kiril Kirov Mar 28 '13 at 14:59
  • I think the only work around to a memory leak is get more memory or solve the issue. – andre Mar 28 '13 at 15:28
  • How do you know it's a memory leak? E.g. `std::vector::clear()` does not release memory either, it keeps it around for a subsequent allocation. – MSalters Mar 29 '13 at 08:29
  • ok, i got closer to the problem. since im hosting a webbrowser control and using a touchscreen, the default IE gestures were acitve (like doubleclick causes zoom and so on). so i set the [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Gesture] "GestureCapabilities" value to 0 to enable my WM_GESTURE commands. the problem is now that every callback(?) allocates memory. even if i dont put any code to there! – Patrick Mar 29 '13 at 11:46

0 Answers0