Click here to Skip to main content
15,900,511 members
Home / Discussions / C#
   

C#

 
GeneralRe: face detection problem Pin
Adam R Harris26-Oct-10 11:36
Adam R Harris26-Oct-10 11:36 
GeneralRe: face detection problem Pin
inayathussaintoori26-Oct-10 11:41
inayathussaintoori26-Oct-10 11:41 
GeneralRe: face detection problem Pin
Adam R Harris26-Oct-10 11:50
Adam R Harris26-Oct-10 11:50 
GeneralRe: face detection problem Pin
inayathussaintoori26-Oct-10 12:32
inayathussaintoori26-Oct-10 12:32 
GeneralRe: face detection problem Pin
Richard MacCutchan26-Oct-10 12:08
mveRichard MacCutchan26-Oct-10 12:08 
QuestionDynamic Reference With Inheritence Pin
Adam R Harris26-Oct-10 6:07
Adam R Harris26-Oct-10 6:07 
AnswerRe: Dynamic Reference With Inheritence Pin
Ennis Ray Lynch, Jr.26-Oct-10 7:39
Ennis Ray Lynch, Jr.26-Oct-10 7:39 
GeneralRe: Dynamic Reference With Inheritence Pin
Adam R Harris26-Oct-10 7:51
Adam R Harris26-Oct-10 7:51 
Thx for the reply Ennis,

Let me explain in greater detail for you.

I am developing a plug-in for Sage CRM, the plug-in needs to implement/inherit from Sage.CRM.Wrapper.IeWareBlock located in the SageCRMWrapper.dll. At design time i can have a reference to the SageCRMWrapper.dll, but at run-time i would like the reference to the SageCRMWrapper.dll to be dynamic as Sage releases patchs all the time that will not effect my plug-in but cause me to rebuild/re-deploy to all the clients using the plug-in.

so here is a sample class;
public class myBlock : Sage.CRM.Wrapper.IeWareBlock
{
    public myBlock()
    {
        AssemblyResolver res = new AssemblyResolver(AppDomain.CurrentDomain);
    }

    // implementation of the interface
}


obviously this solution fails, because when the framework goes to create this class it fails because the constructor has not been called which is where i wire the AssemblyResolve event.

Ofcourse if there is a change to the Interface i would need to rebuild to implement the changes to the interface.

I'm not sure how using dynamics will help out here, but im really not that familiar with them so it is very likely i am wrong.

Thanks again for the reply.
Don't comment your code - it was hard to write, it should be hard to read!

GeneralRe: Dynamic Reference With Inheritence Pin
Ennis Ray Lynch, Jr.26-Oct-10 7:59
Ennis Ray Lynch, Jr.26-Oct-10 7:59 
GeneralRe: Dynamic Reference With Inheritence Pin
Adam R Harris26-Oct-10 8:04
Adam R Harris26-Oct-10 8:04 
QuestionLock the PC Pin
Jassim Rahma26-Oct-10 4:22
Jassim Rahma26-Oct-10 4:22 
AnswerRe: Lock the PC Pin
Kevin Marois26-Oct-10 5:47
professionalKevin Marois26-Oct-10 5:47 
AnswerRe: Lock the PC Pin
Ennis Ray Lynch, Jr.26-Oct-10 6:07
Ennis Ray Lynch, Jr.26-Oct-10 6:07 
AnswerRe: Lock the PC Pin
PIEBALDconsult26-Oct-10 15:53
mvePIEBALDconsult26-Oct-10 15:53 
QuestionCOM Object with Protected Methods Pin
Enobong Adahada26-Oct-10 2:42
Enobong Adahada26-Oct-10 2:42 
AnswerRe: COM Object with Protected Methods Pin
Richard MacCutchan26-Oct-10 6:54
mveRichard MacCutchan26-Oct-10 6:54 
GeneralRe: COM Object with Protected Methods Pin
Enobong Adahada26-Oct-10 23:56
Enobong Adahada26-Oct-10 23:56 
GeneralRe: COM Object with Protected Methods Pin
Richard MacCutchan27-Oct-10 2:33
mveRichard MacCutchan27-Oct-10 2:33 
Questionopen form as a tab in windows applications Pin
Zeyad Jalil26-Oct-10 1:39
professionalZeyad Jalil26-Oct-10 1:39 
AnswerRe: open form as a tab in windows applications Pin
OriginalGriff26-Oct-10 1:49
mveOriginalGriff26-Oct-10 1:49 
GeneralRe: open form as a tab in windows applications Pin
Zeyad Jalil26-Oct-10 1:50
professionalZeyad Jalil26-Oct-10 1:50 
GeneralRe: open form as a tab in windows applications Pin
OriginalGriff26-Oct-10 1:56
mveOriginalGriff26-Oct-10 1:56 
GeneralRe: open form as a tab in windows applications Pin
Zeyad Jalil26-Oct-10 2:02
professionalZeyad Jalil26-Oct-10 2:02 
AnswerRe: open form as a tab in windows applications Pin
darkelv26-Oct-10 14:50
darkelv26-Oct-10 14:50 
Questionproblem with process.HasExited "No process is associated with this object error" Pin
prasadbuddhika26-Oct-10 1:20
prasadbuddhika26-Oct-10 1:20 

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.