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

Search:

Type: Posts; User: Mogulbasher

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. 2 way Data Binding With CollectionViewSource MVVM

    I have run into an issue with a runtime error when trying to edit a textbox in a datagrid.

    "EditItem Not allowed for this view" I think this means that somewhere along the lines it has lost the...
  2. Replies
    0
    Views
    2,080

    Master Detail Data Binding

    Ok I have two observable collections drawn from the same binary file as follows



    public ObservableCollection<Model.CourseAsset> AllCourseAssets
    {
    get;
    private...
  3. Managing Binary Data in Multiple Objects

    Ok, first of all I am new to C# having only developed in C++ before so I am struggling with how to do certain things. Also I am building this app in WPF trying to use MVVM at the same time.

    I...
  4. Replies
    7
    Views
    692

    Re: DirectX Application Dependencies

    That did the trick... Thanks you very much... Andrew
  5. Replies
    7
    Views
    692

    Re: DirectX Application Dependencies

    if by release build you mean that the active build is set to release and C++ Config to Multithreaded DLL (/MD) I did that....

    I am using VS 2008

    I had the users do a DirectX update to make...
  6. Replies
    7
    Views
    692

    Re: DirectX Application Dependencies

    I did. It is linked via the Project properties include and lib directories and I have added the seperate lib files d3dx9.lib and d3d9.lib

    It did not work.
  7. Replies
    7
    Views
    692

    DirectX Application Dependencies

    Hi, I have an application that I wrote to convert .X files into a format needed for another application. In it I use various DirectX functions such as



    LPDIRECT3D9 d3d = NULL;
    HWND hD3DWnd =...
  8. Replies
    3
    Views
    414

    Re: Problem with ComboBox

    Good idea, and I thinkit explains why I was seing the intIndex values I was seing. However, changing the combobox to not sort while it did sort out what I was seing in the debug did nothing to...
  9. Replies
    7
    Views
    2,354

    Re: memcpy error

    When you declare a pointer you must allocate memory to it..

    eg...

    char * pData;
    pData = new char[20];

    This is rather simple but it emphasizes the point that we have now allocated...
  10. Replies
    3
    Views
    414

    Problem with ComboBox

    Ok I have a data structure as follows



    typedef struct
    {
    char ConstructionName[20];
    }Constructions;
  11. Replies
    8
    Views
    565

    Re: Stack Overflow

    Great worked a treat, thank you very much

    Amdrew
  12. Replies
    8
    Views
    565

    Re: Stack Overflow

    VS2005 allowed it... I changed it to [1536000]
  13. Replies
    8
    Views
    565

    Re: Stack Overflow

    First of all thanks for replying...

    Replacing

    FinalTGAFile tgaCell;

    with

    FinalTGAFile* tgaCell = new FinalTGAFile;
  14. Replies
    8
    Views
    565

    [RESOLVED] Stack Overflow

    Ok, it seems I have made a beginners error. I have the following structures defined in my h file



    typedef struct {
    unsigned char B;
    unsigned char G;
    unsigned char R;
    unsigned char A;...
  15. Replies
    2
    Views
    623

    Re: Convert char* to Byte*

    so basically if I use unsigned char * pSrcData I can pass that to the function.....I will give that a go...
  16. Replies
    2
    Views
    623

    Convert char* to Byte*

    In summary I am trying to pass a compressed file to an uncompress function...

    The uncompress function is defined as follows



    ...
  17. Replies
    0
    Views
    275

    Bitmap Compression class

    Ok, I have written code to load a BMP including palette data and image data. To be compatible with the program I am writing for I need to take the image data piece only and compress it using an...
  18. Replies
    7
    Views
    571

    Re: Pointer confusion

    I only started C++ programming about 6 months ago in my spare time and so I must confess this is getting a little bit beyond me. Which probably explains why my code is a little inefficient.

    I...
  19. Replies
    7
    Views
    571

    Re: Pointer confusion

    Now I have to figure out how to get to the data itself.

    I am not sure that my line getVetexes is actually getting the vertes information because when I output it I am not getting a set of...
  20. Replies
    7
    Views
    571

    Re: Pointer confusion

    Ok taking what you posted as a guide I think I got it to work using the following



    float * getTexCoords;
    float * getVertexes;


    getVertexes = new float[m.Objects[0].numVerts];...
  21. Replies
    7
    Views
    571

    Pointer confusion

    ok, I am trying to extract some data and the size of that data out of a structure. the structure is inside a class.

    Class is called MODEL_3DS and I have created an object instance of the class...
  22. Replies
    15
    Views
    899

    Re: Read Unicode into Struct

    Its my project I guess I can do anything....hehe

    EDIT:

    Oops...guess not...Adding Unicode to the project properties C++ section caused a whole bunch of errors...so guess thats out...

    A
  23. Replies
    15
    Views
    899

    Re: Read Unicode into Struct

    Ok I think I am homing in on the problem...

    The g_CatArray is a Wide Char array. As a result I think it may be terminating at the second byte. In order to feed the dialog I am assuming I have to...
  24. Replies
    15
    Views
    899

    Re: Read Unicode into Struct

    Ok, so I am trying to take the structured array and populate the variables into a comboBox. I am using the following code



    int nIndex;
    int a;
    for (a=0; a < 18; a++)
    {
    nIndex =...
  25. Replies
    15
    Views
    899

    Re: Read Unicode into Struct

    Thanks...you nailed it....I looked in hex editor at the ascii to check for ... between each variable but on closer examination of the bytes they were not NULL eg 00 08 00 changing them to 00 fixed...
Results 1 to 25 of 59
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center