<div id="RTEContent"><b><i>Martin Peach &lt;martinrp@vax2.concordia.ca&gt;</i></b> a écrit&nbsp;:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  Gonzague DDR wrote:<br>&gt; <br>&gt; */Martin Peach <martinrp @vax2.concordia.ca="">/* a écrit :<br>&gt; <br>&gt;     Gonzague DDR wrote:<br>&gt;      &gt; Hi all .<br>&gt;      &gt; I want/try/need to buid an external with vc++6 and the dll is<br>&gt;     created<br>&gt;      &gt; without any error nor warning, but pd's console says :<br>&gt;      &gt;<br>&gt;      &gt; # tried D:\\obj1\\Debug\\obj1.dll and succeeded<br>&gt;      &gt; # load_object: Symbol "obj1_setup" not found<br>&gt;      &gt; # newpd<br>&gt;      &gt; # ... couldn't create<br>&gt;      &gt;<br>&gt;      &gt; i'm not a developer but i'm sure it's nothing important<br>&gt;      &gt; can someone help ?<br>&gt; <br>&gt;     You probably forgot to put this magic incantation in front of the<br>&gt;    
 declaration of obj1_setup:<br>&gt; <br>&gt;     __declspec(dllexport)<br>&gt; <br>&gt;     This tells vc to export the name. Other compilers seem to do this<br>&gt;     automatically or with flags like -shared and -export_dynamic.<br>&gt; <br>&gt;     Martin<br>&gt; <br>&gt; <br>&gt; <br>&gt; I imagine that "declaration of obj1_setup:" means , in the obj1.c , <br>&gt; where it's writen "void obj1_setup(void)"<br>&gt; But where shall i put this magic incantation ? ( and how ;?)<br>&gt; I tried here and there , but even if vc do not return errors, i have the <br>&gt; same Symbol not found from pd ...<br><br>Yes it's like:<br>__declspec(dllexport) void obj1_setup(void);<br>for the prototype, and<br>__declspec(dllexport) void obj1_setup(void)<br>for the function.<br><br>Martin<br><br></martinrp></blockquote><br>  Magic&nbsp; °) !<br>  Thank you : it works perfectly .<br>  <br>  Shall we put this line in the pd/doc/6.externs/obj1.c&nbsp; ?<br>  <br>  <br></div><p>
                <hr size=1> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com">Téléchargez</a> la version beta.