473,382 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 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 3813

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Seun Osewa | last post by:
Hi, I'm thinking of an architecture for a medium-complexity dynamic site as follows: - I use one php file, say a.php as the entry point for the entire site. PATH_INFO allows me to pass...
6
by: aneesh | last post by:
Hi all, I would like to know whether we can specify another function instead of main as entry point. Thanks Aneesh
14
by: Vijay Kumar R Zanvar | last post by:
I have following questions: 1. Appendix C of K&R says: Trigraph sequences introduced by ?? allow representation of characters lacking in some character sets. ... Can somebody explain how...
0
by: Scott Chang | last post by:
Hi all, I have Microsoft Visual C++ .NET (2002) program that is installed on my Windows XP Professional Operating System PC. I started my project (named HelloMCPP)in the Managed C++ Application...
6
by: Prashant Bhuptani | last post by:
Hi Guys, I am trying to use a C++ dll in VB.NET code. I have imported the dll in the following manner: <code> Imports System.Runtime.InteropServices
2
by: bboule | last post by:
Hi I have developped a dll that I want to use in another program ! here is my code : using System; using System.Collections.Generic; using System.Text; namespace NameSpace
10
by: Lung.S.wu | last post by:
Hi all, It is a history question. Recently, I read the book "C A reference manual, third edition". In this book, it list all C language keyword, and one is "entry". I know it is omitted from...
3
by: =?Utf-8?B?Sm9hY2hpbQ==?= | last post by:
I'm trying to call my C++/CLI dll from a C# library. I gives me the error unable to find an entry point named GetA Here's my C++/CLI file: #pragma once //#ifdef WRAPPERAPI_EXPORTS...
3
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am a developer from C++ COM to C# COM. I feel confused about the entry point function for a C# COM object. In C++, we always initialize object through GetClassObject or...
5
by: Christiano Donke | last post by:
Plz.. I intend to share a class library though network. This library is gonna be called by a VB6 project. I've found out that a late file-based binding on vb6 is the easiest way to bind it......
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.