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

Search:

Type: Posts; User: jeffrey@toad.net

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Getting IMarkupServices from IHTMLDocument2

    Hi Chuck,

    I know this is a bit late... Windows 2000, VC++ 6.0 and no SDK gets the same results.

    If I install latest SDK (March 2006), I get a Link Error 1103 - LNK1103 - UUID library is...
  2. Replies
    1
    Views
    3,006

    Re: Job Already Started Error

    http://groups.google.com/group/microsoft.public.vb.crystal/browse_frm/thread/c6ad89366e85a75/9ae5cd1228234893?lnk=st&q=Printer+%22Job+Already+Started%22&rnum=4&hl=en#9ae5cd1228234893
  3. Programically creating DSN (ODBC connection)

    Hi All,

    Has anyone done this before? I need to set up a DSN through a setup program so the users will not have to (and get elevated rights).

    It would be the information contained in the Data...
  4. Replies
    2
    Views
    1,977

    Re: peek() with ifstream

    Hi,

    Peek() is a member of istream.

    Goole is your friend.

    Jeff
  5. Re: Howto pass COM object as param in event

    Hi,


    IServerInfo* pNewServer = NULL;
    HRESULT hr = pNewServer->CoCreateInstance(__uuidof(ServerInfo));
    if(SUCCEEDED(hr))
    {
    // Populate COM object properties here.....
    // Now Fire Event....
  6. Replies
    2
    Views
    667

    Re: VC++ 2003 intellisense problem

    Hi,

    Does VS2003 have an ncb file? if so, rename it and open the project (solution) again.

    Jeff
  7. Replies
    9
    Views
    5,677

    Re: Need StringStream Alternative

    Hi diehardii,


    I not sure string::str() is guarunteed to return a NULL terminated string. Try using string::c_str() instead. It does return a NULL terminated string.

    See...
  8. Re: Using FindFirstFileEx to find a file of type .rpt [VC++6]

    Hi,

    FindFirstFileEx takes 6 parameters. Are you confusing it with FindFirstFile?

    Jeff
  9. Re: Relationship Between ActiveX Control and tag

    Hi,

    Have you looked at MSDN?

    Jeff
  10. Replies
    2
    Views
    788

    Re: CPing Class

    Hi Mike,

    Thanks. I could not get you any points - I have to spread them around.

    It's funny the system does not allow me to rate the same people over and over (considering they are helping me...
  11. Replies
    3
    Views
    752

    Re: Include error

    Hi,

    #include "stdafx.h" should be the very first include in a source file (*.cpp).

    Jeff
  12. Replies
    3
    Views
    995

    Re: Debug Assertion Failed

    Hi,

    See if you are smashing your buffer. Comment out the following:

    char buffer[MAX_CHANNEL_NAME];
    memset( buffer, 0x0, MAX_CHANNEL_NAME );
    //channels->Get(i,&pChanEncontrado);
    ...
  13. Replies
    8
    Views
    1,798

    Re: Operation with long_numbers

    Hi draqula,

    If you want to study the algorithms, see Knuth's The Art of Computer Programming, Seminumerical Algorithms.

    If you want an implementation, I prefer Crypto++. An implementation of...
  14. Replies
    2
    Views
    788

    CPing Class

    Hi All,

    I'm looking for a solid Ping class. Does anyone know of a good download?

    I can't get my boss to spring for IPSentry or What's Up Gold, so I'm going to try to roll a basic monitor.
    ...
  15. Re: How to represent variable with space in MAKEFILE

    Hi yinkou,

    The following should also work (I've used it during scripting, but I like the long file names also).

    C:\>dir /X
    Volume in drive C has no label.
    Volume Serial Number is 58AC-2403...
  16. Replies
    25
    Views
    1,880

    Re: new question

    Hi,

    Add an assert to snap the debugger:

    Array(long Size = 0)
    {
    if(Size < 0)
    Size = 0;

    ASSERT( Size > 0 );
  17. Replies
    25
    Views
    1,880

    Re: new question

    Also, an n element array is indexed 0 to n-1.


    _T& operator[](long ID) const
    {
    if(ID < 0 || ID > p_Size)
    ID = 0;

    return(p_Array[ID]);
    }
  18. Replies
    25
    Views
    1,880

    Re: new question

    Hi Mitsukai,

    Though the following is legal C++, it blows up in M$'s implementation (at least in the VC++ 6.0 era):

    p_Array = new _T[p_Size = Size /*=0*/];Jeff
  19. Re: CString and Insertion Operator (

    Hi All,

    Thanks for the responses. I tossed out points where the system would let me (SuperKoko: sorry - I'm told I have to spread them around).

    In the end, I see I left out an important...
  20. Re: CString and Insertion Operator (

    Hi Graham,

    Basically - I do a lot with MFC.

    Below is probably more helpful...

    CString s;
    CryptoPP::Integer n;
    s << n;
    SetEditWindowText( IDC_EDIT_MODULUS, n );Then,
  21. Replies
    1
    Views
    516

    Re: fork. child creation

    Hi Rantech,

    http://www.kohala.com/start/apue.html has samples on fork/exec. See Chapter 8 examples, 'Process Control'. If pid == 0, you're in the child. Simply do it recursively.

    I crashed a...
  22. CString and Insertion Operator (

    Hi All,

    I'm using a library (Crypto++) which defines an Integer (arbitrary size). The Integer class defines operator<<.

    I find that I have to continually copy and paste conversion code to...
  23. Replies
    1
    Views
    603

    Re: CRichEditCtrl

    Hi,

    I've never tried it, but SetFont() on the constituent controls of the Combo Box.

    See http://support.microsoft.com/default.aspx?scid=kb;en-us;Q174667

    Jeff
  24. Replies
    11
    Views
    1,326

    Re: debugger demands more???

    Hi ahoodin,

    Setting Breakpoints When Values Change may be useful for you.

    Jeff
  25. Replies
    4
    Views
    748

    Re: access violation

    Hi WU,

    You may also want to read a bit about First and Second Chance Exceptions.

    Jeff
Results 1 to 25 of 108
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured