Search:

Type: Posts; User: gotclout

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,251

    while(count != 0) while(count > 0) for(i =...

    while(count != 0)
    while(count > 0)

    for(i = 0; i < 5; i++)
    element->Atomic_Shell[i] = 0;
    for(i = 0; i < 7; i++)
    element->Atomic_Shell[i] = 0;

    the last item in your list never gets...
  2. Replies
    1
    Views
    4,309

    In typing out the above it occurred to me that I...

    In typing out the above it occurred to me that I may be using the wrong device context, after testing I was correct.
  3. Replies
    1
    Views
    4,309

    MFC CWnd::OnPaint() Issue

    I have a dialog in which I draw and fill a rectangle with a colour in the OnPaint method of the dialog. When I run my application the dialog is displayed and I see the rectangle being drawn and...
  4. Replies
    14
    Views
    2,676

    I see what your intention is, however linking is...

    I see what your intention is, however linking is something that requires overhead as well. I've essentially done something similar with managed C++ and C# and I ran into some issues that were not...
  5. Replies
    14
    Views
    2,676

    I think you are mistaken

    I think you are mistaken
  6. Replies
    14
    Views
    2,676

    I would imagine so, but that's not mine to tamper...

    I would imagine so, but that's not mine to tamper with
  7. Replies
    14
    Views
    2,676

    umm, well it's a library that needs to be...

    umm, well it's a library that needs to be integrated to work with some legacy code...
  8. Replies
    14
    Views
    2,676

    Well realistically it appears that my only option...

    Well realistically it appears that my only option is to go through the existing code, and find each type of item stored in a given template data structure and add each type to a union and use that as...
  9. Replies
    14
    Views
    2,676

    I'm converting a C++ project to C

    The major issues are as follows:

    structs/classes -
    classes with functions not allowed in C so I have to pull them out and rename them/change parameters
    no constructors or destructors
    so I need...
  10. Thread: BinaryReader

    by gotclout
    Replies
    6
    Views
    2,967

    Ok, so the above doesn't work exactly as desired....

    Ok, so the above doesn't work exactly as desired. The problem I ran into with this is that I already have the byte [] that I read in from the bin file. The code above only works if you have...
  11. Thread: BinaryReader

    by gotclout
    Replies
    6
    Views
    2,967

    http://progtutorials.tripod.com/C_Sharp.htm ...

    http://progtutorials.tripod.com/C_Sharp.htm

    thanks, but this is actually the solution I found after A LOT of searching...it wasn't really even in my Deitel C# book

    basically

    using...
  12. Thread: BinaryReader

    by gotclout
    Replies
    6
    Views
    2,967

    I get the same error in reverse direction too, so...

    I get the same error in reverse direction too, so if I have byte[] myArray and class myClass

    myClass object = (myClass)myArray;

    the conversion from byte[] to myClass fails also.
  13. Thread: BinaryReader

    by gotclout
    Replies
    6
    Views
    2,967

    BinaryReader

    I'm trying to use the Read function, and I was wondering if it is possible to pass in and cast one of my own objects to a byte [] and read it into that structure directly.


    Basically I have a...
  14. Replies
    2
    Views
    2,110

    no ideas?

    no ideas?
  15. Replies
    2
    Views
    2,110

    Forms Cascading and LayoutMdi Help

    How do I make my MDI child forms appear in relative location when I say myForm.show(); Right now I have this cascading effect going on and what I want is to hide the parent and have the child appear...
  16. Replies
    7
    Views
    2,365

    Can anyone help with this? The namespaces...

    Can anyone help with this? The namespaces appearing all over my document are quite messy.
  17. Replies
    7
    Views
    2,365

    System.Xml.XmlDocument

    System.Xml.XmlDocument
  18. Replies
    7
    Views
    2,365

    I still don't have a solution to this. I would...

    I still don't have a solution to this. I would like my document to avoid referencing the namespaces unless it is a new namespace and it is the first mention of it. It makes my document appear...
  19. Replies
    7
    Views
    2,365

    I didn't mean to put emphasis on the fact that...

    I didn't mean to put emphasis on the fact that the namespaceuris be ouput only once because that actually happens. The namespaceuri appears once the first time the prefix is used, and then only the...
  20. Replies
    7
    Views
    2,365

    Anyone have suggestions, or is more detail...

    Anyone have suggestions, or is more detail necessary in order to better understand the problem?
  21. Replies
    7
    Views
    2,365

    C# XML generation

    How do I ensure that all of the namespaces I create for my document are displayed only once in the body of the topmost element, and that any references from then on display the prefix only? The way...
  22. Replies
    6
    Views
    4,585

    oh can you set the listctrl object to accept user...

    oh can you set the listctrl object to accept user input into rows/columns from the keyboard?
  23. Replies
    6
    Views
    4,585

    How would I use the datagrid to say add a row or...

    How would I use the datagrid to say add a row or column put specify a title and allow user input into the table
  24. Replies
    6
    Views
    4,585

    the DataGrid doesn't seem to offer the same...

    the DataGrid doesn't seem to offer the same options as DataGridView, like songsDataGridView.rows.add delete etc...
  25. Replies
    6
    Views
    4,585

    Thanks, according to the documentation this may...

    Thanks, according to the documentation this may be what I am looking for, but where is this defined. Is this not defined in .Net 2003?

    System.Windows.Forms.DataGridView does not exsist on 2003
Results 1 to 25 of 35
Page 1 of 2 1 2