cannot terminate process
cannot terminate process
hello,
after using dd 1.13.02, i have problems terminating the application.
i find that when the view window is being destroyed, i cannot release the device context of the wingdi device.
prior to issuing the releasedc, i do a m_pdevice.release(). but this function does not have a return value to test if successful. could failure of the release of the device cause the releasedc to fail also?
other than causing a memory leak, could this be a cause of the problem?
normally, the application should proceed to exitinstance after the view window is destroyed but this function is not being executed at all.
thanks...
robert,
1. is it possible to reproduce this problem in our odamfcapp sample?
2. did you put device context to device in manner cdwgviewer::createdevice() does it? (pproperties->putat("windowhdc", odrxvariantvalue((long)m_hwindowdc))

sincerely yours,
george udov