Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Could not load Fit file

Avatar
Rank

Total Posts: 1

Joined 2014-12-11

PM

Hello,
I want in C# load a test.fit file but get an error message here.
This after this call
Decode decodeDemo = new Decode(); 

The Error:
public class Decode
   {
      
#region Fields      
      
private MesgDefinition[] localMesgDefs = new MesgDefinition[Fit.MaxLocalMesgs];            
      private 
Header fileHeader;      
      private 
uint timestamp 0;
      private 
int lastTimeOffset 0;
      
#endregion 

VS 2010 win 7.0
Any ideas?
thanks
[edit]
I found the error
Set my vs compiler setting to x86 and it works.
[/edit]      

File Attachments

  • Test.fit (File Size: 1KB - Downloads: 644)

Signature

Capturing Your Picture