469,331 Members | 5,428 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,331 developers. It's quick & easy.

How to add entry point in the DLL file...

Hye,
I have made some DLL through wizard and added MFC support on my own.. By
including general stdafx.h (having MFC support) file into the project.. But
it gives me error that main function already defined.. and while I register
DLL without having MFC support, it gives me error saying "DLL can not be
loaded as, it does not have entrypoint function", so, I think that these two
errors have some connection...

I need some more explanation as, I am novice for DLL programming and has
just started...

So, my questions are,

1) How to make regular DLL (without MFC support), a MFC supported
DLL..
2) What is entrypoint function in a DLL..
3) What to do if we want Afx*** function support in normal DLL??

Thank you,
I know it would be confusing to understand all this, but I have tried my
best to represent my queries...
--
Jigar Mehta
jb*******@yahoo.co.in
Nov 17 '05 #1
0 3704

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Seun Osewa | last post: by
6 posts views Thread by aneesh | last post: by
14 posts views Thread by Vijay Kumar R Zanvar | last post: by
6 posts views Thread by Prashant Bhuptani | last post: by
2 posts views Thread by bboule | last post: by
10 posts views Thread by Lung.S.wu | last post: by
3 posts views Thread by =?Utf-8?B?Sm9hY2hpbQ==?= | last post: by
3 posts views Thread by =?Utf-8?B?R2Vvcmdl?= | last post: by
5 posts views Thread by Christiano Donke | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.