Search found 4 matches

by Donleary
Tue Oct 06, 2009 9:31 pm
Forum: Document Viewing
Topic: Memmory issue with GDViewer 4 OCX
Replies: 4
Views: 2196

Re: Memmory issue with GDViewer 4 OCX

please disregard the last post, the issue has been resolved. i was not disposing of the pointer after use: Dim BMP_PTR As New IntPtr BMP_PTR = MyBitmap.GetHbitmap() Me.DisplayWindow.CloseImage() Me.DisplayWindow.DisplayFromHBitmap(BMP_PTR) MyBitmap.Dispose() bd = Nothing DeleteObject(BMP_PTR) all wo...
by Donleary
Tue Oct 06, 2009 9:02 pm
Forum: Document Viewing
Topic: Memmory issue with GDViewer 4 OCX
Replies: 4
Views: 2196

Re: Memmory issue with GDViewer 4 OCX

yes, i did try releasing the bitmap prior to this thread, but in theory that is what the .net GC handles once the sub routine is exited (which isnt the best practice at all). i tried implimenting what you have suggested and it rendered the same results, page file just climbed to the point of a memor...
by Donleary
Tue Oct 06, 2009 7:24 pm
Forum: Document Viewing
Topic: Memmory issue with GDViewer 4 OCX
Replies: 4
Views: 2196

Memmory issue with GDViewer 4 OCX

Hello, we are having issues with the GD viewer (version 4) not releasing memmory when CloseImage() is called. we are currently using the viewer to diplay frames from a USB CMOS camera, each frame is recieved as raw image data then constructed into a bitmap. the problem is when CloseImage() is called...
by Donleary
Wed Dec 31, 2008 1:14 am
Forum: Document Viewing
Topic: Image viewer on XP Home
Replies: 1
Views: 1615

Image viewer on XP Home

Hello, I have paid for the full version of GD imageviewer activeX control. i have deployed my project on XP pro machines with no problem, but when I install on XP home the following does not work… What I am doing is altering a bitmap file in memory then displaying it to the image viewer like so: Dim...