<DIV>Bonjour</DIV>
<DIV> </DIV>
<DIV>I have a serious porblem with ExternalInterface. I created in my application a class Mirot_Connection which is a subclass of ExternalInterface. My class is presented as follow:</DIV>
<DIV> </DIV>
<DIV>
<DIV>(1) CormasNS.Models.Mirot defineClass: #Mirot_Connection<BR> superclass: #{External.ExternalInterface}<BR> indexedType: #none<BR> private: false<BR> instanceVariableNames: ''<BR> classInstanceVariableNames: ''<BR> imports: '<BR> CormasNS.Models.Mirot.Mirot_ConnectionDictionary.*<BR> '<BR> category: 'MirotCategory'<BR> attributes: #(<BR> #(#includeFiles #())<BR> #(#includeDirectories #())<BR> <STRONG><FONT color=#ff0000>#(#includeLibraryFIles #( 'C:\VW7\cormas\Models\Mirot\utils\dllc.dll'))</FONT></STRONG></DIV>
<DIV> #(#libraryDirectories #())<BR> #(#beVirtual false)<BR> #(#optimizationLevel #debug))</DIV>
<DIV> </DIV>
<DIV>When I execute my program, my class Mirot_Connect is automatically modified and I get a new definition of my class : </DIV>
<DIV>2)</DIV>
<DIV> CormasNS.Models.Mirot defineClass: #Mirot_Connection<BR> superclass: #{External.ExternalInterface}<BR> indexedType: #none<BR> private: false<BR> instanceVariableNames: ''<BR> classInstanceVariableNames: ''<BR> imports: '<BR> CormasNS.Models.Mirot.Mirot_ConnectionDictionary.*<BR> '<BR> category: 'MirotCategory'<BR> attributes: #(<BR> #(#includeFiles #())<BR> #(#includeDirectories #())<BR> <STRONG> <FONT color=#ff0000>((Core.Array new: 2) at: 1 put: #libraryFiles; at: 2 put: ((Core.Array new: 1) at: 1 put: (External.ExternalLibraryHolder basicNew instVarAt: 1 put: (External.ExternalLibraryHolder basicNew instVarAt: 1 put: 'C:\VW7\cormas\Models\Mirot\utils\dllc.dll'; instVarAt: 2 put: ((External.LinkedOrderedCollection new)); instVarAt: 3 put: nil; instVarAt: 4 put: CormasNS.Models.Mirot.Mirot_Connection; yourself); instVarAt: 2 put:
((External.LinkedOrderedCollection new)); instVarAt: 3 put: nil; instVarAt: 4 put: CormasNS.Models.Mirot.Mirot_Connection; yourself); yourself); yourself)<BR></FONT></STRONG> #(#libraryDirectories #())<BR> #(#beVirtual false)<BR> #(#optimizationLevel #debug))</DIV>
<DIV> </DIV>
<DIV>With this new definition, I can't execute my application, I get an error. I don't understand the problem, please explain the problem and if possible the solution.</DIV>
<DIV> </DIV>
<DIV>Best regards</DIV></DIV>
<DIV> </DIV>
<DIV>J'ai créé une classe Mirot_Connect qui se présente comme suit</DIV>
<DIV> </DIV>
<DIV>CormasNS.Models.Mirot defineClass: #Mirot_Connection<BR> superclass: #{External.ExternalInterface}<BR> indexedType: #none<BR> private: false<BR> instanceVariableNames: ''<BR> classInstanceVariableNames: ''<BR> imports: '<BR> CormasNS.Models.Mirot.Mirot_ConnectionDictionary.*<BR> '<BR> category: 'MirotCategory'<BR> attributes: #(<BR> #(#includeFiles #())<BR> #(#includeDirectories #())<BR> <STRONG><FONT color=#ff0000>#(#includeLibraryFIles #( 'C:\VW7\cormas\Models\Mirot\utils\dllc.dll'))</FONT></STRONG></DIV>
<DIV> #(#libraryDirectories #())<BR> #(#beVirtual false)<BR> #(#optimizationLevel #debug))</DIV>
<DIV> </DIV>
<DIV>Lorque j'exécute mon programme, la classe se transforme, et se présente comme suit:</DIV>
<DIV> </DIV>
<DIV>CormasNS.Models.Mirot defineClass: #Mirot_Connection<BR> superclass: #{External.ExternalInterface}<BR> indexedType: #none<BR> private: false<BR> instanceVariableNames: ''<BR> classInstanceVariableNames: ''<BR> imports: '<BR> CormasNS.Models.Mirot.Mirot_ConnectionDictionary.*<BR> '<BR> category: 'MirotCategory'<BR> attributes: #(<BR> #(#includeFiles #())<BR> #(#includeDirectories #())<BR> <STRONG> <FONT color=#ff0000>((Core.Array new: 2) at: 1 put: #libraryFiles; at: 2 put: ((Core.Array new: 1) at: 1 put: (External.ExternalLibraryHolder basicNew instVarAt: 1 put: (External.ExternalLibraryHolder basicNew instVarAt: 1 put: 'C:\VW7\cormas\Models\Mirot\utils\dllc.dll'; instVarAt: 2 put: ((External.LinkedOrderedCollection new)); instVarAt: 3 put: nil; instVarAt: 4 put: CormasNS.Models.Mirot.Mirot_Connection; yourself); instVarAt: 2 put:
((External.LinkedOrderedCollection new)); instVarAt: 3 put: nil; instVarAt: 4 put: CormasNS.Models.Mirot.Mirot_Connection; yourself); yourself); yourself)<BR></FONT></STRONG> #(#libraryDirectories #())<BR> #(#beVirtual false)<BR> #(#optimizationLevel #debug))</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>A cause de cette transformation, mon programme ne s'éxécute pas. Je ne comprends pas. Je vous bien prie de vouloir m'expliquer ce problème.</DIV>
<DIV> </DIV>
<DIV>Merci</DIV>
<DIV> </DIV>
<DIV>BELEM Mahamadou</DIV>
<DIV>Cel: 06 99 59 73 70</DIV><p>
                <hr size=1>
<b><font color=#FF0000>Appel audio GRATUIT</font> partout dans le monde</b> avec le nouveau Yahoo! Messenger<br>
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com">Téléchargez le ici !</a>