|
Why can't you just directly set property of an ActiveX control through script or otherwise without messing with HTML?...
"...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..."
Me
|
|
|
|
|
Hi!
I am trying to use the STL with eVC4... and I have the following linking error:
error LNK2001: unresolved external symbol "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ)
Any idea anyone? Thanks!
|
|
|
|
|
Hi
Is there any STL container like vector, set etc. that allows only unique items to be inserted into the list? Somewhat like that:
std::vector<string> arrayNames;
arrayNames.push_back("John");
arrayNames.push_back("Robert");
arrayNames.push_back("Luis");
arrayNames.push_back("John");
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
You named one already....a 'set' will only hold unique values....the value you add is immediately it's key.
Er zit een korstje op mijn aars.
|
|
|
|
|
|
I am building a search engine desktop application. It works by putting in text in an Edit control then hitting the search button and let it search the entire internet looking for web pages with the occurences of my search text on them.
Ok the question is, how do i determine which web site the Application should start the search at without specifically specifying a web site.
Any ideas out there??
void signature(){
cout<<"Sobbayi Interactive"<
|
|
|
|
|
|
Are you implying a random web-search? In an socket applicant, a process can bind a TCP/IP socket to one connection. You cannot search multiple servers without creating more sockets.
Kuphryn
|
|
|
|
|
Hello!
I am copying a binary file like a document or some other maybe not-text file to a IStream.
I think IStream must use the Write() method to copy data but I must copy from my source one character at a time using fgetc(). I decide to create a char buffer of abitrary size of 80 chars and then fill buffer up to max size each time before I write to IStream.
I do not know if this is the best bufsize.
Does the bufsize matter?
How can I work out a better size for buf?
Can I add one char at one time to IStream?
Thank you.
|
|
|
|
|
Yes.
Bigger is better.
Yes but don't.
If you are also opening the FILE* yourself, there might be lots of better ways to do this, like memory-mapping the file and writing in page-sized chunks.
Steve S
|
|
|
|
|
I'm using the SetNameOf function to rename a folder relative to its parent folder.
The Renaming works well but the pidl I get back is not the one I expect.
When I rename C:\Foo\Bar to C:\Foo\Bar.temp
the pidl I get back corresponds to C:\Documents and Settings\Arjan\Desktop\Bar.temp
<br />
LPCOLESTR lpNewName = A2OLE(GetItemText(m_hLockedItem));<br />
LPITEMIDLIST pidlNew;<br />
<br />
HRESULT hr = pParentFolder->SetNameOf(AfxGetMainWnd()->GetSafeHwnd(),<br />
pidlRel,<br />
lpNewName,<br />
SHGDN_INFOLDER,<br />
&pidlNew);<br />
<br />
CString s;<br />
SHGetPathFromIDList(pidlNew, s.GetBuffer(MAX_PATH));<br />
s.ReleaseBuffer();
What am I doing wrong here?
Thanks,
Arjan.
|
|
|
|
|
Hi,
I need to install the SOAP client software, and not to install the whole Soap Toolkit. I have found an Soap_core.msm and a Isapi_files.msm, the problem is that I cannot use that files in my installer .
Is there any way to install the dll's manually ? ( without screw up XP or 98... ).
Greetings
Braulio
|
|
|
|
|
Hello, everyone!
I am writing a FTP client and I do not want to write the program from scratch. I want to know whether there are some free and open source FTP library that I can use to build my FTP client program quickly? For example, the library provides functions that can be used directly to upload a file, or connect to specified site.
Better the FTP library is based on standard C/C++ and not based on MFC.
regards,
Geo
|
|
|
|
|
Type ftp into the Search box up above and you'll find several ftp clients here on CP.
Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com
|
|
|
|
|
Thanks, Neville buddy!
I find they are all written in C# or based on MFC classes. Are there some FTP client library that is written in stardard C/C++ and not based on MFC? I want the library easy to port on different platforms.
regards,
Geo
|
|
|
|
|
Libwww contains FTP client code.
|
|
|
|
|
Thanks, markkuk buddy!
After a quick view of the libraty, I have two more questions,
1. I can not find the source codes of the library and only the header files and .a or .dll file.
2. The library is too large and is general purpose, but I only want to use FTP utility, so are there some simple and tiny library that only provide FTP client function?
Can you help?
regards,
Geo
|
|
|
|
|
ftplib
ftplib is a set of routines that implement the FTP protocol. They allow applications to create and access remote files through function calls instead of needing to fork and exec an interactive ftp client program.
http://nbpfaus.net/~pfau/ftplib/
|
|
|
|
|
Thanks, Anonymous buddy!
I find it very useful!
regards,
Geo
|
|
|
|
|
Well if you don't mind an ActiveX component then have a look at Chilkat FTP[^] Its free.
I haven't used their FTP component but have been using their Mail and XML libraries and been very pleased with Chilkat.
John Hudson
Nick Rowan enforcing Law and Order in the Lounge: Oi! Don't start on me now, I'm just the UN Peacekeeping force.
http://www.rainbow-innov.co.uk[^]
|
|
|
|
|
Thanks, JohnJ buddy!
I find that it is not free. Do you know where can I find a free and open source one? I just want the very basic functions of FTP.
regards,
Geo
|
|
|
|
|
George2 wrote:
I find that it is not free.
Yes it is,;P but its not open source. You can purchase Support if you need to or use the http://groups.yahoo.com/group/chilkat/[^] if you don't.
If you want anything cheaper than free then I'd start looking here[^] or even here[^]
John Hudson
Nick Rowan enforcing Law and Order in the Lounge: Oi! Don't start on me now, I'm just the UN Peacekeeping force.
http://www.rainbow-innov.co.uk[^]
|
|
|
|
|
Thanks, JohnJ buddy!
They gives me very much help, especially the articles on CodeGuru.
Have a nice weekend,
Geo
|
|
|
|
|
|
Thanks, Vitali buddy!
If I use WinINet, the application I developed will not run both on Windows and Linux platforms which is a popupar developing mode.
Do you know where I find a cross-platform FTP client library?
regards,
Geo
|
|
|
|