- Messages
- 14
- Country
-
Hi,
I am trying to get a DLL to load upon MSFS startup based on this post
Here is the xml entry I add in exe.xml
I have verified that the file does indeed exist.
The DLL is meant to create a log file as soon as the DLLStart function is called. Since this file is not being created, I assume it is not loaded.
It should also start a socket, which is not started. That could be down to a programming issue, but it works on P3D and the fact that the log file is not created make me think that the socket not starting is due to the DLL not being loaded, and not an issue in the code.
I should also point out that the DLL depends on another one, which is alongside the one I load here. Should an entry be added for this one as well maybe ?
Am I doing something wrong?
Thanks !
Cheers
Noah
I am trying to get a DLL to load upon MSFS startup based on this post
Here is the xml entry I add in exe.xml
XML:
<Launch.Addon>
<Name>A name</Name>
<Disabled>false</Disabled>
<Path>C:\path-to-my-dll.dll</Path>
</Launch.Addon>
I have verified that the file does indeed exist.
The DLL is meant to create a log file as soon as the DLLStart function is called. Since this file is not being created, I assume it is not loaded.
It should also start a socket, which is not started. That could be down to a programming issue, but it works on P3D and the fact that the log file is not created make me think that the socket not starting is due to the DLL not being loaded, and not an issue in the code.
I should also point out that the DLL depends on another one, which is alongside the one I load here. Should an entry be added for this one as well maybe ?
Am I doing something wrong?
Thanks !
Cheers
Noah