Do you have to make the setting for each solution? Still don't know why the compiled dll isn't functioning
#define STRICT
#define ORBITER_MODULE
#define ENG 1
#define START 2
#define STOP 3
#define CANNON 4
#include "orbitersdk.h"
#include "mobile3c.h"
#include "OrbiterSoundSDK3.h"
#include "stdafx.h"
VISHANDLE MainExternalMeshVisual = 0;
void MOBILE3C::clbkPostCreation (void)
{
JohnSoundID=ConnectToOrbiterSoundDLL3(GetHandle());
RequestLoadVesselWave3(JohnSoundID,ENG,"Sound\\Vessel\\Mobile\\Mobile-go.wav",BOTHVIEW_FADED_FAR);
RequestLoadVesselWave3(JohnSoundID,START,"Sound\\Vessel\\Mobile\\Mobile-start.wav",BOTHVIEW_FADED_FAR);
RequestLoadVesselWave3(JohnSoundID,CANNON,"Sound\\Vessel\\Mobile\\cannon.wav",BOTHVIEW_FADED_FAR);
SoundOptionOnOff3(JohnSoundID,PLAYMAINTHRUST,FALSE);
You are being rather vague here. What is your DLL? Is it a vessel? If so does it have:
a j2200.cfg file in the Config folder?
a mesh in the Meshes folder?
an entry in the scenario file you are running?
If you open the scenario editor is it listed as an available vessel type when you click "new"?