// Export the variable // In practice, we would export functions along with this, typically only once set, state variable __declspec(dllexport) int shared_variable = 42;