|
hey i copied the lib file and dll into the current working directory, and also included path of lib file in project->settings and it worked
but the problem is that whenever i update the Dll file i need to copy the lib and dll files again.isn't it a tedious process??
is there any other way without copying these 3 files(.h,.lib and .dll)??
-- modified at 0:52 Friday 11th November, 2005
|
|
|
|
|
I cant remeber exactly because I dont have vs6 on my pc.
In the project properties dialog you can enter folders to search for header and lib files. Put the relative path from your client project to the folders containing the .h and .lib files.
|
|
|
|
|
The simplest way is to write a Prebuild Event step that copies the .lib and .dll files.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
S. Senthil Kumar wrote: write a Prebuild Event step
How to write a Pre-Build event step??Any Links?
|
|
|
|
|
1. Open the project settings dialog and go to the pre-build tab, there you can write a command like "xcopy ${target} ..\DestinationDir" (consult the xcopy help for the exact syntax)
2. About the link problem: you may add the *.lib of your dll to the libraries your project depends on, this will cause it to be statically linked (loaded when your program loads), you can find more info on MSDN (like dynamic linking with LoadLibrary)
|
|
|
|
|
Cut that out, that'd be too complex. Just include the .lib in the Libraries path in Project Settings.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
I would like to read a text file which content chinese character.
My configuration is VC6.0 and MBSC.
I need to convert the MBSC code to UTF16 code.
Please help!
|
|
|
|
|
Hi guys,
I want to make an edit box readonly at runtime using SetWindowLong?
I did it too.
But the problem is that the background color of the control still remains white, which should be gray on setting to readonly? I tried to update it but did not work.
The same thing when done in the dialog editor works as expected. The background color of the edit box changes to gray. But at runtime it does not happen.
Owner Drawn
--Nothing special
|
|
|
|
|
Why not SetReadOnly?....;)
Or handle WM_CTLCOLOR to change the background of edit...
|
|
|
|
|
Yeah that's right. I had to to it like that.
I just wanted to know why didn't it happen with SetWindowLong()
Is there any procedure to be followed after setting SetWindowLong()?
Owner Drawn
--Nothing special
|
|
|
|
|
Yes, thats true....
See this[^]..
|
|
|
|
|
Thanks a lot. ->*Dreams
Owner Drawn
--Nothing special
|
|
|
|
|
*Dreamz wrote: handle WM_CTLCOLOR to change the background of edit...
Hi Buddy, don't think I am pulling your leg.. but changing color don't make control readonly.....
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
When did I say that mate.
You should be reading carefully.
Owner Drawn
--Nothing special
|
|
|
|
|
Owner drawn wrote: When did I say that mate.
You should be reading carefully.
I Didn't undertsand what you want to Say..Buddy..
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Yes Alok...
But he had already set it ReadOnly..he just wanted backgrnd to be gray...
that is why......
|
|
|
|
|
*Dreamz wrote: But he had already set it ReadOnly..he just wanted backgrnd to be gray...
Oops, Sorry! I didn't read ownerdraw question properly.. sorry for trouble!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Truce.
Owner Drawn
--Nothing special
|
|
|
|
|
Thats ok...
|
|
|
|
|
Hey guys,
I am starting out on COM.
Any help will be appreciated.
Owner Drawn
--Nothing special
|
|
|
|
|
Go to CP COM/DCOM section..Many atricles are there for beginners..That'll be a nice start...
Enjoy
|
|
|
|
|
Thanks,
More tips are welcome. I heard that microsoft doesn't encourage COM anymore and they are now pushing for .Net components.
Comments are welcome.
Owner Drawn
--Nothing special
|
|
|
|
|
what is CP?
|| ART OF LIVING ||
|
|
|
|
|
Owner Drawn
--Nothing special
|
|
|
|
|
shivditya wrote: what is CP?
If you living in India near Delhi CP stands for Connaught Place... but here it stands for CodeProject
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|