Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
VB OpenMaple Code Examples
Description
To use the VB OpenMaple code and examples shown in these help pages you must first add the extern/include/maple.bas file to your project. See your Maple installation for the file.
The maple.bas module is designed to work with Visual Basic 6.0. It will not work with VB7 (or VB.NET), primarily because the Long datatype is 32-bits in VB 6, and 64-bits in VB 7. Long is used as the Maple Object data-type (which is a 32-bit pointer).
Most examples refer to a variable kv, usually as a parameter to a sample subroutine. This variable is assumed to be assigned the value returned by StartMaple. To refer to kv from callbacks, this variable must be made global.
VB often does not release the Maple dll when it is interrupted during a computation. When working on a project in the VB IDE, Maple might not be in a recoverable state suitable for restarting after an arbitrary stoppage. This can lead to occasional crashes, which are not reproducible after restarting the IDE.
There is additional source code for more complicated examples in the samples directory of your Maple installation.
See Also
OpenMaple, OpenMaple/VB/API
Download Help Document