3 pièce(s) jointe(s)
DLL C++ (Code BLocks) ECxel/VBA (2007)
Bonjour à tous,
J'ai lu et essayé d'appliquer nombre de tuto et de discussion concernant les DLL entre C++ et VBA mais mon programme ne marche toujours pas, enfin j'arrive à avoir la fonction projet dans excel mais quand je l'appelle le résultat est TOUJOURS 0 au lieu d'une "gaussienne" centrée en nb d'humains/2 et de plus lorsque je reclique sur la case la barre de formule clignote... au dernier lancement ça a même fait planter tout mon pc...
Le projet marche très bien quand je reste sur Code Blocks donc c'est vraiment un problème dans la DLL ...
Je joins mes fichiers de code source. La seule fonction à exporter est projet(a,b,c,n) car la création de la DLL est obligatoire, on aurait pu traiter le projet uniquement avec Code Blocks et celle ci aurait alors été mon main...
Merci pour votre aide