Click here to Skip to main content
15,895,656 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use Dictionary? Pin
Nothend22-Jul-07 0:21
Nothend22-Jul-07 0:21 
GeneralRe: How to use Dictionary? Pin
Nothend22-Jul-07 0:24
Nothend22-Jul-07 0:24 
QuestionPersistentn publish-subscribe in wcf Pin
xshift21-Jul-07 22:10
xshift21-Jul-07 22:10 
QuestionGlobal Assembly Cache Pin
George_George21-Jul-07 20:12
George_George21-Jul-07 20:12 
AnswerRe: Global Assembly Cache Pin
mav.northwind21-Jul-07 21:24
mav.northwind21-Jul-07 21:24 
GeneralRe: Global Assembly Cache Pin
George_George21-Jul-07 22:04
George_George21-Jul-07 22:04 
GeneralRe: Global Assembly Cache Pin
mav.northwind21-Jul-07 23:10
mav.northwind21-Jul-07 23:10 
GeneralRe: Global Assembly Cache Pin
George_George22-Jul-07 0:25
George_George22-Jul-07 0:25 
Thanks mav,


Your described process to load related dll is informative. But it has nothing to do with GAC? I am wondering what is the function of GAC in your following process?

BTW: I find in my Windows registry there are additional Assembly and Class value -- not every mscoree.dll has CodeBase.

I think Assembly is the name in GAC, and Class is for the entry point CLSID for CoCreateInstance? Right?

mav.northwind wrote:
When a COM server must be created, windows takes a look at HKCR\CLSID\COM Class ID\InprocServer32 (I'm skipping out-of-proc servers deliberately to keep it simple).
The value of this key is used to find the dll containing the implementation (a little simplified, once again).

For managed COM servers this value points to mscoree.dll and only for this type of servers the CodeBase value is neccessary. You can run regedit and then search for "codebase" inside of HKCR\CLSID to see several examples for the required structure of registry entries for managed COM servers.



regards,
George
GeneralRe: Global Assembly Cache Pin
mav.northwind22-Jul-07 4:09
mav.northwind22-Jul-07 4:09 
GeneralRe: Global Assembly Cache Pin
George_George23-Jul-07 3:31
George_George23-Jul-07 3:31 
QuestionFinally! Pin
max2929721-Jul-07 17:55
max2929721-Jul-07 17:55 
AnswerRe: Finally! Pin
Paul Conrad21-Jul-07 18:38
professionalPaul Conrad21-Jul-07 18:38 
GeneralRe: Finally! Pin
max2929721-Jul-07 19:56
max2929721-Jul-07 19:56 
AnswerRe: Finally! Pin
mav.northwind21-Jul-07 21:25
mav.northwind21-Jul-07 21:25 
GeneralRe: Finally! Pin
max2929722-Jul-07 10:16
max2929722-Jul-07 10:16 
GeneralRe: Finally! Pin
mav.northwind22-Jul-07 19:01
mav.northwind22-Jul-07 19:01 
AnswerRe: Finally! Pin
Luc Pattyn22-Jul-07 1:00
sitebuilderLuc Pattyn22-Jul-07 1:00 
QuestionPlease i want help in crystal report with c# Pin
MYOSRI21-Jul-07 10:34
MYOSRI21-Jul-07 10:34 
AnswerRe: Please i want help in crystal report with c# Pin
Justin Perez21-Jul-07 10:59
Justin Perez21-Jul-07 10:59 
AnswerRe: Please i want help in crystal report with c# Pin
MYOSRI21-Jul-07 11:15
MYOSRI21-Jul-07 11:15 
QuestionDataTable with rows and trying to move next and previous Pin
Marcel Vreuls (www.agentbase.nl)21-Jul-07 9:38
Marcel Vreuls (www.agentbase.nl)21-Jul-07 9:38 
AnswerRe: DataTable with rows and trying to move next and previous Pin
Amjath Rahman22-Jul-07 15:53
Amjath Rahman22-Jul-07 15:53 
GeneralRe: DataTable with rows and trying to move next and previous Pin
Marcel Vreuls (www.agentbase.nl)23-Jul-07 10:59
Marcel Vreuls (www.agentbase.nl)23-Jul-07 10:59 
Questionc# - derived classes Pin
jon-8021-Jul-07 7:36
professionaljon-8021-Jul-07 7:36 
AnswerRe: c# - derived classes Pin
Luc Pattyn21-Jul-07 7:47
sitebuilderLuc Pattyn21-Jul-07 7:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.