|
Hi people ,
Need some urgent help from u all. Hope somebody can help me out.
I m very confused as to whether it is possible to transfer files from a remote FTP server to another remote FTP server directly without downloading/uploading those files to ur own local m/c ??
If it is possible, then how do i go about it ??
Need to know this urgently
Thanks a lot.
-Me .
|
|
|
|
|
What is m/c?
You can open a pipe to both ftp locations and transfer the data through the middle system. The data can remain in a buffer, it does not need to be written to the local drive.
|
|
|
|
|
But how do i implement it ??
any clues ??
m/c -> machine.
need urgent help on this....pls help.
Thanks.
-Me.
|
|
|
|
|
Hy All .
If you know how can disable "Del" key or other key from keyboard in windows 2000, please share with me .
Thanks a'lot .
(Excuse me , I don't know english well . )
|
|
|
|
|
|
|
Hey why don't you pull it out.
Easiest.
Owner Drawn
--Nothing special
|
|
|
|
|
Hi guys,:->
I need help.
Can you tell me how to know what are the ports that are currrently being occupied by a particular application.
I am writing an application which would tell the user what are the ports being occupied an application.
Owner Drawn
--Nothing special
|
|
|
|
|
Hi
My application is vc++ Dialog based one. I am using one library for my application. when i am including that library I am getting so many linker errors like
LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in msvcrt.lib(MSVCRT.dll)
LIBC.lib(crt0dat.obj) : error LNK2005: __exit already defined in msvcrt.lib(MSVCRT.dll)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in msvcrt.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in msvcrt.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in msvcrt.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in msvcrt.lib(cinitexe.obj)
LIBC.lib(mbctype.obj) : error LNK2005: __setmbcp already defined in msvcrt.lib(MSVCRT.dll)
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/OIApp.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
For this i have ignored LIBC.lib library then i am getting one linker error called
error LNK2001: unresolved external symbol ___pioinfo
what should i have to do.Please help me.
Thanks in advance
|
|
|
|
|
|
Thanks
But i am not at all declaring any variable of type _pionifo. What is the purpose of that variable also i dont know.
When i am ignoring libc.lib and libci.lib it is showing only one linker error now. but it is different one. It is showing that error in lib file which i am including.
error LNK2001: unresolved external symbol "class ostream_withassign cout" (?cout@@3Vostream_withassign@@A)
if i am including iostream.h this is giving only one the above error. if i am not including iostream.h it is giving 5 linker errors of similar type of the above one.
please help me.
Thanks
|
|
|
|
|
Conflicting runtime libraries (single threaded/multi threaded)?
Conflicting use of MFC (static lib/DLL)?
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
-- modified at 5:26 Tuesday 15th November, 2005
|
|
|
|
|
I'm trying to do this project that reads a four word sentence from one string and then extract each word in the string to four other strings using the spaces between the words as indexes.Then display them in reverse. I cant seem to get this to work and I can't use coditional operators. Any suggestions.Here what I have so far.
#include <iostream><br />
#include <string><br />
<br />
using namespace std;<br />
<br />
int main(void)<br />
{<br />
<br />
string sentence;<br />
<br />
cout << "Enter a four word sentence:";<br />
getline(cin,sentence);<br />
cout << "Original string:"<< sentence << endl;<br />
<br />
int blank=(" ");<br />
<br />
int firstindex = sentence.find(blank);<br />
<br />
string first = sentence.substr(0,firstindex);<br />
<br />
<br />
int secondindex = sentence.find(blank,firstindex + 1);<br />
<br />
<br />
string second = sentence.substr(blank + 1,secondindex);<br />
<br />
int forthindex = sentence.rfind(blank);<br />
<br />
string forth= sentence.substr(sentence.length,blank);<br />
<br />
int thirdindex= sentence.rfind(blank,forthindex - 1)<br />
<br />
string third= sentence.substr(thirdindex,sentence.length - 1);<br />
<br />
<br />
<br />
cout << "Reversed string:" << forth+" "+third+" "+second+" "+first<< endl;<br />
<br />
BINARY
|
|
|
|
|
Binary0110 wrote: I cant seem to get this to work and I can't use coditional operators.
Why?
|
|
|
|
|
Can't you use a std::vector< std::string > to store the words one after another and then cout the strings using a reverse_iterator ?
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
no can't use anything other than what's there. find and rfind.
BINARY
|
|
|
|
|
Use a while loop, rfind the space, cout the word and in the next round rfind beginning at the position before the last space.
If you cant even use the while loop skip the lessons until you can...
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
Hi all,
I am developing a visualization tool using VC++ and openGL Inventor. I am using OpenGL Inventor for rendering the scenegraph information. In the scenegraph, I created so many nodes. What I need to do is to edit the node by prompting a dialog box,which will ask for translational and rotational values. To show the dialog box, I used DialogBox() function in the event callback of one of the scenegraph nodes. But after getting the values from the prompted DialogBox, the control is going back to the scenegraph event callback by default. I need to transfer the control to the main window. It would be great if anybody suggest me some workarounds for this??
-NG
|
|
|
|
|
I dont know Inventor but what u should basically do is to call TranslateMessage and DispatchMessage for every message.
For this u must have all the message params including HWND or u can run your dialog modal - run a modal loop.
Here's a very basic one that can fit a openGL app:
WindowProc(...)
{
:
}
:
CreateWindow(...);
for( ;; ) {
PeekMessage(...);
if( dialog closed )
break;
if( message ) {
if( hWnd != myWnd )
continue;
TranslateMessage(...);
DispatchMessage(...);
}
else {
}
}
|
|
|
|
|
How to get all thread id of an application ?
Thanks...
|
|
|
|
|
CreateToolhelp32Snapshot()
Thread32First()
Thread32Next()
suhredayan
|
|
|
|
|
hello,
can anyone help me on....
How to Copy a Part or a Region from one View to another View.
say suppose if i use a mouse to select a region inside the view then the selected region in the view should be copied or displayed in another view.
|
|
|
|
|
Whatever is there in a view is painted by yourself somewhere. This means that you have got the information that at what place you painted which thing. Handle the LButtonDown and LButtonUp messages and check the coordinates. This will give u the rectangle and since you know what did u paint there, you should know that what lies exactly inside the selected rectangle. Copy it at a temp location in your program and when pasted somewhere else, paint the things again. Simple, isn't it?
Regards,
Aamir
|
|
|
|
|
Hello all,
I have a fully functional Visual C++ .NET console application that draws an ASCII character map at run-time in a DOS window. How can I start a window and draw the map real-time to that window as opposed to the DOS window? I have very little experience with Windows graphics so any advice would be greatly appreciated on how to start the window, draw to it, etc ...
By the way, the map I need to draw is simply a grid with different squares in the grid having different colors.
Thanks guys and girls.
|
|
|
|
|
Hi Friend
Write graphical functions under OnPaint() function
eg:
CPaintDC dc;
dc.Rectangle(0,0,100,100);
CDC/CPaintDC is used for graphical function
Please use MSDN and search for CDC class
regards
KK
|
|
|
|