Anyone have any links to resources on how to create dll's (title)? I'd like to learn, but visual c++ 6 isn't available anymore, an I downloaded express 2005. *feels like a total noob*
EDIT: What I am trying to do is create a command allowing me to create an error box. Here are my files:
Header
// Custom.h
namespace custom_commands
{
class cust_commands
{
public
// pop-ups an error message
static __declspec(dllexport) char errormsg(char a);
};
}
And my source file:
// cust command imp.cpp
#include "Custom.h"
#include <stdexcept>
using namespace std;
namespace custom_commands
{
char cust_commands::errormsg(char a)
{
void perror(const char *a);
}
}
Every time I build it it gives me an error for line 9 of the header file: syntax error; char should be preceded by ':'
Also, the Third Party Commands Tutorial should be updated. Visual C++ 6 isn't available anymore.