DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   DLL and Application (http://www.daniweb.com/forums/thread101828.html)

kv79 Dec 19th, 2007 7:05 pm
DLL and Application
 
Hi to all,
I want to know how to get into dll file.
I do not now anythig about dll.
I do now something about Applications.
So if you can give some link with example and with dllEntryPoint i will send the GOD's to Answer your wishes(:D).I have nothing to offer.

Duoas Dec 19th, 2007 7:56 pm
Re: DLL and Application
 
A DLL is not very different than an EXE. (Both are PE32 files.) The primary difference is how they are expected to be used. (That is by no means the only significant difference, so you can't just rename your DLLs to EXEs and expect them to work...)

You might start out by checking out what MSDN has to say.

If by "get into a dll file" you mean that you want a list of its import and/or export tables, then google "pe32 import export table" to get started. There are system APIs to help here.

Hope this helps.

kv79 Dec 19th, 2007 8:54 pm
Re: DLL and Application
 
Yes it help but not enought for makeing suff.
I want i code example.
And can i calculate numbers in dll and back them to windows Application because i learn dll to do this.

Duoas Dec 19th, 2007 10:36 pm
Re: DLL and Application
 
So what you want to do is create your own DLL which your application can use to do something?

What programming environment are you using (compiler/IDE)?

kv79 Dec 19th, 2007 10:45 pm
Re: DLL and Application
 
Yes yes yes

GCC/DEV-C++

Ancient Dragon Dec 19th, 2007 10:57 pm
Re: DLL and Application
 
tutorial

kv79 Dec 20th, 2007 12:10 am
Re: DLL and Application
 
But i using Dev-C++ and those tutorial for VC++.

Ancient Dragon Dec 20th, 2007 12:13 am
Re: DLL and Application
 
doesn't matter what compiler you use. If you want to write a DLL then you need to create all those files as shown in the tutorial.

To start the DLL project select menu File --> New --> Project then select the DLL icon.

kv79 Dec 20th, 2007 12:14 am
Re: DLL and Application
 
I allready try it and the
C:\Dev-Cpp\Makefile.win [Build Error] No rule to make target `"../Documents', needed by `Project1.dll'. Stop.

Ancient Dragon Dec 20th, 2007 1:01 am
Re: DLL and Application
 
Did you create a DLL project when you got to the window that listed all the different project types? I did, then tried to compile what Dev-C++ generated and got an error that the linker can not find dllcrt0.o even though its in the lib directory. I'm trying to find the solution to this problem.


All times are GMT -4. The time now is 1:56 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC