-
October 27th, 2006, 06:10 AM
#1
ActiveX without MFC\ATL
Is it at all possible to build an OCX ActiveX conrtol without MFC at all, using Visual Studio 2003...
-
October 27th, 2006, 06:56 AM
#2
Re: ActiveX without MFC\ATL
Yes, but it it would be real pain only using win32, may I ask why ?
Regards,
Ramkrishna Pawar
-
October 27th, 2006, 07:43 AM
#3
Re: ActiveX without MFC\ATL
Just a little more than idel curiosity really...
I have an ActiveX control that work as an interface between a FoxPro app and a 3D rendering DLL. It doesn't use any of the MFC componants and including it seems a waste.
If the MFC libs are linked dynamically but unused, does the host still have to have the MFC DLLs to run the app??
-
October 27th, 2006, 07:47 AM
#4
Re: ActiveX without MFC\ATL
Originally Posted by CrypticTim
Just a little more than idel curiosity really...
I have an ActiveX control that work as an interface between a FoxPro app and a 3D rendering DLL. It doesn't use any of the MFC componants and including it seems a waste.
If the MFC libs are linked dynamically but unused, does the host still have to have the MFC DLLs to run the app??
If it's a MFC ActiveX project then it uses MFC in one way or other even if you didnt add any functionality.
You can use Static MFC libraries to avoid DLL dependancies, that would increase the size but it would be affordable comparing with Pure Win32 coding.
Regards,
Ramkrishna Pawar
-
October 27th, 2006, 08:00 AM
#5
Re: ActiveX without MFC\ATL
Ah well, thanks for the info, I guess I'll just take the hit of being forced to use MFC.
-
December 18th, 2009, 07:12 PM
#6
Re: ActiveX without MFC\ATL
Here is example Activex without MFC/ATL http://unick-soft.ru/EnSoft.cgi?type=File&id=16
But it is VS2005 example.
-
December 19th, 2009, 05:27 PM
#7
Re: ActiveX without MFC\ATL
Just use ATL - it doesn't require any dependencies.
Doing it from scratch would be a real pain (not that there's anything wrong with that if that's what your into).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|