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

Search:

Type: Posts; User: dc_2000

Page 1 of 36 1 2 3 4

Search: Search took 1.73 seconds.

  1. Re: WinSock listen() method seems to be blocked only after a reboot

    OK. A follow up. Please disregard what I said above... I got it solved.

    It was a race condition in my app. It was reading the port number into a local cache variable after the thread that uses...
  2. Re: WinSock listen() method seems to be blocked only after a reboot

    This is an old application (developed for Windows XP) that has `requireAdministrator`UAC request in the manifest. If I add it to the Windows run key, it won't start because of that. Thus my Band-Aid...
  3. Re: WinSock listen() method seems to be blocked only after a reboot

    I restart it from the Windows Explorer by double clicking it. Would that matter though?
  4. Re: WinSock listen() method seems to be blocked only after a reboot

    Thanks.

    You know I don't have much experience with the Wireshark. I'm assuming that you meant installing it on the "listener"-app side, right? Also will it catch connections happening during a...
  5. Re: WinSock listen() method seems to be blocked only after a reboot

    Also just disabled the built-in Windows 10 antivirus and still no luck:

    34781
  6. Re: WinSock listen() method seems to be blocked only after a reboot

    Yep, just tried it on Windows 7 Pro. It works like a charm there.

    As for logging, there's really nothing I can log here. The listen() method returns a value other than SOCKET_ERROR and then...
  7. Re: WinSock listen() method seems to be blocked only after a reboot

    There's nothing banned there by Google.

    Anyway, just to be on a safe side I completely disabled built in Windows firewall:

    34777

    so here's how it looks now:

    34779
  8. Re: WinSock listen() method seems to be blocked only after a reboot

    Didn't it do it automatically when the Windows default warning came up and said "yes" to it? You see the app works if I start it manually. It doesn't work only after a reboot. Then if I close it and...
  9. [RESOLVED] WinSock listen() method seems to be blocked only after a reboot

    I'm not sure what's causing it. I'm developing a server/client type applications that communicate via TCP protocol using WinSock. All connections are done on a local network using IP addresses via...
  10. Re: How to intercept email messages generated by another program?

    No, it's not the same address. It changes depending on the customer account in that software.

    While waiting for a reply, I did some digging around. The Procmon showed:
    ...
  11. How to intercept email messages generated by another program?

    I need to catch email messages that are generated by this custom software that I do not have source code for. (My final goal is then to re-route them into a VM, where Microsoft Outlook will be...
  12. Re: How to inject input text into a running console application

    US-English in both cases.
  13. Re: How to inject input text into a running console application

    Here's the code that I came up with. As you see using that API "slightly" complicates things :)

    There's one issue though. It doesn't seem to work with Unicode characters. Just as an example, if I...
  14. Re: How to inject input text into a running console application

    Oh man, thanks a lot. Although WriteConsoleInput() is not easy to use, but that did it.
  15. How to inject input text into a running console application

    My goal is to be able to inject text into a separate console application. I am able to access a running console process (using DLL injection method) where I can execute the following code from within...
  16. Re: [RESOLVED] Issues drawing background bitmap in edit box common control

    Yes, good point, Igor. Looks like old (and abandoned) Microsoft code.
  17. Re: Issues drawing background bitmap in edit box common control

    Again. You're creating a solid color brush. That is why you don't see that artifact in your app.
  18. Re: Issues drawing background bitmap in edit box common control

    Victor, I get the same result if I override WM_CTRLCOLOR from my subclass of CEdit class.

    You see the difference between my example and the one you linked to is that they use solid color brush...
  19. Re: Issues drawing background bitmap in edit box common control

    Because OnCtlColor is sent to the parent window, is it not?
  20. [RESOLVED] Issues drawing background bitmap in edit box common control

    I was trying to subclass common-control's edit box to display a custom background bitmap.

    The brush for drawing is created as such:


    CBitmap bmp1;
    CBrush brush1;
    ...
  21. Windows SDKs repository -- looking for Cardfile source files

    Hi everyone:

    I'm curious if there's a repository somewhere that hosts previous versions of Windows SDKs. I'm looking for the source code for the old Microsoft software, called Cardfile to read...
  22. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    It's off subject, you're correct except one detail. It takes BOOLEAN and not BOOL, at least the last parameter. (See the asm I posted above.)
  23. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    Oh wow, you're right. I didn't realize that Microsoft doesn't have to play by (their own) rules :)

    Moreover it doesn't seem like error checks is in their repertoire either. I didn't want to do it...
  24. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    Thanks. Yeah, unfortunately it looks like I'll have to dig into the depths of RPC authentication :(


    Hmm... I think "g" option just uses the SHUTDOWN_RESTARTAPPS flag, although with the...
  25. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    As I said above, I need to be able to use SHUTDOWN_INSTALL_UPDATES flag for a power action on a remote machine.

    Just curious, did anyone use WsdrInitiateShutdown? I'm interested if it could do the...
Results 1 to 25 of 898
Page 1 of 36 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)