I have uploaded a sample plugin to the beta site, grab it
here. If you have questions about how to use this feel free to post here.
Contact me if you wish to receive a Scmdraft 2 version with explicit errors during plugin loading. The public prerelease #5 will not load custom plugins, this is added in prerelease #6
umm yea what files do i copy to where to load the plugin
I don't think any of the current copies of scmd2 actually load plugins
And I'm pretty sure that's just an empty shell that holds the "header" of the plugin.
Actually, prerelease #6 was released because it loads plugins.
The sample plugin just shows you a message box, you'll have to add code if you want it to do more.
IE; create a plugin yourself, like TrigEdit.
Would anyone mind making a basic tutorial on how to make plugins?
You would need to know how to program. There is no real way to create a program...
These plugins are basically programs that use what SCMD2 gives it and gives it back to SCMD2 to use.
Do the Sample Plugins load C++? I saw a source thing there with a *.CPP extension. Will it load that code or do I have to code it with VB.
agin I ask you, where is the message box?
It's in C++. You have to learn the language if you want to program a plugin.
The message box is in the center of your screen.
I know very basic CPP. Basically i can do math in cpp. Nothing complex. But i dont even know where to start with the plugin specs.
I use Dev-C++ rather than MS Visual Studio so i cant load the project. Id still like to learn though
You can load all other parts of the project though.
you'll need to make a new .dll project with the source files then
After adding all the file's to your empty project, don't forget to add and change the Scmdraft Plugin.def from LIBRARY "Scmdraft Plugin" to whatever the name of your plugin is.
Extract everything out of the zip file first.
and make sure you keep the directory structure, it sounds like you dumped it all in a folder instead of having trigedit in the plugins folder
Hi when i open my SCMdraft file it goes to a screen that says "selet Profile" and then i hit ok then this thing pops up that says "Error Loading Plugin" what did i do wrong and what do i need to do to correct this error??
you know where SCMDraft 2 was installed, tehres a folder in thet folder and thats where u paste the plugin file u have then in SCMDraft 2 Pre-release #6, on the menu, theres a drop down menu containing all the plugins in that folder, alst time i chked anyway
Plug-ins? When i first downloaded SCMD2 i already had all the plugins... so i have no idea what ur talking about
Just incase anyone would like to know:
I recently ported SI's C++ plugin to a C++.net plugin. This method allows you to use both Native and Managed code at the same time in your plugin. You could also just use managed. It's great for those who can't get a resource editor for C++, because they can still use Windows Forms with C++.net for there GUI.
For more information just PM me. Once I clean out my code and get my comments in there i'll post it up.
Using C++.net opens up other great things. Because managed languages work extremely well togeather, you can also use the plugin to run other managed dll's such as C# or VB.net. This means that if you are experienced in VB.net and C# but not C++.net you can write all your code in VB.net or C#!!
If your interested or would like a better\furthor explanation in any of the above just PM me