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

Search:

Type: Posts; User: RileyDeWiley

Search: Search took 0.02 seconds.

  1. Re: Mapping handles to device to hardware ID for same device

    I will answer my own question for benefit of the search engines ... I was working on development hardware in which the device ID and vendor ID were set to pre-release default values. The right way to...
  2. Mapping handles to device to hardware ID for same device

    I have two instances of a given device on a given machine (actually they are different devices but they use the same driver). I need to know which of these two instances I am talking to.

    The...
  3. Replies
    0
    Views
    7,623

    Get resource settings from user code

    I am writing a user level app that needs to get the memory range used by a driver. To be clear, the value I need can be viewed in the Device Manager on the Resources tab of the Properties page, so I...
  4. Re: What cookies are presented when using browser history?

    I can't post the code, but can tell you what is going on.

    There are three pages that matter:
    -Landing page, on which you login;
    -Start page, which has a link to page X;
    -Page X, which has a...
  5. What cookies are presented when using browser history?

    I am dealing with a bug related to using history (back button or backspace key) to revisit a page. The bug seems to be related to cookie presentation (the bug is that a login page is shown if the...
  6. Re: How to know if field returned by Type.GetFields() is from base class?

    I needed FieldInfo.DeclaringType.

    Thank me very much ..
  7. How to know if field returned by Type.GetFields() is from base class?

    I have some code that uses one base class and about 100 (yes, really!) derived classes.

    I wish to put into the base class some code that will serialize/deserialize any derived class. To do this I...
  8. Re: CS0119 when compiling generic function, why?

    <whine>
    But the types for which I instantiate it do in fact have a Parse() method... can't the compiler wait and see what I am using it for? A c++ compiler would.
    </whine>

    I have a workaround. ...
  9. CS0119 when compiling generic function, why?

    When I compile this:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    namespace App1
    {
  10. Replies
    7
    Views
    1,595

    Easy question on taking array offset

    I have some code I am porting from c++ to c#, and have gotten into a corner. I know there is an easy way out but don't see it.

    In C++:

    char * sBuf = malloc(100 * sizeof(char));
    ...
  11. Re: DataGridView will not load from list or array

    Error 1 'System.Windows.Forms.DataGridView' does not contain a definition for 'DataBind'

    Has to be something like that, though ...
  12. DataGridView will not load from list or array

    I have a DataGridView object on a form and wish to populate it from a list or array (I have used List<>, ArrayList, and BindingSource to no avail).

    The basic problem is that no data appears after...
  13. Replies
    2
    Views
    897

    Re: Using c++ classes in c#

    I need to serialize / deserialize the unmanaged class. That gonna work?

    Riley
  14. Replies
    2
    Views
    897

    Using c++ classes in c#

    I have a problem that must be fairly common for c#-ies.

    I have a nifty set of unmanaged c++ classes, and a new requirement that the classes must be xml-serializable. So I have some choices:
    ...
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured