|
I Have A Dll And It's .h File,But Lose the .lib File .
How could I Use It?
Thx For UR Answer.
|
|
|
|
|
Dear raid_zh,
When you build a dll that write it in developer studio (Visual studio); plus a dll, automatically have buld a lib file.
Do you develope dll yourself?
|
|
|
|
|
It didn't by myself ~~
|
|
|
|
|
To help me in my learning. A DLL is a Dynamic Link Library. Now, can you tell me What it does and how it works?
|
|
|
|
|
Well, a dll dose same actions that an exe file unless a dll can share but an exe can't. suppose an exe file have a member function named ControlRobotHand that control hand of robot. you can't use this member function in other program, you must write your own code; whenas if this member function have placed in a dll, you could using it. dlls are very beneficial. msdn have a lot of information about dll, i suggest you read msdn.
excuse for delay
Regards
|
|
|
|
|
Hi,
is there a limitations ? I created a dialog in my dll and I on run time, dialog.DoModal() doesn't work.
I have no clue what is the problem.
I am using MFC static linking since my client does not use MFC, is there a problem with static linking?
Thanks in advance,
Udi Raz
|
|
|
|
|
Hi,
is there a limitations ? I created a dialog in my dll and I on run time, dialog.DoModal() doesn't work.
I have no clue what is the problem.
I am using MFC static linking since my client does not use MFC, is there a problem with static linking?
Thanks in advance,
Udi Raz
|
|
|
|
|
Dear Mr.Mehnood
First of all I would like to thank you for this wonderful help.I am a beginner and it was really very helpful for me.
I will highly appriciate if you could send me some information or a small sample project on implementing unicode in VC++ 6.0.
Once more thanks a lot
Keep it up.
Warm Regards
Syed Ali Sajjad Raza
|
|
|
|
|
Dear friend,Syed Ali
excuse me for delay,i'm very busy for distributing Pardis.
there are ways for using unicode features but it is difficult,complicated and havent warranty.it is better using VC++ 7.0 accompany .NET programming.
describe details if possible, send to director@pishro-narmafzar.com
i will glad, if you accept Pardis as gift.
Very thanks,sincerely;
mahmood
|
|
|
|
|
Hye,
Thanks for giving such a good article... Your language is so simple, I suggest you to take hard topics and explain in your simple language... A suggestion from me to you is Templates, STL etc.
Mail me, if you put any new article about templates or STL..
Jigar Mehta
(jigarmehta@gatescorp.com)
Software Developer
Gates Information Systems
India
|
|
|
|
|
hi Jigar
very thanx
|
|
|
|
|
Hi do you have an idea how to process strings in dll's ?
For example I have a fucntion with a string parameter and it returns another string...
regards,
Andrew
|
|
|
|
|
You can give char * as a parameter and return char * from the DLL function and receive it from the calling program, its that easy !!
Jigar Mehta
(jigarmehta@gatescorp.com)
Software Developer
Gates Information Systems
India
|
|
|
|
|
Nice to see another article from Iranian people.
Best regards,
A. Riazi
|
|
|
|
|
my dear friend, old too!
are you remember me? smartapp!
you gladen me with your message.
very thanx
sincerely
mahmood ;)
|
|
|
|
|
|
hello,
can you describe more, about implicit linking
what is .LIB file?
|
|
|
|
|
hi mahmood
it was open sesame for me.very thanks
|
|
|
|
|
1. The title of the article is quite strange.
2. The article itself is not detailed at all.
3. The article is not really a big help for beginners because important information is missing.
4. Why are you using a MFC dll where it is absolutly not necessary? (and this in a beginner article)
5. The fact that you are using a MFC application in a beginners article for DLLs is quite strange. (a console app would be much easier to understand)
6. You should have mentioned exporting symbols via module definition (.def) file.
7. Source code comments are totally missing. (you have just thrown around with some pieces of information)
I'm sorry, but you should really revise your article!
Don't try it, just do it!
|
|
|
|
|
1- title,changed.
2- it is clear,description of details convert it to complicated article.
3- while babies begin to walk,they can't understand running rules.it is sufficient.
4,5- we really use not console apps nowadays.it is aged.
6- Unfortunately, you dont read carefully.i mentioned, DLL creation is multi way
7- Article described here
|
|
|
|
|
Just because console apps "are aged", that doesn't mean people should use MFC DLLs. A regular DLL would suffice whether or not you used an MFC application or not.
Anyway, if you really follow the "aged" argument, I'll say MFC is aged and that people should be creating .NET applications now.
Personally, I agree with each and every one Alexander's statements. If this article is really built for beginners, then you should discuss the benefits and costs of using DLLs including some sample scenarios. If I teach you a concept, but don't help you understand why it is useful or possibly harmful based on the circumstances, then it does you very little good.
|
|
|
|
|
It will be nice if you can include something about class export.
How to export a class ? What about base classes if we are exporting a derived class?
Manish
Sonork ID 100:25668 Home Page
|
|
|
|
|
hi Manish,
it could be found in part 2
|
|
|
|
|
Mahmood Komeily wrote:
4,5- we really use not console apps nowadays.it is aged.
Still loads and loads of folk and services using console.
Contrary to the cliche, genuinely nice guys most often finish first or very near it.--Malcolm Forbes Toasty0.com
|
|
|
|
|
u can develop console app, this article isn't for u;P
|
|
|
|