472,123 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,123 software developers and data experts.

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 3772

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.