The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 FILE I/O Problems
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

FunWithNumbers88

USA
3 Posts

Posted - 07/29/2011 :  3:27:20 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.51
Operating System: Windows 7

I've included Origin.h, which itself includes File.h and stdio.h, but I still get the error:

Member function Folder::MakeActive not defined or does not have matching prototype
Member function stdioFile::open not defined or does not have matching prototype

Wtf? How do I fix this? I'm not sure where all these externed files are kept, so it could be that even though Origin.h includes them, there is no actual functionality underneath.

22s!

Penn

China
644 Posts

Posted - 07/31/2011 :  10:05:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I am afraid that neither of the mentioned functions exists in Origin C. Maybe you can refer to Folder::Activate method and File::Open(pay attention to the capital letter "O") method.

Penn
Go to Top of Page

FunWithNumbers88

USA
3 Posts

Posted - 08/01/2011 :  12:09:32 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yea I fixed it. It was a silly mistake 'O' instead of 'o'.

I got mixed up because a tutorial I was reading used the wrong activation method...I searched the Wiki for the correct version.

22s!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000