Re: MFC Support in DLL's
- From: "ed" <ed@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 3 Apr 2005 14:55:02 -0700
Ok, thanks for that info guys. I now have another(though related) question.
What type of MFC Dll should I use to get access to the DllMain function? I
want to be able to create my own DllMain
ed
"Ajay Kalra" wrote:
> "ed" <ed@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:03A4326E-E360-4FAF-B6DF-31D0063DC05A@xxxxxxxxxxxxxxxx
> > I realize this is probably an old and often repeated question, but I have
> > been unable to find any articles that have been able to help me.
> >
> > I have a DLL written in plain win32 that I want to add MFC support to.
> I'm
> > having trouble with the DllMain function. I've tried just removing the
> > entire DllMain function, yet I'm still getting the compiler error that
> > DllMain is already defined.
> >
> > What Do I need to add to make my DLL support MFC?
> >
>
> To simplify it, I would create a new MFC DLL and then add all the files in
> your current DLL to it. That way you would get the settings right.
>
> However, you need to decided what sort of DLL do you want, MFC Extension or
> a Regular DLL. MFC Extension DLL can be used only by MFC clients, while a
> Regular DLL is like a traditional dll (with export symbols etc).
>
> --
> Ajay Kalra [MVP - VC++]
> ajaykalra@xxxxxxxxx
>
>
>
>
.
- Follow-Ups:
- Re: MFC Support in DLL's
- From: Joseph M . Newcomer
- Re: MFC Support in DLL's
- From: Ajay Kalra
- Re: MFC Support in DLL's
- References:
- MFC Support in DLL's
- From: ed
- Re: MFC Support in DLL's
- From: Ajay Kalra
- MFC Support in DLL's
- Prev by Date: Re: Clearing a CDialog Box
- Next by Date: Re: MFC Support in DLL's
- Previous by thread: Re: MFC Support in DLL's
- Next by thread: Re: MFC Support in DLL's
- Index(es):
Relevant Pages
|