Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: fheyn
  • Order by date
  1. fheyn

    delete command with sqlite

    hi, the class listed below is used to access a sqlite database. read data from database or insert or update data works fine.delete however does not. what I want to do is delete one record by given id from one table (where it's the primary key) and all records by given id from a second table. on...
  2. fheyn

    computer shuts down unexpectedly

    hi again, first of all thanks to all of you for your comments. some data : board is asrock-k8upgrade-nf3 (since asrock states that this model is NOT sold world wide, I don't know if you are familiar with it. there's no on-board graphics, so the only part attached right now is the gforce graphics...
  3. fheyn

    computer shuts down unexpectedly

    os is winxp, sp3 which is frequently used. the last time I did so it came up with the extended boot menu. I selected 'normal start' and it shut down. tried again, same thing. replaced the hdd, tried to install winxp, first step it does, then install process restarts pc, I see winxp logo for half...
  4. fheyn

    problem with bitmap

    hi, i need some help in graphics display of bitmap. i load a bitmap from file, resize it and display it. when form is closed the bitmap is save to a config-file as byte[]. when i load the bitmap from config-file i get the following exception : "rotatedImage.Palette" caused excetion of type...
  5. fheyn

    hi, hope there's somebody around i

    hi, hope there's somebody around in the world of web-programming who remembers old BASIC and MASM. here is what i got : compiled BASIC-program start.exe compiled BASIC program prog1.exe three libraries of asm-modules asm.lib, prog.lib and start.lib, where asm is the base-library. prog needs...
  6. fheyn

    File handling

    instead of the directory structure you can can use structures (or classes) and store the data in ONE file. for that you'll have to study access to binary file. or try serialization with class-data
  7. fheyn

    Run-Time Check Failure #2 - Stack around the variable was corrupted

    if you store at position x, your array can only handle 1440-x bytes.
  8. fheyn

    Run-Time Check Failure #2 - Stack around the variable was corrupted

    try this : sWork[MAXLENGTH] = '\r'; sWork[MAXLENGTH+1] = '\n'; for (i=0; i<MAXLINES; i++) { for (j=0; j < MAXLENGTH; j++) sWork[j] = psL.psLine[i][j]; PrinterSendDataString (sWork); }
  9. fheyn

    Run-Time Check Failure #2 - Stack around the variable was corrupted

    build sWork using a loop and look what happens and you know that inserting '\0' will overwrite data.
  10. fheyn

    pointer

    thank you guys, I tried it, it works !
  11. fheyn

    pointer

    hi, void f(MyStruct* p) { p = new MyStruct; } is called like this : f(ptr1); with ptr1 declared as MyStruct* ptr1; I think passing the pointer as above is incorrect 'cause p has a correct value but ptr1 is 0 after the function call. so what's wrong ? thanks in advance
  12. fheyn

    Regular Expressions Help

    what's the backslash for ? makes sense that way [\[\]] and will compile
  13. fheyn

    Function pointer to 'extern C'

    it works !!!
  14. fheyn

    Function pointer to 'extern C'

    hi, great site but no solution to my problem I will describe it differntly: func1(char*, int(*)()) is hidden somewhere in an old c-library the 2nd argument of func1 is a pointer to func2(char**, char**) both functions are declared in the c++-app using 'extern C' I must, however, declare func1...
  15. fheyn

    Function pointer to 'extern C'

    Hi good morning (well, at least here in germany it's morning) now it's more than a day I've been trying to solve the following problem : from c++-application I call extern function func1 func1 has as argument pointer to func2. i cannot modify func1 and func2 however I'm unable to set the...
  16. fheyn

    Is c language the correct?

    Doesn't sound crazy, but do you think you'll get it finished (means operate error-free) BEFORE the Cubs will win the World Series ?
  17. fheyn

    Modal form load

    replacing .82 with .69 and still getting the same behaviour has no logic. Perhaps you should remove the control and create it new on your form. fh
  18. fheyn

    Wierd string variable substitution effect

    interesting indeed, I could produce the same result in one of my apps Maybe it's an attemted auto-mechanism that doesn't build the string correctly or the message-box-string is build incorrectly. other explications ?
  19. fheyn

    Customizing array

    and as VBrit said it's better to use user defined type unless you have all your textboxes indexed.
  20. fheyn

    Customizing array

    on NEXT you'll have to incriment a variable (i.e. count) and use it as index instead of the for...next loop

Part and Inventory Search

Back
Top