|
hi friends,
i am using Visual studio 6.0, Windows.
i dowload an opensource project "wput" :: Wput is a command-line ftp-client that looks like wget but instead of downloading, uploads files or whole directories to remote ftp-servers.
http://wput.sourceforge.net/[^]
as i compile the project i got tons of errors,
ftp-ls.c(40) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
unistd.h is not present anywhere in my system.
Any suggestions!
|
|
|
|
|
unistd.h is not present anywhere in my system.
thats why you are getting the error. Find out that file, and set the correct 'include path' in project settings.
|
|
|
|
|
Can you use the pre-compiled binary instead of compiling it?
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn
|
|
|
|
|
hi
i do not understand what you want to say?
can u explain little better
|
|
|
|
|
I want to say that in-order to use the functionality of wput can you just use the
binary file instead of compiling it? Or do you need to compile the source code?
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn
|
|
|
|
|
ok..
i need to compile the source code.
|
|
|
|
|
Have you read the INSTALL file that comes with the source package. It will have the information on how to
compile.
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn
|
|
|
|
|
Aabid wrote: ftp-ls.c(40) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
As the name suggest, unistd.h is a UNIX -like (maybe Linux ) specific header.
Have you read the compiling instruction on the project's home page?
(I guess you may compile it on Windows provided you use, for instance, Cygwin ).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
yes i tried to find out the instructions to compile but i didn`t find any info regarding compilation.
|
|
|
|
|
comment-out that line, see what happens.
|
|
|
|
|
Hi ,
I am using MessageBox function as
MessageBox(NULL,L"Please start application ",L"Test",MB_OK |MB_SYSTEMMODAL);
I want to show this message box always on top so that user have to close it first. When I use MB_SYSTEMMODAL to make it modal message,default blank icon is added into messageBox caption.
I want to messageBox as modal but without icon in caption. Is there any way to do this.?
Thanks
ABM
|
|
|
|
|
Please try this..
MessageBox(L"Please start application ",L"Test",MB_OK |MB_APPLMODAL);
|
|
|
|
|
IF I use MB_APPLMODAL style , messageBox get hided/minimize when user click on any other application.
Actually I am calling one application having above message from custom action in setup project.
|
|
|
|
|
Hope this one will help
MessageBox(NULL,L"Please start application ",L"Test",MB_OK |MB_TOPMOST);
MB_TOPMOST : Creates the message box with the WS_EX_TOPMOST window style.
|
|
|
|
|
yes Mohan, your code seems working..
|
|
|
|
|
|
Hi Mohan,
MB_TOPMOST property is ignored by vista. It is working fine on Windows XP,but not on Vista.
|
|
|
|
|
hi am,
I tested the code
MessageBox(L"Please start application ",L"Test",MB_OK |MB_TOPMOST|MB_APPLMODAL); on windows 7.
Its working fine for me.
If the above code is also not working for you, then create your own message box, by specifyng the Window Styles in CreateWindow()
|
|
|
|
|
am 2009 wrote: MB_TOPMOST property is ignored by vista. It is working fine on Windows XP,but not on Vista.
I am using Vista and it's working fine.
|
|
|
|
|
I have errors, and I need to fix them .
How do you find you errors in this Build Lob?
Painterdave
|
|
|
|
|
Open the build log and look for errors? Seriously, what's the problem?
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
The 'Build Lob' is a tennis hit, aimed to step over high obstacles, like buildings.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hello everybody !
In the project , I read the data from SQL2000,and use SetItem to set the strings.
some specified column I want to set the text color,How can I do it?
Thanks for your reply !
Best Reguards!
|
|
|
|
|
Please search for articles on List Controls. There are plenty of those at CodeProject, explaining what you're after.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
thanks !
|
|
|
|