Loading...

create gdTwainpro2 and gdTwain2 instances

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

create gdTwainpro2 and gdTwain2 instances

Postby ctn » Tue Dec 16, 2008 11:28 am

Dear all

I got a problem to create an instance of gdTwain2 (GdTwain2.dll library) with at first line (_gdTwainType = null):

Code: Select all
      
_gdTwainType = Type.GetTypeFromProgID(_gdTwainClassName);
_gdTwainObject = Activator.CreateInstance(_gdTwainType);
_gdTwain = (Twain) _gdTwainObject;

private string _gdTwainClassName = "GdTwain2.Twain";


This works with gdTwainPro2 (GdTwainPro2.dll library) with:
Code: Select all
private string _gdTwainClassName = "GdTwainPro2.Twain";


Could you please help me?
Thank you
Br,
ctn
ctn
 
Posts: 57
Joined: Thu Dec 04, 2008 6:20 pm

Re: create gdTwainpro2 and gdTwain2 instances

Postby ctn » Tue Dec 16, 2008 1:30 pm

This issue has been solved.
gdTwain2 has not been properly installed.
ctn
 
Posts: 57
Joined: Thu Dec 04, 2008 6:20 pm


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest