samuel-rey / StripMaker

EuroScope plugin that creates and prints out customizable Flight Progress Strips
GNU General Public License v3.0
4 stars 2 forks source link

Unable to load Plugin (Euroscope Plugin Menu) #3

Closed danlovett closed 3 years ago

danlovett commented 3 years ago

Unable to actually load and test this plugin. 'Failed to load DLL Plugin' --> https://i.imgur.com/cP8ieyg.png

samuel-rey commented 3 years ago

Hi! Where is your ES exe located?

danlovett commented 3 years ago

Hello, 'C:\Program Files (x86)\EuroScope'

samuel-rey commented 3 years ago

Ahh, that's the problem then. I've got mine is Documents so didn't have that issue. If you copy everything to the Documents folder it should work, but I'll try to fix it so you don't need to do that. I'll update this ticket when it's done.

danlovett commented 3 years ago

Okay. I will try moving the plugin to where my ES exe is for now to see if this temporarily fixes this. Edit: Still doesn't work. Moved everything to docs and ran the exe from there and imported the plugin, same error response.

samuel-rey commented 3 years ago

Huh - I was just writing a response saying the only fix is to have the exe in documents, but if that doesn't work, that's weird. I'm currently on KK AIR, but after I come off, I'll try to debug this further.

samuel-rey commented 3 years ago

hi, can you try to delete both DLLs (stripmaker and fmt) and then extracting this DLL in documents/program files? Does it load in any of the locations? stripmaker_issue3.zip

danlovett commented 3 years ago

Hello, both where deleted. I tried using es exe from documents and program files, routing to the dll, in both Euroscope/ and UK/. No luck. https://i.imgur.com/IhqCjrW.png

samuel-rey commented 3 years ago

Hmmm... Let's see how far it gets. I've added some error windows at different points of the plugin startup, let me know if you see any of them. StripMaker-issue3-2.zip Edit: Try this one instead, I think the issue is a bit further back StripMaker-issue3-3.zip

danlovett commented 3 years ago

https://i.imgur.com/ykV4WPg.png still getting this. Just confirm what files i should have in the folder - just that one .dll file?

samuel-rey commented 3 years ago

OK, I think this one should do it. If it does load, add the StripMaker TAG items to your list and try to print a strip. If it crashes, try to unload UKCP and let me know. Thanks for bearing with me :) StripMaker-issue3-4withabitofgoodluck.zip

danlovett commented 3 years ago

Sam, It worked! And do not worry, I'm trying to create an SMR file at tho mo - not exactly going to plan. Loaded perfectly. There's now a new issue but ill create a new tab so people in the future can find the issue and fix 👍

samuel-rey commented 3 years ago

Just to clarify a bit - this was a problem with the build. I had released my debug build so it included debug features, however, it won't load unless you have Visual Studio installed. The first person that tested the plugin happened to have VS installed and ES installed in Documents, so that acted as a red herring that made me think it was something to do with ES :) next build will be done properly I guess