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

Search:

Type: Posts; User: Hoobs

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    6,361

    Re: Mapped Drive to UNC

    New Resolution:
    Since it was running in a service, the user running the program was Local System, not the logged in user, so the mapped drives were different. Running the service as myself made the...
  2. Replies
    3
    Views
    6,361

    Re: Mapped Drive to UNC

    Thanks for the reply, David.

    NET USE tells me :
    Status Local Remote Network

    --------------------------------------------------------------------------
    OK ...
  3. Re: C# How to check if pictureBox1 touches pictureBox2

    Another, simpler approach:



    public bool DoPicturesIntersect(PictureBox square1, PictureBox square2)
    {
    return square1.DisplayRectangle.IntersectsWith(square2.DisplayRectangle);
    }
  4. Replies
    3
    Views
    6,361

    Mapped Drive to UNC

    Using .NET 4

    I'm trying to convert from Mapped Drive paths (e.g. "Z:\tmp\test.txt => \\server\tmp\test.txt") and I'm having mixed results.

    I used a function from...
  5. Replies
    3
    Views
    531

    Re: Linking both 32- and 64-bit dlls

    That looks exactly like what I needed, but I neglected to mention something else maybe you know.

    I'm creating a COM dll out of these libs, so there is a static class incorporating my calls. Is...
  6. Replies
    3
    Views
    531

    Linking both 32- and 64-bit dlls

    I am using a third-party library that has seperate 32 and 64 bit libraries:

    C:\Program Files (x86)\CompanyName\LibraryName.lib
    and
    C:\Program Files (x86)\CompanyName\x64\LibraryName.lib

    The...
  7. Replies
    13
    Views
    12,348

    Re: #define vs const - where to use #define?

    I've never had stdlib get lost with such a macro, and scope is only an issue if you poorly separate your classes.
  8. Replies
    2
    Views
    584

    Re: Saving and Retrieving info.

    It depends on how "secure" you want this to be. The simplest way would be to create a text file with the character's name, say "dudeguy.txt" and then use serialization to output the Character object...
  9. Replies
    13
    Views
    12,348

    Re: #define vs const - where to use #define?

    #define is also incredibly useful for macros.
    I frequently use them to allocate common pointers, like char*. For example:



    #define malstr(str,size) \
    str =...
  10. Replies
    1
    Views
    3,848

    [SOLVED]CMD.exe input/output redirection or piping

    I didn't see anything in search or FAQ, but if I just missed it then I apologize.

    (Windows Platform)
    My end goal is to run console commands on a remote machine via telnet entirely...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured