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
