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

Search:

Type: Posts; User: SteveTaylor

Page 1 of 6 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    0
    Views
    6,229

    SQLite in VS2010

    I am writing an application which requires a database. I am using SQLite and it seemed to be going well but one day I got the error:


    System.BadImageFormatException Could not load file or...
  2. Replies
    0
    Views
    5,343

    Unexpected error message

    Hello all,

    I have a script of the format which is of the format:

    BULK SELECT into X
    FROM SELECT data
    FROM tables
    WHERE conditions
    GROUP BY order
  3. Replies
    4
    Views
    693

    Re: Problem with autoexp

    That is simply not going to happen! Believe me I have tried before.

    However, I could access it from my phone and noticed in a few seconds what was wrong!

    It now works perfectly!!!
    ...
  4. Replies
    4
    Views
    693

    Re: Problem with autoexp

    Possibly but the site is blocked by the internet filter :(
  5. Replies
    4
    Views
    693

    Problem with autoexp

    Hello all,

    I am actually trying something very basic and I simply cannot get it to work.

    I have a class which contains a long parameter I need to display in the watch window so I have added it...
  6. Replies
    6
    Views
    1,406

    Re: Odd code path

    How do I do that?

    Also, I have tried adding extra lines in etc and the same thing always happens.

    The code ALWAYS jumps to the return true. The code then does not actually return from the...
  7. Replies
    6
    Views
    1,406

    Re: Odd code path

    Thanks for the tip.

    I just checked and the build parameters for optimisation is: Disabled (/Od)

    :confused:
  8. Replies
    6
    Views
    1,406

    Odd code path

    Hello all,

    Could someone please confirm that I am not going mad here. The file concerned is up to date and matches the binary that is running:



    try
    {
    if(!p || !ValidValue(pHelper,...
  9. Replies
    14
    Views
    4,708

    Re: Need advice - dev tech interviews

    I simply practices writing the apps out on paper. Do every on line C++ test you can get your hands on, read up on any question you get wrong and ace it next time.
  10. Replies
    2
    Views
    511

    Re: Need to hand this in by midnight

    We are happy to help you if you have a specific coding problem but if it is just that you want us to do it for you then you might be out of luck!

    So, with that in mind, what do you have so far?...
  11. Replies
    1
    Views
    4,585

    HTML generate via Word

    Hello all,

    Sorry if this is not the correct section for this, I could not make up my mind which one was best suited:

    However I need some ideas.

    We are using Word as a HTML conversion...
  12. Replies
    14
    Views
    2,100

    Re: fgets returns invalid parameter error

    I see what you mean but the only way to show the full inter-related code would be to post the entire file which I am not allowed to do.

    Ah well, thanks to all who tried to help.
  13. Replies
    14
    Views
    2,100

    Re: fgets returns invalid parameter error

    Okay I have tried some more changes and the following is causing the same issue. The input file has about 90 entries and this stopped working on the 62nd:



    while (5 == fscanf(fraw, "%lu %lu...
  14. Replies
    14
    Views
    2,100

    Re: fgets returns invalid parameter error

    That worked fine.

    I actually tried embedding it next to my work code and it worked every time through the loop - although the loop broke at 55 rather than 62 this time (there were 66 lines in...
  15. Replies
    14
    Views
    2,100

    Re: fgets returns invalid parameter error

    sscanf looks like

    sscanf(input,"%lu %lu %lu %lu %lu", &d1, &d2, &d3, &d4, &d5)

    The variables are long ints. Also, the output of the first 61 lines is valid.
  16. Replies
    14
    Views
    2,100

    Re: fgets returns invalid parameter error

    The value in the file is something like:

    2855429698 78564831321 5886543215564 6546845636 78794565465

    input has the first 3 values correct and then the first 4 digits of the 4th.

    All lines...
  17. Replies
    14
    Views
    2,100

    Re: fgets returns invalid parameter error

    Thanks for your help but that is not it :-(
  18. Replies
    14
    Views
    2,100

    Re: fgets returns invalid parameter error

    Good spot, I have corrected my post.

    It is a FILE* in the code so that would not be the issue - although my lack of attention to detail might be!
  19. Replies
    14
    Views
    2,100

    fgets returns invalid parameter error

    Hello all,

    I am reading from one file, formatting the data and writing it to a different file in the following way:


    char input[256];
    FILE *fraw; -- initialised earlier.


    while (NULL !=...
  20. Replies
    7
    Views
    2,618

    Re: Chart control in vc# express

    Perfect! Thanks! :)
  21. Replies
    7
    Views
    2,618

    Re: Chart control in vc# express

    Sorry, I should have been more clear.

    I would like a scrollable chart.

    The data is being read in once per second and will be drawn onto a line graph (this works).

    Once it has gone more than...
  22. Replies
    7
    Views
    2,618

    Re: Chart control in vc# express

    Thanks, that helped a lot.

    However, I do not seem to be able to see a way to allow the control to scroll. Am I missing something?

    The specs state that the graph should display the most recent...
  23. Replies
    7
    Views
    2,618

    [RESOLVED] Chart control in vc# express

    Hello all,

    Does anyone know how I can turn off the background grid in the chart control?
    This is the or that comes as default in visual studio c# express.
  24. Re: Difference between strings before and after strncpy

    Yep, it was a null terminator problem!

    I can correct it by using the CString ctor

    CString str = new CString(data, 10);

    However, I cannot have this many allocations and deallocations in the...
  25. Re: Difference between strings before and after strncpy

    Apologies, since I wrote the title of the thread and the text of the thread I realised that the strncpy was not the issue.

    What I do not understand is why the text as read from the database says
    ...
Results 1 to 25 of 129
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured