|
you still need to delete the remotefile pointer
Gary Kirkham
A working Program is one that has only unobserved bugs
I thought I wanted a career, turns out I just wanted paychecks
|
|
|
|
|
Ahhhhhh.. Ok thanks.. that fixed it
Thanks,
Rob
|
|
|
|
|
I'm looking for some code examples for using SCP to transfer files. I'm going to throw together a dialog for browsing remote directories using SCP [basic version of WinSCP[^]] if a MFC one doesn't already exist out there as I'll need this feature in a project I'll do in the near future.
I was just wondering if anybody knows of something similar or if it's been implemented elsewhere. I can't seem to find anything but I'm probably just being blind and it's probably right under my nose.
Regards,
Brian Dela
Run naked in the snow until you're sweating like a stuck pig and can't seem to catch your breath. When the flu becomes pneumonia, they can cure that with a shot. - Roger Wright
|
|
|
|
|
You can't really browse anything with scp AFAIK. You can only do transfers.
But here's a link to PuTTY which is a set of ssh-tools for windows. Sources are available. http://www.chiark.greenend.org.uk/~sgtatham/putty/[^]
--
Eventhough the forrest is full of trees, there's still no tree between the trees.
|
|
|
|
|
Jörgen Sigvardsson wrote:
You can't really browse anything with scp AFAIK. You can only do transfers.
But here's a link to PuTTY which is a set of ssh-tools for windows. Sources are available.
Yep... I was going to use the putty code to help with browsing etc. Have it for a while now.. Just need to get some time to have a look at it.
Thanks Jörgen
Regards,
Brian Dela
Run naked in the snow until you're sweating like a stuck pig and can't seem to catch your breath. When the flu becomes pneumonia, they can cure that with a shot. - Roger Wright
|
|
|
|
|
Hi All,
I have an app that uses splitter windows. How can I get the size of a pane in the splitter? Can I just use CsplitterClass->GetRect(&rect) ??
Problem is how do I get the handle for the that pane. any suggestions?
Thank you.
Dan Willis
|
|
|
|
|
Never mind. It was a simple solution once I thought about it for a moment. LOL. Thanks anyways.
Dan Willis
|
|
|
|
|
Hi all,
does anyone know a tool to create a Class-Graph out of the Source-Code of a VC++ 6 project? I need to show up all the references to a class.
It also would help a lot if it lists all references in a textfile. Then I can draw the Class-Graph myself.
Thanks.
--
karl
|
|
|
|
|
have a look at Doxygen, it does not offer a graphical graph, but it shows you this;
maybe with the DOT (GraphViz extension) it can do it. I was about to try it this week.
Max.
|
|
|
|
|
Hi, everyone!
I want to know where does the precomplier directive
__Win32__ defined? Defined in the compiler?
Another question, is it C/C++ standard or is it
only defined in Microsoft Visual C++ compiler?
Thanks in advance,
George
|
|
|
|
|
As far as I know __Win32__ is not standard define. I think it is specific to your project. WIN32 on another hand usually defined through compiler settings, or like in case of "ole2.h" in some header. As for the second part - Windows unfortunately is not part of C++ standard, so there is no way WIN32 could be there.
|
|
|
|
|
Thanks, AlexO pal!
Is there a C/C++ standard precompile directive that
can be used to identify on which OS the project is
compiled.
Thanks in advance,
George
|
|
|
|
|
Correction _WIN32 (according to MSDN) is the macro defined by VC compiler. It could be used to id the compiler/target for portable code
|
|
|
|
|
Thanks, AlexO pal!
George
|
|
|
|
|
_WIN32 is defined by the compiler automatically when you do a compile for a WIN32 application.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
Thanks, Smith.
Do you mean _WIN32 or __Win32__?
Thanks in advance,
George
|
|
|
|
|
I can find no reference to a __Win32__. However, looking at STLPort, _WIN32, __WIN32, WIN32, and __WIN32__ were generated at different points by different compilers.
Currenty, only _WIN32 is defined by the compiler.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
Thanks, Tim pal!
Where can I find the table of all the C/C++ standard
precompiler directives and their related meanings?
Where can I find the table of all the Windows/MFC standard
precompiler directives and their related meanings?
Thanks in advance,
George
|
|
|
|
|
Can anyone give me a simple explanation?
Thanks in advance,
George
|
|
|
|
|
It is setting the contents of memory location zero, to zero. Seems a pretty good way to crash the machine...
|
|
|
|
|
Thanks, though I do not know who are you.
Have a nice day,
George
|
|
|
|
|
You can read this as:
long *p = NULL;
*p = 0;
This will give you an access violation (aka GPF). This kind of thing is good only for testing exception handling mechanism, or making your customer pay for fixes
I see dumb people
|
|
|
|
|
|
Hello,
The question looks stupid, but I can't figure how to do that.
The structure of my application is an MFC SDI.
In CMainFrame::OnCreate(...) I create a toolbar which contains some dialogs (see http://www.codeproject.com/miscctrl/rollupctrl.asp)
and I want to control the state of some buttons of the dialogs depending on the content of my active document.
So my question is when are all the dialogs, the document etc... built into the memory so I can access them and change the states?
Thank you for your help,
loic
|
|
|
|
|
Look at OnInitialUpdate to set up the views or PreCreateWindow for the child and mainframe.
~RaGE();
|
|
|
|