Hello Thomas,<br><br>I think I'm trying to do something similar but with a standard library I (think) am statically linking.&nbsp; I'm getting link errors about unresolved externals.&nbsp; I am try to build the wpa_cli into a class.
<br><br>I think my problem is about a class (cpp) file not understanding a lib build from straight &quot;C&quot; and thereby not finding a c style functions.<br><br>Either I'm getting forgetful (very possible), or involved with .net too much too recently to remember (also possible) that I'm forgeting the way to link C-style functions into a cpp module and call those external functions.
<br><br>What am I forgetting?? Or am I forgetting that it is impossible.&nbsp; I thought I needed to declare the externals with something like __decl or with &quot;C&quot;&nbsp;&nbsp;&nbsp; inside the cpp file???????<br><br><br>thanks for any of your ideas,
<br><br>george<br><br><div><span class="gmail_quote">On 8/3/06, <b class="gmail_sendername">Thomas O'Hare</b> &lt;<a href="mailto:Tom@redtile.com">Tom@redtile.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello All!<br><br>I am using Dev-C++ in C++ mode to try and create an entry point into my<br>own DLL's based on the WinPCap Libraries.&nbsp;&nbsp;I need to export several of<br>my own functions to languages that do not inherently support C typed
<br>structures.<br><br>I am looking for the cleanest, fasted way to create an entry point for<br>my functions so I can use the DLL as a true library for the programming<br>languages lacking native structure support.<br><br>
I can open DLL's in these languages and call functions, but especially<br>&quot;chained&quot; (Next) structures are very very tricky to work with in any<br>language that does not have native support for C typed structures.
<br><br>Any docs, resources, suggestions, etc, are welcome.<br>--<br><br>Thanks,<br>~ Thomas O'Hare ~<br>President, RedTile, Inc. - DBA: RedTile Software<br>Web, Wireless, Network, Database &amp; Systems Software<br>+1.407.295.9148 ; +49.8651.717950 ; 
<a href="http://www.RedTile.Com/">http://www.RedTile.Com/</a><br>Operations Manager; Virtual FoxPro User Group<br><a href="mailto:Tom@VFUG.Org">Tom@VFUG.Org</a> ; <a href="http://www.VFUG.Org/">http://www.VFUG.Org/</a><br>
_______________________________________________<br>Winpcap-users mailing list<br><a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">
https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br></blockquote></div><br>