Search found 26 matches

by justcode
Tue May 15, 2018 6:34 pm
Forum: TWAIN Acquisition
Topic: Asynchronous TWAIN Scanning [UPDATED]
Replies: 1
Views: 9549

Re: Asynchronous TWAIN Scanning [UPDATED]

These files are invalid zip files? I was unable to open them with Windows or 7zip
by justcode
Fri Aug 23, 2013 4:35 pm
Forum: Document Viewing
Topic: Scroll Bar Flashing
Replies: 2
Views: 1049

Re: Scroll Bar Flashing

The issue is that the library is setting focus to the scroll bars which according to Microsoft is a no-no. My solution is to stop focus from being given to the scrollbars when the control gets focus. You can subclass the control with MFC and override the OnSetFocus() handler and add the following co...
by justcode
Fri Sep 02, 2011 2:14 pm
Forum: COM interoperability
Topic: Com Interop wrappers not being generated by TLB
Replies: 4
Views: 1483

Re: Com Interop wrappers not being generated by TLB

Thanks for the quick response, sorry I forgot to mention how I generated the wrappers but you figured it out. For reference on the VS2008 compiler, I used the Project|Add Class, choose MFC Class From TypeLib, then browse and select the TLB file and select the interfaces I need from the list to gener...
by justcode
Fri Sep 02, 2011 2:08 pm
Forum: COM interoperability
Topic: Upgrade path for COM Interop applications
Replies: 2
Views: 989

Re: Upgrade path for COM Interop applications

Thanks, that is great news and will help out with the upgrade path, not having to re-generate new COM wrappers and recompile the apps each time we want to use the new versions is a big help. If new functions are added and we need them, then we can regenerate the new wrappers, else use the old ones. ...
by justcode
Thu Sep 01, 2011 8:06 pm
Forum: COM interoperability
Topic: Upgrade path for COM Interop applications
Replies: 2
Views: 989

Upgrade path for COM Interop applications

Hi, Once you install the .NET assemblies (ex: 8.0) and use the COM interop interface for that version, will the same COM interop interface work with the newer .NET assemblies (ex: 8.2) or is each COM interop DLL locked to a specific version of the .NET assembly? I am trying to figure out how to upda...
by justcode
Thu Sep 01, 2011 7:58 pm
Forum: COM interoperability
Topic: Com Interop wrappers not being generated by TLB
Replies: 4
Views: 1483

Com Interop wrappers not being generated by TLB

Hi, I originally generated wrapper classes for my MFC/C++ VS2008 project from the TLB file with GDPicture.NET 8.0 Ultimate Version and they generated fine. When you released 8.1 I regenerated the wrappers to find out that most of them were missing all the methods. Only CGdPicturePDF and CGdPictureIm...
by justcode
Mon Aug 22, 2011 4:17 pm
Forum: COM interoperability
Topic: What version .NET install for use with COM Interop
Replies: 1
Views: 989

What version .NET install for use with COM Interop

I was wondering how does COM Interop work with the different Framework versions available with GDPicture.NET 8? There are files for Framework 2.0, 3.0, 3.5 in the redist directory, does it matter which one I use for COM Interop? Should I detect the version of .NET installed and only install that ver...
by justcode
Wed May 11, 2011 2:03 pm
Forum: Image Processing & Document Imaging
Topic: TwainSetCapCurrentNumeric parameters differ from Get call.
Replies: 6
Views: 1782

Re: TwainSetCapCurrentNumeric parameters differ from Get cal

Will the change to the TwainSetCapCurrentNumeric call be released soon? I would like to have it in our next release and I'm close to completion. I also found another cool app to test troublesome twain scanners called Twirl TWAIN Probe. It provides full interactive control of the TWAIN API, making it...
by justcode
Thu May 05, 2011 5:07 pm
Forum: Image Processing & Document Imaging
Topic: TwainSetCapCurrentNumeric parameters differ from Get call.
Replies: 6
Views: 1782

Re: TwainSetCapCurrentNumeric parameters differ from Get cal

You are correct, I ran the Twister app on the scanner which tests the scanners capabilities and it returned the same values you did for those tags. Apparently they are invalid when the scanner driver is loaded. Twister is a TWAIN device analyzer - It is particularly good at detecting and analyzing c...
by justcode
Thu May 05, 2011 4:26 pm
Forum: Image Processing & Document Imaging
Topic: TwainSetCapCurrentNumeric parameters differ from Get call.
Replies: 6
Views: 1782

Re: TwainSetCapCurrentNumeric parameters differ from Get cal

You may want to take a closer look at the fix32 transformation code, I am getting some erroneous values from TwainGetCapCurrentNumeric for TW_FIX32 values. (Fujitsu M3091DC scanner) ICAP_BRIGHTNESS is supposed to be a range -1000 to +1000 and when I get the current value, it is: 3400.000 ICAP_CONTRA...
by justcode
Wed May 04, 2011 5:07 pm
Forum: Image Processing & Document Imaging
Topic: TwainSetCapCurrentNumeric parameters differ from Get call.
Replies: 6
Views: 1782

TwainSetCapCurrentNumeric parameters differ from Get call.

I need to save and restore scanner settings using the TWAIN calls supported by the control. The call TwainGetCapCurrentNumeric() returns a double value, I assume that I can retrieve TW_FIX32 values with this call. However, the companion call, TwainSetCapCurrentNumeric() takes a long as a parameter, ...
by justcode
Tue May 03, 2011 6:35 pm
Forum: Image Processing & Document Imaging
Topic: Autofeed and AutoScan issues
Replies: 9
Views: 1503

Re: Autofeed and AutoScan issues

To see if there are more pages to get when autoscan is enabled try this: BOOL CScannerSourceTWAIN::IsMorePages() { long lState = m_Image.TwainGetState(); // see if there are pages ready to transfer if( lState >= gd::TWAIN_TRANSFER_READY) return TRUE; return FALSE; } Before you start the scan you can...
by justcode
Mon Jul 12, 2010 3:14 pm
Forum: Image Processing & Document Imaging
Topic: Unable to read PhotometricInterpretation' tag 262 (hex 0x01)
Replies: 3
Views: 1170

Re: Unable to read PhotometricInterpretation' tag 262 (hex 0

Thanks, I was unaware of the 'DisableGdimgplugCodecs()' call and it's purpose. I have enough information now to handle this situation. I am still learning how the different calls interact with each other. It would be nice if the help was a little more technical on what the calls do, their use and pu...
by justcode
Fri Jul 09, 2010 2:17 pm
Forum: Image Processing & Document Imaging
Topic: Unable to read PhotometricInterpretation' tag 262 (hex 0x01)
Replies: 3
Views: 1170

Unable to read PhotometricInterpretation' tag 262 (hex 0x01)

Good Morning, We have quite a few multipage tiff documents that some of the pages are displayed as inverted. It was determined that the Tiff tag: 'Photometric' is set to 1 (MinIsBlack) which is probably a mistake or bug in another software that generated the images. To correct this issue we tried to...
by justcode
Mon May 17, 2010 10:02 pm
Forum: Image Processing & Document Imaging
Topic: gdimgplug.dll - entry point not found when loaded..
Replies: 5
Views: 2193

Re: gdimgplug.dll - entry point not found when loaded..

I installed the SDK on a 2003 Server and the test application ran fine. I am in the process of getting another Windows 2000 PC to test this on to confirm this is the case, but I assume it will fail. I tried opening gdimgplug.dll with Depends.exe on my Windows 2000 development machine and it states. ...