AnsweredAssumed Answered

AF SDK 64 bits Reference files

Question asked by jramirez on Jan 8, 2015
Latest reply on Jan 13, 2015 by Eugene Lee

Hi:

 

I developed an application using the AF SDK for 32 bits. Visual studio 2012 requires me to add the following references:

 

a) OSISOFT.AFSDK.dll

b) OSISOFT.AF.UI.dll

c) OSISOFT.AF.SECURITY.UI.dll

 

All those references are located in the directory c:\Program Files (x86)\PIPC\AF\Public….which is the 32 bits section. I set the target cpu as an x86 processor and everything works just fine.

 

I want to move the application to 64 Bits and changed the target cpu to x64, it compiles fine, but when I run the application I am getting this error:

 

"an attempt was made to load a program with an incorrect format"

 

It seems that the proper AF SDK references for 64 bits are not being included and I cannot find them in the location c:\Program Files\PIPC\AF\Public… which is the 64 bits section.

 

Which files should I include for 64 bits AF SDK development?, where are they located? How do I install them?

 

Best Regards

 

 

Jaime Ramirez

Outcomes