RE: Win API Wrapper: How to write them?
From: John Eikanger [MSFT] (johnei_at_online.microsoft.com)
Date: 05/07/04
- Next message: John Eikanger [MSFT]: "RE: How can I set by default for printer landscape or portrait orientation?"
- Previous message: Duane Bozarth: "Re: Win API Wrapper: How to write them?"
- In reply to: Chris Wagner: "Win API Wrapper: How to write them?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 07 May 2004 23:30:00 GMT
Hi, Chris
It looks like the folks here have you on the right track
Here is a link to a document that may prove useful to you:
http://www.mvps.org/vb/index2.html?tips/vb5dll.htm
Another useful tool is the dependency walker, a free download from
www.dependencywalker.com. Load the compiled DLL from it and it will
display the entry points. Depending on the calling conventions, the DLL
entry points may be easily usable or "decorated" (munged).
Hope this helps,
John Eikanger
Microsoft Developer Support
This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| From: "Chris Wagner" <so@hotmail.com>
| Subject: Win API Wrapper: How to write them?
| Date: Tue, 4 May 2004 18:54:28 -0700
| Lines: 5
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2096
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2096
| X-RFC2646: Format=Flowed; Original
| Message-ID: <uYh5oPkMEHA.3988@TK2MSFTNGP09.phx.gbl>
| Newsgroups:
microsoft.public.vb.general.discussion,microsoft.public.vb.winapi
| NNTP-Posting-Host: adsl-67-119-12-32.dsl.snfc21.pacbell.net 67.119.12.32
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA07.phx.gbl!TK2MSFTNGXA06.phx.gbl!cpmsftngxa0
6.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.vb.winapi:178726
microsoft.public.vb.general.discussion:500452
| X-Tomcat-NG: microsoft.public.vb.winapi
|
| I have about 5 to 10 API from a vendor and they don't supply VB warpper
for
| it. How hard is it to write a wrapper for VB. Is there a sample code just
to
| write one simple API? Thanks.
|
|
|
- Next message: John Eikanger [MSFT]: "RE: How can I set by default for printer landscape or portrait orientation?"
- Previous message: Duane Bozarth: "Re: Win API Wrapper: How to write them?"
- In reply to: Chris Wagner: "Win API Wrapper: How to write them?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|