473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

WAPI

I have a WAPI function which return a pointer address. I always get
Odd number of the memory address. I called the provider of the WAPI,
they said their function have no problem in VC++. Some some experts
double check my vb.net WAPI declare?

Provider VC++ declare:

DLLimport DWORD WINAPI HICAP200_dw_LockWait4GetImageAddrEx
(DWORD IN_dwChannel,
DWORD *IN_dwImageAddr,
DWORD IN_dw4CC,
DWORD IN_dwBLOCKFlag,
DWORD IN_dwWaitmSec);
My declare in VB.NET:

<DllImport("xyz.dll",
EntryPoint:="_HICAP200_dw_LockWait4GetImageAddrEx@ 20")> _
Private Shared Function HICAP200_dw_LockWait4GetImageAddrEx _
(ByVal IN_dwChannel As Integer, ByRef IN_dwImageAddr As Integer, _
ByVal IN_dw4CC As Integer, ByVal IN_dwBLOCKFlag As Integer, _
ByVal IN_dwWaitmSec As Integer) As Integer
End Function
The parameter IN_dwImageAddr is the pointer address that I want. It is
an Odd number in vb.net. Thanks.
Nov 20 '05 #1
0 960

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: google account | last post by:
Hiya. My CEO wants me to think about the direction the company's product should take. He has a bunch of guys offshore that develop with .NET, and he is keen to use them to build our product...
4
by: Ali Burns | last post by:
Has anybody had any luck with coding to the Bloomberg API in C#? I have tracked down sufficient code to return data synchronously i.e. subscribe a ticker and fields and return one set of results,...
2
by: Manoj Nair | last post by:
Hi, Can we retrieve the target of a .lnk file through c# code. Can the application that is run by the .lnk file also be retrieved. thanks Manoj
6
by: ABC | last post by:
I write the code as: <asp:LinkButton ID="LinkButton2" Text='<%# Eval("Title") %>' PostBackUrl='file://<%# Eval("path") %>' runat="server"></asp:LinkButton> But It don't work to download or open...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.