MerlinC
Hello together,
I'm planning to develop a PlugIn for rFactor1. Thererfore I downloaded the sample code from the rFactor Homepage as a starting point.
To better understand what the InternalPluginsV3 Demo is doing I tried to run the debugger from my IDE (Visual Studio 2010 Ultimate). After the automatic conversion of the project file to the visual studio 2010 format I could compile the source code and link the DLL file right away.
There was just a minor error message because of the attempt to copy the DLL to a directory which was not available. Thererfore I changed the output directory for the DLL to the rFactor\PlugIns Directory and cancelled the copy process.
Furthermore I configured the IDE to start rFactor.exe when debugging the DLL. Starting rFactor from the IDE without debugging (Visual Studio "Menu Debug/Start without Debugging") works fine. But if I try to the example code I get the following error message (assuming from rFactor).
View attachment 11802
Seems that I'm doing something wrong because I can't believe that all available plugins have been developed without using a debugger (just using trace messages written into files) not to talk about runtime optimization.
Any advise is highly appreciated.
Thanks in advance
Merlin
I'm planning to develop a PlugIn for rFactor1. Thererfore I downloaded the sample code from the rFactor Homepage as a starting point.
To better understand what the InternalPluginsV3 Demo is doing I tried to run the debugger from my IDE (Visual Studio 2010 Ultimate). After the automatic conversion of the project file to the visual studio 2010 format I could compile the source code and link the DLL file right away.
There was just a minor error message because of the attempt to copy the DLL to a directory which was not available. Thererfore I changed the output directory for the DLL to the rFactor\PlugIns Directory and cancelled the copy process.
Furthermore I configured the IDE to start rFactor.exe when debugging the DLL. Starting rFactor from the IDE without debugging (Visual Studio "Menu Debug/Start without Debugging") works fine. But if I try to the example code I get the following error message (assuming from rFactor).
View attachment 11802
Seems that I'm doing something wrong because I can't believe that all available plugins have been developed without using a debugger (just using trace messages written into files) not to talk about runtime optimization.
Any advise is highly appreciated.
Thanks in advance
Merlin