New topic: plugins for windows (DLLs ) : Is C++ needed to create them?
<http://forums.realsoftware.com/viewtopic.php?t=37978> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message spacewalker Post subject: plugins for windows (DLLs ) : Is C++ needed to create them?Posted: Mon Mar 07, 2011 12:19 pm Joined: Thu Nov 08, 2007 4:59 am Posts: 344 Location: Germany Hello, I just have read an article about creating RB plugins in the RB developer magazin It is said that for windows a plugin is basically a .DLL (native, no .NET) and that such .DLL can be copied into the RB plugin directory. I'm curious: The plugin SDK contains samples for C++... but I wonder how I could create a windows plugin (in other words : a .DLL) using other languages than C++ - for example Delphi or maybe even another BASIC compiler that can create .DLL files... ? The SDK contains header files for C... so I guess these files must be somehow translated to be used in other languages. What that be a difficult task or possible at all? Heinz Top swort Post subject: Re: plugins for windows (DLLs ) : Is C++ needed to create thPosted: Mon Mar 07, 2011 12:35 pm Joined: Mon May 31, 2010 5:35 am Posts: 671 spacewalker wrote:Hello, I just have read an article about creating RB plugins in the RB developer magazin It is said that for windows a plugin is basically a .DLL (native, no .NET) and that such .DLL can be copied into the RB plugin directory. I'm curious: The plugin SDK contains samples for C++... but I wonder how I could create a windows plugin (in other words : a .DLL) using other languages than C++ - for example Delphi or maybe even another BASIC compiler that can create .DLL files... ? The SDK contains header files for C... so I guess these files must be somehow translated to be used in other languages. What that be a difficult task or possible at all? Heinz Plugins for REAL Basic are C/C++ (wich end on the .rbx file type) These can not be build with other languages i think. DLL's are windows only as you said, they are not like plugins, as you have to use declares with dll's in order to use them in RB. You can build them in VB.NET, C#.NET, Delphi, C, C++(.NET) and so on but only use with windows. _________________ SWORTâ¢, it stands for Secure Web Object Realtime Transfer⢠- Windows Vista AND Linux Ubuntu 10.04 LTS - REAL Studio Enterprise(latest) and WEB Edition(latest) - REAL SQL Server 2009 Source of the Dutch User Groups Top timhare Post subject: Re: plugins for windows (DLLs ) : Is C++ needed to create thPosted: Mon Mar 07, 2011 1:11 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 9395 Location: Portland, OR USA Plugins ARE dll files - ie., they are dynamic library files for the platform: .dll on Windows, .so on linux, .dylib on Mac. They are collected into an .rbx file that contains a lib file for each platform. The file for the correct platform is included in the app when you compile. There is no real restriction on the language used to create the dll, as long as it creates a format that is compatible with RB - the traditional "C" style dll - and includes the entry points required by RB (as defined in the C headers). Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ]
-- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
