Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
FunWithNumbers88
Posted - 08/01/2011 : 12:14:45 PM Origin Ver. and Service Release (Select Help-->About Origin): 8.51 Operating System: Windows 7
So, I've created a header file:
void PrintTxtToWorkSheet(stdioFile);
Then I link it with:
#include <FullPathName.h>
But when I call it:
PrintTxtToWorkSheet(InputFile);
I get:
Virtual Function of Type base being called, please override the function in your derived class.
But I don't have any classes yet. I have a simple cpp file, that defines the function PrintTxtToWorkSheet above the main, which calls the included function.
So, how do I use header files in Origin C? Is there anyway I can not use the full path name everytime?
22s!
1 L A T E S T R E P L I E S (Newest First)
cpyang
Posted - 08/01/2011 : 8:14:57 PM
#include "FullPathName.h"// same location as .cpp
When using <FullPathName.h>, it assumes the header to be in Origin's system folder.