Hi,
Please help me spot where I go wrong. I cannot understand why the error.
The Code with error and full error are below.
Thanks
Error:
loaddll.cpp:6: error: invalid conversion from 'void*' to 'void (*)(wxString)'
lines 5, 6 and 7
typedef void (*helloSteve)(wxString);//takes string and Shows it!
helloSteve myFunc = myDLL->GetSymbol(wxT("helloSteve"));
myFunc(wxT("The DLL Just Works!"));