That was my first attempt, which failed miserably. It just keeps asking the password, just as if you would try to create an ordinary terminal session (which it just might try, like I said, I have no idea how the connection works behind scenes).
Hi,
how to configure such a user account on a Linux box, that it could not logon to shell, but still use cvs thru secure connection? I don't know how the ssh-cvs-connection actually works, so is this possible in the first place?
Hi,
I guess this is pretty basic, but I can't seem to sort this out right now: I'm going thru a vector with an iterator, and if get a match, want to erase the item. Something like this:
for (vector<int>::iterator i = v.begin(); i != v.end(); ++i)
if ((*i) == 0)
v.erase(i);
Now, if the...
Hi,
I'm not sure if this forum is appropriate, but I couldn't find anything else either.. Here goes.
When an application (say a win app) runs, it has its virtual address space, right? Now, how can a user mode application access the actual physical memory, like some "memory editors" seem to do...
It seems that by making the window an application window and then sending SW_HIDE to it made the taskbar icon go away.. Duh.
Anyway, I still wonder which show commands create calls to OnActivate?
I'm making an MFC app that consists of only one dialog. I'm trying to make it so that when the dialog is minimized, that taskbar icon would disappear and a tray icon would appear. Again, when tray icon is doubleclicked, the tray icon would disappear and taskbar icon would appear.
I use...
I have a class with a member char foo[][]. How can I return a pointer to this in such a way that I could address it as a two-dimensional array, as it is inside the class?
If I get a DC from a window, create a compatible memory-resident DC, create a compatible bitmap for this memory DC, put up some data in the bitmap, select this bitmap into memory DC and then bitblt the memory DC to the window DC, it displays the bitmap. Ok, now, is it somehow possible to do this...
I'm trying to copy all pixels from a window's DC for some processing. I GetDC() the dc, and then use BitBlt to copy the pixels to a dc I created with CreateCompatibleDC. This works fine, except for the fact that the window must actually be visible (the app can't be minimized), and any other...
I guess my post was a bit unclear =(. I meant finding such rows from table_b, that have a table_a_id that simply doesn't exist at all in table_a's id column.
Hiya,
For some reason I fail to see an easy solution for this: I have two tables. Table1 is id. Table2 is id, Table1_id, Some_id.
Now, I want to find all id's from Table1 that DO NOT have a certain Some_id in Table2, AND id's from Table1 that do not appear in Table2 at all.
Example:
Table1...
I'm doing heavy searches on a table with statements like
SELECT * FROM thetable WHERE col1 LIKE '%ab%' AND col1 LIKE '%cd%'
.. and so on. I need to search for keywords shorter than 4 characters, so I can't use fulltext MATCH-AGAINST. When searching using WHERE-LIKE -method above, should I use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.