Type: Posts; User: Shvalb
if I've the logon details in the form of domain\username (SAM), How can I convert it to username@domain (UPN) ??
Hi,
I've Win2008 server with multi sessions users logons.
I query each session for the username + domain name.
When I query for Domain (via WTSQuerySessionInformation) I only receive NetBios...
Hi,
How can I do this??
Suppose I have Win2008server and many users from defferent domains log in, so every user has its own session.
How can I obtain from the session the domain name of...
Hi,
I have multi session on Citrix machine and I need to extract the FQDN\UPN of each of the users.
I use:
WTSQuerySessionInformation(..,.., WTSDomainName);
but it gives me...
Any ideas?
Hi,
I have multi session on Citrix machine and I need to extract the FQDN\UPN of each of the users.
I use:
WTSQuerySessionInformation(..,.., WTSDomainName);
but it gives me partial\short...
I didn't implement the functionality of class A in class B because it's the same functionality as in class C which also derives class A. I wanted to reuse the code of class C.
Hi,
I have the following classes:
class A
{
public:
virtual bool ZeroBalance() const = 0;
virtual BALANCE operator=(const BALANCE lAmount) = 0;
I did what you just suggested:
class A {
public:
void foo() {
..
..
Thanks, this helps although I'm not sure I'm allowed to add new methods to those legacy classes.
Hi,
I have the following classes:
class A {
public:
virtual void foo() { ...do stuff here ...;}
};
Hi,
I have an expression that looks like this:
@string1@\@string2@
and my question is:
How can I extract string1 and string 2 out of the expression using regular expression pattern ??
Any code example will do, I need it to work on XP and above.
I saw that it's possible to register to notifications using: RegisterForPrintAsyncNotifications but it is supported only from Vista.
...
Thanks mate.
Hi,
I already have installed Visual Studio .NET 2005 for coding C++ applications, but now I need to switch the IDE so I can code C# applications, How do I do this ?? do I need to reinstall VS 2005...
As far as I understand, NamedPipe is like UDP - ConnectionLess, so you cannot apply the same strategy of IOCP like you do it for TCP\IP Sockets....
for every message sent by Client to NamedPipe...
Hi,
I'm using IOCP for sockets, and I'm trying to use the same (almost the same) mechanism for NamedPipe - But I'm not sure it's possible.
When using it for sockets you use...
Hi,
I'm need to build a C++ Service which accesses SQL DB.
This Service encapsulates all logic of set\get to\from DB.
It will be like a Server that will have Clients talking to it via RPC...
Thanks a lot !!
Hi,
In order to build a server I use IOCP by calling AcceptEx() and bind every socket by calling 'BindIoCompletionCallback()'.
When Client connects and sends a message I receive it by calling...
What's the difference between what I wrote and what you wrote ?!?!
it looks the same, no??
Thank you _Superman_ !
Richard: you said something about #define guards, you mean something like:
#ifndef _WINSOCK2_
#define _WINSOCK2_
#include <Winsock2.h>
#endif;
I need to write my own methods since those methods requires to include "Winsock2.h" and it's making me problems including it at different files, especially where at some places it's a template file...
Thanks - It works fine !
Hi,
suppose I have the following buffer:
BYTE b[4];
b[0] = 0x40;
b[1] = 0xe2;