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

Search:

Type: Posts; User: Dark Mage

Page 1 of 16 1 2 3 4

Search: Search took 0.46 seconds.

  1. Thread: LogonUser

    by Dark Mage
    Replies
    0
    Views
    619

    LogonUser

    On Windows 2000, I keep getting error 1314 (ERROR_PRIVILEGE_NOT_HELD) even though I have enabled SEVERAL provileges:
    SE_TCB_NAME.
    SE_CHANGE_NOTIFY_NAME,
    "Replace Process Level Token",
    "Increase...
  2. Replies
    1
    Views
    1,431

    I found the answer with CreateDialogParam()

    I found the answer with CreateDialogParam()
  3. Replies
    1
    Views
    1,431

    DialogProc ATL

    I've created an ATL Project. The object needs to be able to expose methods and properties either through a gui (dialog) or programmatically (ie script). So I have a function called ShowDialog()...
  4. Thread: Toolbars

    by Dark Mage
    Replies
    3
    Views
    666

    Maybe, I did a: CToolTipCtrl *pTTCtrl =...

    Maybe, I did a:
    CToolTipCtrl *pTTCtrl = rCtrl.GetToolTips(); //rCtrl is a CToolBarCtrl
    and it returned a null pointer, so apparently by default it doesn't have one...??
    But that does open a new...
  5. Thread: Toolbars

    by Dark Mage
    Replies
    3
    Views
    666

    Toolbars

    I have a number of toolbars in my application, one of which is a dynamically created toolbar which launches 3rd party software. I created a function to add a button to it:
    AddQuickLaunchBtn(int...
  6. Thread: sendto()

    by Dark Mage
    Replies
    1
    Views
    706

    sendto()

    sendto() returns the number of bytes written or SOCKET_ERROR. How can I accurately measure the bandwidth being taken up by this socket with everything wrapped around what I send? It's a UDP socket....
  7. Replies
    0
    Views
    606

    SHGetSpecialFolderPath

    Is there a way to do something like SHGetSpecialFolderPath for a remote machine? I need to know where the special folders are for a machine on the network. Or should I just touch their registry to...
  8. Replies
    4
    Views
    982

    Thanks for your in depth reply.

    Thanks for your in depth reply.
  9. Replies
    4
    Views
    982

    I know this is for Visual C++, which I use on a...

    I know this is for Visual C++, which I use on a daily basis, and I've been using this forum for 2 - 3 years for that purpose, and there are often off topic subjects. I just know there are many...
  10. Replies
    4
    Views
    982

    eprom burning

    Can anyone recomend a good compiler for burning eproms?
  11. Replies
    0
    Views
    2,273

    OnInitDialog() & OnInitialUpdate()

    Where is an appropriate place to do things that require a valid window within CWnds, like CDialog::OnInitDialog() and CView::OnInitialUpdate()?

    If I need to get a DC, or other things that would...
  12. Replies
    71
    Views
    4,964

    Re: Re: Things to do before posting!

    Yeah, BUT... it's online.... http://msdn.microsoft.com and if you can't get to that, then you can't get to codeguru.com to ask the question.
  13. Replies
    0
    Views
    674

    Dialog in a CDialogBar

    I have a CDialog class, it has various controls on it, some have notify turned on to get WM_LBUTTONDOWN and WM_LBUTTONUP messages. If I put this dialog as a child onto a form, all works well, and...
  14. Thread: HTMLView

    by Dark Mage
    Replies
    0
    Views
    473

    HTMLView

    Is it possible from HTMLView to build an HTML in memory and display it
    in the view without pushing it to file?

    I'd like to do something like Outlook's "Outlook Today".

    *DM*
    AIM/AOL: ...
  15. Replies
    0
    Views
    522

    IntelliSense ??

    At work, I have the same inlude directories setup as I do on my home
    computer. What I'd like to know is, why do I get fly outs for
    things at work, that I do not at home? Example.. working within...
  16. Replies
    13
    Views
    3,126

    Re: CPtrArray without MFC

    !PROBLEM SOLVED!

    Thanks to both of you for your help. I took this project over from someone else, and I found this in one of the precompile defines:
    ...
  17. Replies
    13
    Views
    3,126

    Re: CPtrArray without MFC

    Yes, that's pretty much right.

    Here's the beginning of my header as a whole:

    //MyHeader.h
    #ifndef __MYDEFINE__
    #define __MYDEFINE__


    // {51901E79-2B5A-4709-8968-780A766E3F2F}
  18. Replies
    13
    Views
    3,126

    Re: CPtrArray without MFC

    There is no MFC in this project, that's why I'm not using the
    CPtrArray I'm so familiar with. The header has no other
    includes, the cpp looks like this:


    #include <streams.h>
    #include...
  19. Replies
    13
    Views
    3,126

    Re: CPtrArray without MFC

    Okay, I think I'm about ready to run with it..
    but I'm running into one other problem, that maybe
    you know an obvious answer to. I was going
    to make the array a member variable:

    private:
    ...
  20. Replies
    13
    Views
    3,126

    Re: CPtrArray without MFC

    I'm reading about STL now, but I admit it being a weakness, could you point me
    into the right direction?
    "valarray" for pointers? or a custom template class?
    The documentation on STL in MSDN...
  21. Replies
    13
    Views
    3,126

    CPtrArray without MFC

    How can I keep up with a dynamic number of pointers without MFC's CPtrArray?
    This project doesn't have MFC, and I need to keep up with a dynamic number of
    structure pointers, including looping...
  22. Replies
    0
    Views
    1,523

    DECLARE_IUNKNOWN

    I'm using DirectShow, and it wants a callback function within an interface.

    ISampleGrabber::SetCallback(ISampleGrabberCB* pCallback, UINT nCallBackFuncToUse)

    the 2nd param is for which of two...
  23. Thread: SHANDLE_PTR

    by Dark Mage
    Replies
    0
    Views
    2,796

    SHANDLE_PTR

    Yes, it's a Saturday, and I've pulled down code to work on at
    home from the office. The strange thing is, when I try to compile
    the code that we use on a daily bases from work, my compiler's...
  24. Replies
    0
    Views
    677

    Service question

    Is there a way to say in which order services are ran at boot up?
    Is it just alphabetical?

    *DM*
    AIM/AOL: EdisonCPP
    ICQ: 39184886 - ID EdisonCPP
    Email: edisoncpp@carolina.rr.com
    ...
  25. Replies
    2
    Views
    979

    Re: OPENFILENAME for Open File Dlg

    I ended up writing a replacement for it that allowed
    them to choose FLOPPY, or various other locatoins,
    and when I did allow them to do anything, I gave them
    a browse button.

    *DM*
    AIM/AOL: ...
Results 1 to 25 of 391
Page 1 of 16 1 2 3 4





Click Here to Expand Forum to Full Width

Featured