POV-Ray : Newsgroups : povray.off-topic : Inspect DLL Server Time
5 Sep 2024 07:27:21 EDT (-0400)
  Inspect DLL (Message 21 to 30 of 61)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Fredrik Eriksson
Subject: Re: Inspect DLL
Date: 12 Oct 2009 12:09:27
Message: <op.u1o251a97bxctx@e6600>
On Mon, 12 Oct 2009 17:09:06 +0200, Invisible <voi### [at] devnull> wrote:
> More puzzling: CoGetClassObject() allows you to get hold of any class by  
> its ClassID. CoCreateInstance() creates any object given a ClassID and  
> an InterfaceID. This gives you a pointer to the object's interface. But  
> I cannot find any way of actually calling methods. If you have a DLL,  
> you can do GetProcAddress() to look up a function and call it. But if  
> you have an interface pointer, there doesn't seem to be any way to call  
> methods of the interface...

An "interface" is a list of function pointers. In C and C++ the layout of  
an interface is typically described in a header file.



-- 
FE


Post a reply to this message

From: Darren New
Subject: Re: Inspect DLL
Date: 12 Oct 2009 12:32:23
Message: <4ad35a17$1@news.povray.org>
Invisible wrote:
> ...see a pattern yet?

Yes. It means Sun is too stupid to even know what a "GUID" is.

> Yep, there's a COM registration for every point-releast from 1.3.0_03 up 
> to 1.5.0_11. Which is pretty crazy, no?

No.

> Next time you install some program and it says "registering components" 
> or "writing registry keys", this is what it's doing. It's registering 
> millions of COM ClassIDs!

Yes.

-- 
   Darren New, San Diego CA, USA (PST)
   I ordered stamps from Zazzle that read "Place Stamp Here".


Post a reply to this message

From: Darren New
Subject: Re: Inspect DLL
Date: 12 Oct 2009 12:34:03
Message: <4ad35a7b$1@news.povray.org>
Invisible wrote:
>> I don’t even see the code anymore; all I see now is blonde, br
unette, 
>> redhead...
> 
> WIN!

For a minute there, I was honestly worried you might say "What?"


-- 
   Darren New, San Diego CA, USA (PST)
   I ordered stamps from Zazzle that read "Place Stamp Here".


Post a reply to this message

From: Darren New
Subject: Re: Inspect DLL
Date: 12 Oct 2009 12:36:07
Message: <4ad35af7$1@news.povray.org>
Invisible wrote:
> Of course, with no clue what parameters each such function takes, or 
> what the hell it's supposed to do, it's still pretty hopeless I guess...

Avoid that crap. That's exactly why there's so much crap-ware out there. 
People release crap, and then (even worse) others battle to make it work for 
them in a crappy way instead of just saying "Forget it, this is crap."

(Can you tell I'm sick of crapware today?)

-- 
   Darren New, San Diego CA, USA (PST)
   I ordered stamps from Zazzle that read "Place Stamp Here".


Post a reply to this message

From: Orchid XP v8
Subject: Re: Inspect DLL
Date: 12 Oct 2009 14:16:21
Message: <4ad37275$1@news.povray.org>
>> ...see a pattern yet?
> 
> Yes. It means Sun is too stupid to even know what a "GUID" is.

This was my conclusion also.

Surely the correct behaviour would be to register a single interface and 
give it a "do you support this API version?" method...

>> Next time you install some program and it says "registering 
>> components" or "writing registry keys", this is what it's doing. It's 
>> registering millions of COM ClassIDs!
> 
> Yes.

Heh. I lost count of how many Office-related DLLs are in there. There's, 
like, A LOT!

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Orchid XP v8
Subject: Re: Inspect DLL
Date: 12 Oct 2009 14:17:23
Message: <4ad372b3$1@news.povray.org>
>>> I don’t even see the code anymore; all I see now is blonde, brunette, 
>>> redhead...
>>
>> WIN!
> 
> For a minute there, I was honestly worried you might say "What?"

Well, it's not as if I've memorised every scene and every line of dialog 
from The Matrix or anything like that...




...Mr Anderson.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Orchid XP v8
Subject: Re: Inspect DLL
Date: 12 Oct 2009 14:21:15
Message: <4ad3739b@news.povray.org>
>> ...see a pattern yet?
> 
> Yes. It means Sun is too stupid to even know what a "GUID" is.

Did anybody else notice that, unlike every other GUIDE on the planet, 
these ones have a *pattern* in them?

CAFE-EFAC? Oh, that's cute. ABCDEF-FEDCBA? Come on, guys...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Orchid XP v8
Subject: Re: Inspect DLL
Date: 12 Oct 2009 14:55:04
Message: <4ad37b88@news.povray.org>
Ooo... Gold Dust.

http://msdn.microsoft.com/en-us/magazine/cc301805.aspx

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Darren New
Subject: Re: Inspect DLL
Date: 12 Oct 2009 14:58:27
Message: <4ad37c53$1@news.povray.org>
Orchid XP v8 wrote:
> Surely the correct behaviour would be to register a single interface and 
> give it a "do you support this API version?" method...

Not necessarily. But I'm pretty sure you're not going to get good "globally 
unique identifiers" by manually including english words in them.

> Heh. I lost count of how many Office-related DLLs are in there. There's, 
> like, A LOT!

That's because you can program Office from outside of Office.

-- 
   Darren New, San Diego CA, USA (PST)
   I ordered stamps from Zazzle that read "Place Stamp Here".


Post a reply to this message

From: Orchid XP v8
Subject: Re: Inspect DLL
Date: 12 Oct 2009 15:23:34
Message: <4ad38236$1@news.povray.org>
Orchid XP v8 wrote:

> http://msdn.microsoft.com/en-us/magazine/cc301805.aspx

Nice of them to include the link to part 2. :-P

http://msdn.microsoft.com/en-us/magazine/cc301808.aspx

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.