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

Search:

Type: Posts; User: The_Diamond_Z

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. ATL 7 SOAP and SSL not a good match?

    I hope this is the right forum....

    I've developed a web service using ATL7 and it does what it needs to do.

    I'd like to run this service over SSL...and this is where I run into trouble.

    I...
  2. Replies
    18
    Views
    9,649

    Re: Broadcast across subnets!!

    Or (as another poster sort of suggested) create a repeater. Write small program that listens for the broadcast on your subnet and sends the message a connection to a well known machine on the other...
  3. Replies
    6
    Views
    781

    Also look into SSPI if you're trying to...

    Also look into SSPI if you're trying to impersonate a user in your service. Be aware with LogonUser and SSPI your service will need "Act as port of the operating system" or "SE_TCB_NAME" priv's if...
  4. Replies
    5
    Views
    1,037

    A Critical Section is used to synch access to a...

    A Critical Section is used to synch access to a resource within a process. Mutexes are used across processes but on the same machine space. If you're using sockets, I'm assuming the clients are not...
  5. Replies
    4
    Views
    2,245

    Are you talking about Adobe or MS e-Books? If...

    Are you talking about Adobe or MS e-Books? If so, look at there web sites. MS probably publish the format and Adobe might as well. If not, then Google.

    It's not a simple format and it's probably...
  6. Replies
    1
    Views
    894

    Whooppss..just looked at the MS Security...

    Whooppss..just looked at the MS Security newsgroup and found that answer: Yes.
  7. Replies
    1
    Views
    894

    AcceptSecurityContext thread safe?

    Doing some SSPI work...on the server is a socket server using IO Completion ports so there is no guarantee that an entire dialogue will take place in on thread.


    Does anyone know if...
  8. I see..I'll give it a go and we'll see what...

    I see..I'll give it a go and we'll see what happens.
  9. I don't see how WTSWaitSystemEvent can be used to...

    I don't see how WTSWaitSystemEvent can be used to get me the logged in username. It will tell me when someone new logs in (or any number of events related to Terminal Services) but not who.
  10. How do I find out who is logged into the console?

    GetUser() will tell me who a process/thread is running as, but if I'm running as a COM+ application I might be running under a different account.

    How do I find out who is logged into the console...
  11. Replies
    3
    Views
    911

    That's a good idea, but I won't have access to...

    That's a good idea, but I won't have access to the client. I'm developing the component and I'd like to do things a bit differently for COM+ Application vs an in-proc component.
  12. Replies
    3
    Views
    911

    GetObjectContext & COM+

    How do I tell if my COM+ dll is running/hosted within a COM+ package as opposed to running in-proc?

    In COM/MTS I would query Context Object, but the doc's say this only works on NT4 and earlier.
  13. Replies
    6
    Views
    1,151

    You could also store the binary date as base 64. ...

    You could also store the binary date as base 64. Look at CryptBinaryToString and CryptStringToBinary or look up base64 in MSDN.
  14. Could also just use a set. It stores unique...

    Could also just use a set. It stores unique values
  15. Replies
    4
    Views
    912

    I love the Internet! Thanks to all that provided...

    I love the Internet! Thanks to all that provided suggestions. I've implimented VipulPathak's suggestion and it's spot on.

    The only hiccup I had was I needed to include MSTCPiP.h for the...
  16. Replies
    4
    Views
    912

    How to release dead sockets?

    I've written a socket server using IO Completion ports and I'm impressed with the results. So much so that I'm shootting for perfection in this code and I've got one last problem to deal with.

    If...
  17. Replies
    0
    Views
    959

    Lnk4227 & Ado

    I have some legacy code that I'm plugging into a VC++.Net service and it all seems to work out but I get the following as a linker warning that I'd like to clean up (or hide if I can't).
    ...
  18. Replies
    35
    Views
    48,126

    If you're not worried about having to support the...

    If you're not worried about having to support the user moving machines...you could always use CryptoAPI (it's available on all current windows platforms, it's from MS and it's free) to generate a...
  19. Speeding up LogonUser and sample SSPI code?

    I've a service that I'd like to secure calls to. The service speaks to many types of clients over a socket, but for NT clients, I'd like to authenticate against a domain them without requesting a...
  20. Replies
    9
    Views
    1,261

    Just out of curiousity, how would you provide X...

    Just out of curiousity, how would you provide X at compile time? Is it based on a #define, a code generator or what? I'm just curious as this seems a most unusual situation.
  21. Replies
    9
    Views
    1,261

    . Whoops...just read this again and I don't...

    .

    Whoops...just read this again and I don't think I've answered your question and I suspect I don't know a simple answer.

    Doing something like

    MACRO(X)
    {
    if (X == 1)
    // Some code
  22. Replies
    9
    Views
    1,261

    Here's a macro I use pretty often: #ifdef...

    Here's a macro I use pretty often:



    #ifdef _DEBUG
    #ifdef _CONSOLE
    #define PKI_DEBUG_MESSAGE(x) { _tprintf(_T("\t%s\n"),x); }
    #define PKI_DEBUG_MESSAGE2(x,y) {...
  23. Got it. It turns out that indx wasn't skipping...

    Got it. It turns out that indx wasn't skipping at all, but it sure looked that way in the debugger. I was doing a printf on something stored in MSXML and a subtle bit of code was actually causing...
  24. Yes, I'm watching it in the debugger.

    Yes, I'm watching it in the debugger.
  25. Thread: Dcom

    by The_Diamond_Z
    Replies
    2
    Views
    554

    I've noticed with object set up for remoting...

    I've noticed with object set up for remoting (DCOM/MTS/COM+) VB sometimes has trouble letting go. I think the IDE's Project | References code is a bit messed up. Once you run a program under the...
Results 1 to 25 of 44
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured