n_codrington Posted January 27, 2012 Report Posted January 27, 2012 Hello, What do I have to do to import FSUIPC into my VB.Net projects? I have the following code: Imports FSUIPCPublic Class Form1[/CODE]and I always get a squiggly line underneath "FSUIPC" denoting a problem with my code.I know I'm missing something, but what?Nathan
Pete Dowson Posted January 27, 2012 Report Posted January 27, 2012 What do I have to do to import FSUIPC into my VB.Net projects? Sorry, I don't know what that means. FSUIPC's DLL is an FS module, it isn't a DLL which is directly accessible externally. You have to program to the interface it supports. Have you looked at the VB example in the FSUIPC SDK? Also check out the FSUIPC Client DLL for .NET - Version 2.0 thread in the Download Links subforum. Most folks using .Net languages other than C or ASM find using Paul Henty's interface a lot easier. Regards Pete
n_codrington Posted January 27, 2012 Author Report Posted January 27, 2012 Hi Pete. Thanks for the speedy response. By "import" I mean the way I reference it in Visual Basic. I've looked at the samples in the SDK, and that doesn't even use the "imports" statement in the VB.Net example so I'm confused. I read this post: http://forum.simflight.com/topic/69100-fsuipcdll-in-vb-2010-express-net-calculating-touchdown-rate/page__view__findpost__p__430207, in whichDaan van der Spek used the Import statement, and apparently that works for him as far as connecting to FS goes.
Pete Dowson Posted January 27, 2012 Report Posted January 27, 2012 By "import" I mean the way I reference it in Visual Basic. Sorry, I don't know what that does. But I read this post: http://forum.simflig...post__p__430207, in whichDaan van der Spek used the Import statement, and apparently that works for him as far as connecting to FS goes. That thread was definitely about Paul Henty's DLL, to which I provided a reference in my previous reply. I suggest you start there! Regards Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now