⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wpw_wapi_dll_95.html

📁 VC programing
💻 HTML
字号:
<HTML>
<HR><A NAME=WINAPI_DLL_FIND>
Return to <a href="wpw_wapi_index.html#TOC">Table of Contents for this chapter</a><br>
<H4>Subject: Finding which DLL's an executable requires</H4><PRE>
alan@jac.co.uk (Alan Murphy) wrote: 
>Is there a command that will give a list of DLL's that an executable 
>requires to run (similar to the UNIX SVR4 command 'ldd') 
>eg 
>       Command My.exe 
> 
>               This.dll 
>               That.dll 
> 
 
There may be a more elegant way (particularly if you don't mind writing 
a little utility to read the PE file format directly), but a quick and 
dirty approach I've used is "dumpbin -imports My.exe | grep -i .dll" 
where dumpbin.exe is a very handy little utility in the WIN32 SDK. 
 
Phil McGraw
</PRE>

<HR><A NAME=WINAPI_DLL_IN_DOS_WINSOCK>
Return to <a href="wpw_wapi_index.html#TOC">Table of Contents for this chapter</a><br>
<H4>Subject: Use Winsock DLL in DOS app</H4><PRE>
In article <magma.803130567@bix.com>, magma on BIX <magma@BIX.com> wrote:
>mhouser@io.org (Matt Houser) writes:
>
>>Is it possible to interface Winsock.dll with a DOS Program?
>
>It may be possible if you use the Borland PowerPack. The PowerPack lets
>you load assorted Windows DLLs. We have used the PowerPack successfully with
>the MEWEL User Interface Library, and have loaded a lot of existing
>Windows DLLs into our apps. Things like ODBC.DLL, custom controls,
>charting packages, etc.

How did you do it?  I have tried unsuccessfully to load any dll using PowerPak.
I tried linking with the import library, loading the dll directly with 
LoadLibrary, but neither worked.  I gave up when what I read the PowerPak 
manual and interpreted what they were doing as just simulating a subset of 
the Win32 API.

Correct me if I am wrong.  PLEASE!!!

I have been looking for a way to do TCP/IP from a DOS box too, without any luck.
I eventaully gave up and used NETBIOS over TCP/IP, with a special server on the
unix host.

Frank
-- 
     Frank Tkalcevic                                         _--_|\
     Email:  frank@unico.com.au                             /      \ 
     UNICO Computer Systems, Melbourne, Australia           \_.--.*/
     "Complex software on line, on time"                          v
	 
</PRE>
 

</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -