image analysis and 64bit OS

Posted by picciopiccio on Stack Overflow See other posts from Stack Overflow or by picciopiccio
Published on 2010-03-20T08:13:14Z Indexed on 2010/03/20 8:21 UTC
Read the original article Hit count: 397

I developed a C# application that makes use of Congex vision library (VPro). My application is developed with Visual Studio 2008 Pro on a 32bit Windows PC with 3GB of RAM.

During the startup of application I see that a large amount of memory is allocated. So far so good, but when I add many and many vision elaboration the memory allocation increases and a part of application (only Cognex OCX) stops working well. The rest of application stills to work (working threads, com on socket....)

I did whatever I could to save memory, but when the memory allocated is about 700MB I begin to have the problems. A note on the documentation of Cognex library tells that /LARGEADDRESSWARE is not supported. Anyway I'm thinking to try the migration of my app on win64 but what do I have to do?

  • Can I simply use a processor with 64bit and windows 64bit without recompiling my application that would remain a 32bit application to take advantage of 64bit ? Or I should recompile my application ?
  • If I don't need to recompile my application, can I link it with 64bit Congnex library?
  • If I have to recompile my application, is it possible to cross compile the application so that my develop suite is on a 32bit PC?

Every help will be very appreciated!!

Thank in advance

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about 32bit-64bit