flat assembler
Message board for the users of flat assembler.

Index > Windows > kernel/ntdll/user32/advapi/... or something else?

Author
Thread Post new topic Reply to topic
a115433



Joined: 05 Mar 2010
Posts: 144
a115433
what should be used to create apps for windows? ive read about COM, but i have no idea why they made it.
msdn contain many functions from diffrent dlls to be used, where is COM in it?
what COM has that anything else havent?


for example, how do i create kernel object using com?
how do i wait for event/mutex/... in COM?
how do i make io operations using COM? and so on, how can i use COM to replace all other functions?
Post 23 Apr 2010, 14:24
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
a115433,

1. Have you read anything about COM?
2. Did you understand it?

COM is another abstraction layer on top of Win32 API (which in turn is implemented using native NT API).
Post 23 Apr 2010, 18:43
View user's profile Send private message Reply with quote
a115433



Joined: 05 Mar 2010
Posts: 144
a115433
yes i know it, but what categories it support?
memory managment? object managment? io?

i know only about direct***, multimedia functions that are implemented using COM.
does it exist only to implement multimedia?
Post 23 Apr 2010, 18:57
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
a115433,

Interfaces reference in "COM fundamentals" gives good overview of basic services provided by core COM. Structured storage, shell extensions, OLE (+automation, +DB), scripting, WMI, STI/WIA are examples of more complex abstractions implemented using COM.

I'd better quit replying to questions that have answers on the first page of trivial Google search.
Post 23 Apr 2010, 19:29
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.