Thanks for all, The answer is actually trying to access out of bounds of a variable - it should give access violation but in Windows it allocates a litle more space then you have requested (duplicates of four i guess). the proplem is with the read routine that seems nearly perfect, I found the error when I tried to free the variable. It actually gave me error at that time (before I forgot to free them:) ). It is very interesting not to get an error on Windows. As Mike said it is actually Access Violation. Thanks for all May the bug killer be with you... Cem Kalyoncu
Cem Kalyoncu
Posts
-
Segmentation fault at a perfect running code -
Segmentation fault at a perfect running codeno.. I have recompiled it using g++. May the bug killer be with you... Cem Kalyoncu
-
Segmentation fault at a perfect running codeI have completed a very important project. I did in VC++ and uploaded to Linux server. After then, I have re-compiled my work (without errors) and run it. It wrotes Segmentation fault, but when i checked output file it is actually the one that i have intended to have. Code uses dynamic memory allocation, file read and write, and 9 nestled for loops. Moreover I have uploaded two more projects and they were working without giving the segmentation fault. Another interesting subject about the code is that it writes values to the file at the end. If you have experienced something like this please send your comments. Deadline for the project is by tommorrow night (15th April). However comments after that time will still be useful. May the bug killer be with you... Cem Kalyoncu
-
How can I make a Fast ascii and hex View of fileI have a program that displays Ascii-Hex-Decimal view of input text. you can easily add file loading part. only send me you mail address and get it...:) Cem
-
Copying files*.Dat is not a valid entry for copyfile... You must add a fileview control to your form. change its pattern to *.dat. Set it invisible. When you project runs set its path to "C:\" and use this code: for i = 0 to file1.count-1 copyfile "c:\" & file1.list(i), "a:\" & file1.list(1) next have good programing, Cem
-
Drawing thingsWant something fast mail me(cemkalyoncu@yahoo.com). DirectX has too many depencies but if you use GDI effectively you will increase speed(setdibits API:)).
-
Using ATL objects in the project its createdI have a big project that has 5 ATL simple object. The first one is called as Header. This Header module will contain a collection of other objects. But cannot create these objects in the same application(though I can create them in another VB application). Can you help me? Thanks a lot, Cem