Hi,
To use iupcontrols you need the CD library as well. This will solve all
the missing external symbols, except the CComStdCallThunkHelper.
I search for it and there are several linking problems related. Couldn't
find a solution though...
Best,
Scuri
On Thu, Feb 18, 2016 at 8:33 PM, Ranier VF <[email protected]> wrote:
> Hi Scuri.
> Advances.
> I downloaded from web a atlsd.lib, and link reports now:
> iupweb.lib(iupwin_webbrowser.obj) : error LNK2019: unresolved external
> symbol _CComStdCallThunkHelper@
>
> and many, many errors in
> iupcontrols.lib(iup_colorbar.obj) : error LNK2001: unresolved external
> symbol _cdCanvasGetSize
>
> iupcd.lib(iup_cdutil.obj) : error LNK2001: unresolved external symbol
> _cdCanvasPutImageRectRGBA
> iupcd.lib(iup_cd.obj) : error LNK2019: unresolved external symbol
> _cdContextNativeWindow referenced in function _cdContextIup
> iupcd.lib(iup_cd.obj) : error LNK2019: unresolved external symbol
> _cdCanvasSetAttribute referenced in function _cdcreatecanvasIUP
> iupcd.lib(iup_cd.obj) : error LNK2019: unresolved external symbol
> _cdBaseDriver referenced in function _cdcreatecanvasIUP
> iupcd.lib(iup_cd.obj) : error LNK2019: unresolved external symbol
> _cdContextDBuffer referenced in function _cdContextIupDBuffer
> iupcd.lib(iup_cd.obj) : error LNK2019: unresolved external symbol
> _cdContextDBufferRGB referenced in function _cdContextIupDBufferRGB
> iupcd.lib(iup_cdutil.obj) : error LNK2019: unresolved external symbol
> _cdCanvasPutImageRectRGB referenced in function _cdIupDrawImage
> iupcd.lib(iup_cdutil.obj) : error LNK2019: unresolved external symbol
> _cdCanvasPutImageRectMap referenced in function _cdIupDrawImage
> iupcd.lib(iup_cdutil.obj) : error LNK2019: unresolved external symbol
> _cdCanvasNativeFont referenced in function _IupCdSetFont
> iupcd.lib(iup_cdutil.obj) : error LNK2019: unresolved external symbol
> _cdCanvasUpdateYAxis referenced in function _IupCdDrawFocusRect
> iupcd.lib(iup_cdutil.obj) : error LNK2019: unresolved external symbol
> _cdCanvasGetAttribute referenced in function _IupCdDrawFocusRect
>
> iupcontrols.lib and iupcd.lib has problems.
> iupcd.lib has debug symbols?
>
> Best regards,
>
> Ranier Vilela
> ------------------------------
> From: [email protected]
> To: [email protected]
> Date: Thu, 18 Feb 2016 20:46:56 +0000
>
> Subject: Re: [Iup-users] IUP Leaks with Dr.Memory
>
> Hi Scuri.
> Weel I use /Zi
>
> But I will try.
>
> Ranier Vilela
>
> ------------------------------
> Date: Thu, 18 Feb 2016 18:44:24 -0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [Iup-users] IUP Leaks with Dr.Memory
>
> Hi,
>
> Unfortunately iupObjectCheck is a harmless function that just test a
> memory pointer, don't actually allocate or free memory.
>
> Maybe you should configure your application to use the same debug option
> I used to build the libs, i.e. "C7 compatible (/Z7)".
>
> Best,
> Scuri
>
>
> On Thu, Feb 18, 2016 at 6:40 PM, Ranier VF <[email protected]> wrote:
>
> Hi Scuri.
> Yes. I think so.
>
> From what I understand, about Dr. Memory, he detects the leak in
> #1 function -> iup.dll!iupObjectCheck
> Maybe, iupObjectCheck do not call free.
>
> Must learn more abou Dr.Memory.
>
> Best regards,
>
> Ranier Vilela
>
> ------------------------------
> Date: Thu, 18 Feb 2016 18:35:22 -0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [Iup-users] IUP Leaks with Dr.Memory
>
>
> Hi,
>
> Is this a call stack? I couldn't identify which function actually called
> malloc and it was not freed.
>
> Best,
> Scuri
>
>
> On Thu, Feb 18, 2016 at 6:29 PM, Ranier VF <[email protected]> wrote:
>
> Hi Scuri,
> Running Dr.Memory, I get more leaks reports.
>
> Unfortunately, call from two different functions:
> unit_iup.c: 1587
> btn_occupation = IupButton("Ocupacao", "btn_occupation");
> payment_new.c: 489
> lbl = IupLabel("DESCONTO: ");
>
> Error #114: LEAK 76 direct bytes 0x032dad10-0x032dad5c + 1926 indirect
> bytes
> # 0 replace_malloc
> [e:\b\build\slave\win-builder\drmemory\common\alloc_replace.c:2576]
> # 1 iup.dll!iupObjectCheck +0x41 (0x10006ab2
> <iup.dll+0x6ab2>)
> # 2 mode
> # 3 iup_unit_window_new
> [c:\usr\src\rcpdv\unit_iup.c:1587]
> # 4 iup.dll!IupClipboard +0x895b (0x1006d02c
> <iup.dll+0x6d02c>)
> # 5 iup.dll!iupdrvBaseSetTipVisibleAttrib +0x212c (0x100556cd
> <iup.dll+0x556cd>)
> # 6 USER32.dll!GetDC +0x6c (0x7e368734
> <USER32.dll+0x8734>)
> # 7 USER32.dll!GetDC +0x14e (0x7e368816
> <USER32.dll+0x8816>)
> # 8 USER32.dll!GetWindowLongW +0x126 (0x7e3689cd
> <USER32.dll+0x89cd>)
> # 9 USER32.dll!DispatchMessageW +0xe (0x7e368a10
> <USER32.dll+0x8a10>)
> #10 iup.dll!IupMainLoop +0xa5 (0x10052c76
> <iup.dll+0x52c76>)
> #11 main
> [c:\usr\src\rcpdv\app.c:199]
>
> Error #115: LEAK 76 direct bytes 0x0330dcc0-0x0330dd0c + 5098 indirect
> bytes
> # 0 replace_malloc
> [e:\b\build\slave\win-builder\drmemory\common\alloc_replace.c:2576]
> # 1 iup.dll!iupObjectCheck +0x41 (0x10006ab2
> <iup.dll+0x6ab2>)
> # 2 iup_payment_window_new
> [c:\usr\src\rcpdv\payment_iup.c:489]
> # 3 iup_unit_payment_action
> [c:\usr\src\rcpdv\unit_iup.c:980]
> # 4 iup.dll!iupdrvRegisterDragDropAttrib +0x1499 (0x1006137a
> <iup.dll+0x6137a>)
> # 5 iup.dll!iupdrvBaseSetTipVisibleAttrib +0x1a98 (0x10055039
> <iup.dll+0x55039>)
> # 6 iup.dll!iupdrvBaseSetTipVisibleAttrib +0x212c (0x100556cd
> <iup.dll+0x556cd>)
> # 7 USER32.dll!GetDC +0x6c (0x7e368734
> <USER32.dll+0x8734>)
> # 8 USER32.dll!GetDC +0x14e (0x7e368816
> <USER32.dll+0x8816>)
> # 9 USER32.dll!GetParent +0x16b (0x7e37927b
> <USER32.dll+0x1927b>)
> #10 USER32.dll!SendMessageW +0x48 (0x7e3792e3
> <USER32.dll+0x192e3>)
> #11 USER32.dll!CreateMDIWindowA +0x1bc (0x7e39ff7d
> <USER32.dll+0x3ff7d>)
>
> Best,
>
> Ranier Vilela
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance APM
> + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor
> end-to-end web transactions and take corrective actions now Troubleshoot
> faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________ Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance APM
> + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor
> end-to-end web transactions and take corrective actions now Troubleshoot
> faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________ Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance APM
> + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor
> end-to-end web transactions and take corrective actions now Troubleshoot
> faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________ Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users