www.delorie.com/archives/browse.cgi | search |
Delivered-To: | listarch-cygwin AT sourceware DOT cygnus DOT com |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <000901be50f1$cffb83e0$11247aa3@sdf5_l1117.tatainfotech.co.in> |
From: | "S. Krishnaprasad" <s DOT krishnaprasad AT tatainfotech DOT com> |
To: | "Mumit Khan" <khan AT xraylith DOT wisc DOT EDU> |
Cc: | "cygwin" <gnu-win32 AT cygnus DOT com> |
Subject: | Help with Windows DLL |
Date: | Fri, 5 Feb 1999 15:55:09 +0530 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 4.72.3110.5 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
------=_NextPart_000_0006_01BE511F.E824E280 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks to Mumit I could finally create and use a DLL created in cygwin in a MSVC 6 console application. I used $ dllwrap --entry __cygwin_noncygwin_dll_entry AT 12 -o foo.dll --def = foo.def --add-stdcall-alias [object files] [libraries needed] After that I created the .LIB file using LIB.EXE of MSVC and I could = link to the DLL using both LoadLibrary method and directly using a call to the function = also. But when I try to use it in a Windows application it dosent work. It = also does not give=20 any errors. When I try to debug it it gives me error in NTDLL.DLL = module. Is there any option when creating the DLL as a Windows DLL=20 like --mswindows or something. I seem to have seen it being used = somewhere . Anybody Help Thanks in advance=20 S.Krishnaprasad krishnaprasad AT poboxes DOT com ------=_NextPart_000_0006_01BE511F.E824E280 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2>Thanks to Mumit I could finally create and use a DLL = created=20 in cygwin</FONT></DIV> <DIV><FONT size=3D2>in a MSVC 6 console application.</FONT></DIV> <DIV><FONT size=3D2>I used</FONT></DIV> <DIV><FONT size=3D2>$ dllwrap --entry __cygwin_noncygwin_dll_entry AT 12 -o = foo.dll=20 --def foo.def --add-stdcall-alias [object files] [libraries = needed]</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>After that I created the .LIB file using LIB.EXE of = MSVC and I=20 could link to the DLL</FONT></DIV> <DIV><FONT size=3D2>using both LoadLibrary method and directly using a = call to the=20 function also.</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>But when I try to use it in a Windows application it = dosent=20 work. It also does not give </FONT></DIV> <DIV><FONT size=3D2>any errors. When I try to debug it it gives me error = in=20 NTDLL.DLL module.</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Is there any option when creating the DLL as a = Windows=20 DLL </FONT></DIV> <DIV><FONT size=3D2>like --mswindows or something. I seem to have seen = it being=20 used somewhere .</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Anybody Help</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Thanks in advance </FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>S.Krishnaprasad</FONT></DIV> <DIV><FONT size=3D2><A=20 href=3D"mailto:krishnaprasad AT poboxes DOT com">krishnaprasad AT poboxes DOT com</A></= FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2></FONT> </DIV></BODY></HTML> ------=_NextPart_000_0006_01BE511F.E824E280 Content-Type: text/plain; charset= -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ------=_NextPart_000_0006_01BE511F.E824E280--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |