| View previous topic :: View next topic |
| Author |
Message |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Fri Dec 28, 2007 5:34 pm Post subject: [C++] LPCVOID |
|
|
What is an LPCVOID? (I'm looking for the signature, for when converting C++ things to managed code). I used VS to find the type definition, and it said:
| Code: |
typedef CONST void far *LPCVOID;
|
o.O
Edit:
After a bit of research (GEWGLE), I'm gonna guess that it's a constant pointer of any type? I'm really not sure though.
_________________
|
|
| Back to top |
|
 |
the_undead Expert Cheater
Reputation: 1
Joined: 12 Nov 2006 Posts: 235 Location: Johannesburg, South Africa
|
Posted: Fri Dec 28, 2007 5:53 pm Post subject: |
|
|
just use IntPtr
_________________
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Fri Dec 28, 2007 6:47 pm Post subject: |
|
|
constant far pointer to void
only abnormal thing about that is far and that does not matter on 32 bit architectures
_________________
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Fri Dec 28, 2007 6:50 pm Post subject: |
|
|
| the_undead wrote: | | just use IntPtr |
Alright, thanks.
Edit:
I'd rep you, but I apparently have to wait like 11 hours.
_________________
|
|
| Back to top |
|
 |
the_undead Expert Cheater
Reputation: 1
Joined: 12 Nov 2006 Posts: 235 Location: Johannesburg, South Africa
|
Posted: Fri Dec 28, 2007 6:54 pm Post subject: |
|
|
Dont worry about it dude
_________________
|
|
| Back to top |
|
 |
|