CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Shvalb

Page 1 of 12 1 2 3 4

Search: Search took 0.25 seconds.

  1. Replies
    1
    Views
    1,093

    Re: NetBios-style TO DNS-style

    if I've the logon details in the form of domain\username (SAM), How can I convert it to username@domain (UPN) ??
  2. Replies
    1
    Views
    1,093

    NetBios-style TO DNS-style

    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...
  3. How to retrieve Remote desktop user domain name on Win2008 server

    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...
  4. Extract Full Domain name from Citrix using WTSQuerySessionInformation()

    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...
  5. Re: Extract UPN from Citrix\Terminal Server machine using WTSQuerySessionInformation(

    Any ideas?
  6. Extract UPN from Citrix\Terminal Server machine using WTSQuerySessionInformation()

    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...
  7. Replies
    4
    Views
    1,449

    Re: Question regarding virtual inheritance

    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.
  8. Replies
    4
    Views
    1,449

    Question regarding virtual inheritance

    Hi,
    I have the following classes:



    class A
    {
    public:
    virtual bool ZeroBalance() const = 0;
    virtual BALANCE operator=(const BALANCE lAmount) = 0;
  9. Thread: OOP Question...

    by Shvalb
    Replies
    4
    Views
    759

    Re: OOP Question...

    I did what you just suggested:



    class A {
    public:
    void foo() {

    ..
    ..
  10. Thread: OOP Question...

    by Shvalb
    Replies
    4
    Views
    759

    Re: OOP Question...

    Thanks, this helps although I'm not sure I'm allowed to add new methods to those legacy classes.
  11. Thread: OOP Question...

    by Shvalb
    Replies
    4
    Views
    759

    OOP Question...

    Hi,

    I have the following classes:



    class A {
    public:
    virtual void foo() { ...do stuff here ...;}
    };
  12. Replies
    4
    Views
    678

    Regular Expressions question

    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 ??
  13. Replies
    1
    Views
    9,635

    How to intercept print-jobs from spooler ??

    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.
    ...
  14. Replies
    3
    Views
    1,038

    Re: How to switch IDE from C++ to .NET C#

    Thanks mate.
  15. Replies
    3
    Views
    1,038

    How to switch IDE from C++ to .NET C#

    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...
  16. Re: Using NamedPipe with BindIoCompletionCallback - Is it possible ??

    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...
  17. Using NamedPipe with BindIoCompletionCallback - Is it possible ??

    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...
  18. Replies
    2
    Views
    720

    RPC Mechanism Recommendation Needed

    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...
  19. Replies
    7
    Views
    20,850

    Re: How to write my own htons\htonl ??

    Thanks a lot !!
  20. Replies
    2
    Views
    1,158

    Problem with IOCP

    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...
  21. Replies
    7
    Views
    20,850

    Re: How to write my own htons\htonl ??

    What's the difference between what I wrote and what you wrote ?!?!

    it looks the same, no??
  22. Replies
    7
    Views
    20,850

    Re: How to write my own htons\htonl ??

    Thank you _Superman_ !

    Richard: you said something about #define guards, you mean something like:



    #ifndef _WINSOCK2_
    #define _WINSOCK2_
    #include <Winsock2.h>
    #endif;
  23. Replies
    7
    Views
    20,850

    How to write my own htons\htonl ??

    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...
  24. Replies
    9
    Views
    1,119

    Re: Converting BYTE[] to ULING

    Thanks - It works fine !
  25. Replies
    9
    Views
    1,119

    Converting BYTE[] to ULING

    Hi,

    suppose I have the following buffer:



    BYTE b[4];

    b[0] = 0x40;
    b[1] = 0xe2;
Results 1 to 25 of 293
Page 1 of 12 1 2 3 4





Click Here to Expand Forum to Full Width

Featured