Thanks for the help! Adding extern "C" and changing the char* to a char** worked.
#ifndef MY_H_
#define MY_H_
extern "C" {
#include <stdio.h>
int my_main (int, char**);
}
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: mothur.westcott@gmail.com Search: Search took 0.05 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |