Solved

c declaration in vb

Posted on 2001-06-13
4
138 Views
Last Modified: 2010-07-27
how to write the following c declarationin vb

#define VNERR_BASE 0x20008000
#define ERROR_V   (VNERR_BASE | 0x01)
0
Comment
Question by:azsoft
  • 2
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
ID: 6187078
At the risk of having some new "expert" jump the points (again)

Const VNERR_BASE As Long = &H20008000&
Const ERROR_V As Long = VNERR_BASE OR &H01&


0
 
LVL 18

Expert Comment

by:bobbit31
ID: 6187199
> At the risk of having some new "expert" jump the points (again)

what do you mean? i don't see how anyone could give a more precise answer than that.
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 6189853
bobbit31, this was in reference to a similar "precise" answer which was jumped by a newbie and despite protest azsoft gave him/her the points instead!
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 6191483
lol... hate it when that happens ;)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question