October 9, 200619 yr The SimConnect documentation states that you must use C or C++ to access SimConnect, unless you use the managed API, in which case you can use any of the Microsoft .Net language compilers. However I have found, after a bit of experimentation, that you can access the non-managed SimConnect API from VB and VBA, using appropriate DECLARE statements. I've posted some sample code over at the [a href=http://www.fsdeveloper.com/wiki/index.php?title=Accessing_SimConnect_From_VB]FSDeveloper Wiki.[/a]Cheers,Russ Dirks
October 10, 200619 yr That's excellent Russ. I'm new to VB and was hoping someone would "crack the code". This will help me as I continue learning how to write code that interfaces with FS.DougDell XPS Gen3 (3.6GHz/800FSB) | 2GB DDR SDRAM | 74GB SATA, 10k RPM (C: ) | 120GB SATA (D: ) | 512MB ATI Radeon X1900XTX (Catalyst 6.8) | Audigy 2 ZS Sound | MS Force Feedback 2 | WindowsXP Pro (SP2) | DirectX 9.0c Doug Miannay PC: i9-13900K (OC 6.1) | ASUS Maximus Z790 Hero | ASUS Strix RTX4080 (OC) | ASUS ROG Strix LC II 360 AIO | 32GB G.Skill DDR5 TridentZ RGB 6400Hz | Samsung 990 Pro 1TB M.2 (OS/Apps) | Samsung 990 Pro 2TB M.2 (Sim) | Samsung 990 Pro 2TB M.2 (Games) | Fractal Design Define R7 Blackout Case | Win11 Pro x64
October 24, 200619 yr I have tried running the application that is listed at WIKI, but it does not function and produces an error. I have included the path to the simconnect.dll in the declarations, but the error is "453, cannot locate entry point of DLL" and fails to run. Anyone else have an idea on using simConnect with VB6 or VB.NET 2005?
October 25, 200619 yr i did a ActiveX SimConnect very helpful for Delphi and VB6 guys.try here : http://www.mcdu.com/forum/viewforum.php?f=47
Create an account or sign in to comment