|
-
Nov 27th, 2000, 12:05 AM
#1
Thread Starter
transcendental analytic
If you can get the pointer to an object with objptr, how can you get the object from a pointer
Code:
dim temp as object,ptr as integer
set temp = new class1
ptr=objptr(temp)
set temp = ptrobjorwhatever(ptr)
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 27th, 2000, 05:27 AM
#2
Fanatic Member
I've seen an article about this somewhere, i'll try and find it...I think it was one of the MVP guys who did it...
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
-
Nov 27th, 2000, 06:18 AM
#3
Fanatic Member
Found It!!!
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
-
Nov 27th, 2000, 09:15 AM
#4
Thread Starter
transcendental analytic
Thanks! I thought you could do the trick with copymemory but i wasn't sure
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|