Loading...

problem building on vista

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

problem building on vista

Postby dcoffey » Fri Aug 08, 2008 12:54 am

I was using gdpicture4, I also downloaded and tried gdpicturepro5

with vs2008 vb.net on vista machine, when I run app I get

Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

when executing this line

If Not Imaging1.TwainOpenDefaultSource Then MsgBox("Can't open default source !")


Please help!
dcoffey
 
Posts: 7
Joined: Mon Feb 11, 2008 1:37 am

Re: problem building on vista

Postby Loïc » Fri Aug 08, 2008 9:47 am

Hi,

I tried to reproduce this behavior using vs2008 & Vista without any "success".

Are you using the last edition of GdPicture ?

Could you write a small application which raise the error on your computer and send me it at esupport (at) gdpicture (dot) com ?

Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: problem building on vista

Postby MIKES » Fri Aug 08, 2008 2:21 pm

FYI, I remember seeing this same problem when I started with GdPicture a week ago.
I am on VS2005 SP1, VB-NET, Vista Business SP1, User is a STD User, Starting VS2005 with "run as administrator" rights, GdPicturePro5.

This was all installed onto a new, clean system.

I do not remember exactly the cause or resolution.
It was something I was doing, or how my system was configured.

Hmm, it may have been the reference I added.
I think at first I just added reference to gdpicturepro5.ocx.
Then looking at samples, saw it instead needed to reference AxInterop.gdpicturepro5.DLL and Interop.gdpicturepro5.DLL

Tried to replicate. Does not look to be caused by an incorrect reference.
Last edited by MIKES on Fri Aug 08, 2008 6:31 pm, edited 2 times in total.
Mike S.
GdPicturePro.Net v6.2.14
GdPicturePro5 v5.8.0
Vb.Net /Visual Studio 2005
MIKES
 
Posts: 49
Joined: Thu Jul 31, 2008 8:03 pm
Location: Michigan

Re: problem building on vista

Postby dcoffey » Fri Aug 08, 2008 5:17 pm

I was having the issue before with a fingerprint library, and was told to turn DEP off,
this worked fine, but after the last round of vista updates, if you turn dep off, you computer
will blue-screen on boot

Does this help at all?
dcoffey
 
Posts: 7
Joined: Mon Feb 11, 2008 1:37 am


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest