<div>in Tue, 3 Jun 2003 a letter entitled Win32 GMP Port (notes for VB, Delphi, Pascal, PowerBasic, etc) by White, Jim <BR><A href="http://www.swox.com/list-archives/gmp-discuss/2003-June/000515.html">http://www.swox.com/list-archives/gmp-discuss/2003-June/000515.html</A><BR>said that we could call a deltatrinity's "ready-rolled" Win32 GMP DLL's by using a "wrapper DLL" written in PowerBasic he gave an example:<BR>TYPE MPF<BR> mp_prec AS LONG<BR> mp_size AS LONG<BR> mp_expt AS LONG<BR> mp_limb AS LONG<BR>END TYPE</div> <div> DECLARE SUB cMPFinit CDECL LIB "libgmp-3.dll" ALIAS "__gmpf_init" (X<BR>AS MPF)<BR> DECLARE SUB cMPFclear CDECL LIB "libgmp-3.dll" ALIAS "__gmpf_clear" (X<BR>AS
MPF)</div> <div> SUB MPFinit(x AS MPF) EXPORT<BR> CALL cMPFinit(x)<BR> END SUB</div> <div> SUB MPFclear(x AS MPF) EXPORT<BR> CALL cMPFclear(x)<BR> END SUB<BR>can someone please give more details about that, i wish to call GMP from VB6, just please a one just one simplest example on how to add two numbers by calling this "wrapper dll" from vb6<BR>i have made the above dll using powerbasic and put it in a directory with libgmp-3.dll and libgmp-3.lib but VB6 can't add a reference to this dll. what should i do,</div> <div>thanks</div> <div>peter<BR></div><p> 
                <hr size=1>Want to be your own boss? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index"> Yahoo! Small Business.</a>