Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
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