Article View: free.it.visual-basic
Article #133GetProcAddress: come si usa?
From: Ciccio
Date: Fri, 16 Apr 2010 06:48
Date: Fri, 16 Apr 2010 06:48
18 lines
1433 bytes
1433 bytes
Vorrei chiamare questa funzione con GetProcAddress e CallWindowProc ma
non s� come si f�:
Dim idh As IMAGE_DOS_HEADER
Dim abExeFile() As Byte
and this call:
CopyMemory idh, abExeFile(0), Len(idh)
ho provato questo:
MyLib = LoadLibrary("kernel32")
MyCopyMem= GetProcAddress(MyLib , "CopyMemory")
CallWindowProcA(MyCopyMem, idh, abExeFile(0), Len(idh) )
ma mi d� errore di tipo.
Grazie per qualsiasi consiglio.
Ciao
Technical Details
Message-ID:
<2LTxn.158222$9f6.212650@twister1.libero.it>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!news.panservice.it!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f94ee,59322e061cc51161,start X-Google-NewGroupId: yes X-Google-Attributes: gid3de4ef2fba,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!news.panservice.it!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail From: Ciccio <ciccio.unicoTOGLIMI@libero.it> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; it; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 Newsgroups: free.it.visual-basic Subject: GetProcAddress: come si usa? Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Lines: 18 Message-ID: <2LTxn.158222$9f6.212650@twister1.libero.it> Date: Fri, 16 Apr 2010 06:48:30 GMT NNTP-Posting-Host: 151.58.8.3 X-Complaints-To: abuse@libero.it X-Trace: twister1.libero.it 1271400510 151.58.8.3 (Fri, 16 Apr 2010 08:48:30 MET DST) NNTP-Posting-Date: Fri, 16 Apr 2010 08:48:30 MET DST Organization: [Infostrada]