Pic32 Fat32_ChangeDir

General discussion on mikroBasic PRO for PIC32.
Post Reply
Author
Message
OldSpring
Posts: 134
Joined: 07 Feb 2007 00:01

Pic32 Fat32_ChangeDir

#1 Post by OldSpring » 01 Mar 2017 02:28

MikroBasic Pic32 team:

We use mikroBasic pro for Pic32 long time. Now We are using it to compile our old project, Fat32_ChangeDir function refused to work for us? We have tried 3.6.0 and 3.6.1, not work for us. But this code works for our products. We used old version to made it 2-3 years ago.

Now we found the problem when we use:
'if (0 = Fat32_ChangeDir(DirName)) then
.........
'end if

compiler will show Red Text:
327 Incompatible types("complex type" to "simple type")

If we don't use Fat32_ChangeDir, every thing ok.

Now we need to know: Is it our code problem or your compiler problem?

Please help us. Thank you

Chip info:
Pic32MX695F512L Freq: 80Mhz

OldSpring
Posts: 134
Joined: 07 Feb 2007 00:01

Re: Pic32 Fat32_ChangeDir

#2 Post by OldSpring » 01 Mar 2017 14:17

Any help?

User avatar
danilo.milovic
mikroElektronika team
Posts: 501
Joined: 05 Dec 2016 14:59

Re: Pic32 Fat32_ChangeDir

#3 Post by danilo.milovic » 01 Mar 2017 15:07

Hi,

can you send me simple code example in .zip archive so I can try to reproduce the issue.

Regards,

Danilo

OldSpring
Posts: 134
Joined: 07 Feb 2007 00:01

Re: Pic32 Fat32_ChangeDir Solved

#4 Post by OldSpring » 01 Mar 2017 19:59

Hi,danilo.milovic:

Thank you for fast reply. The problem just solved. It's a pointer data type. :oops:

Best regards,

Post Reply

Return to “mikroBasic PRO for PIC32 General”