The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 File.setpos();

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Dababneh Posted - 03/29/2000 : 1:55:00 PM
In large files, it happens that the file.setpos() method sets the pointer to the wrong specified position. This is verified by the file.getpos() method or by reading data from the file, which shows that the pointer is set in a different position. Is there any clear reason for that?
5   L A T E S T    R E P L I E S    (Newest First)
Dababneh Posted - 04/22/2000 : 2:37:00 PM
Thanks a lot Greg, everything is OK now regarding the file.setpos() method with the correct installation of Origin 6 Professional with SR2.
It is clear now to me that the problem which appeared after my installation was due to something else. Namely:
1) The SR2 installation changed the setting 'Use numeric as preferred column type' which was easy to discover and fix.
2) The setting for the number of decimal digits; even though it is stated in the documents that it does not affect the calculations, I realized that it does. I am using external dll's in my project. I am not sure, and have to check, if this is the reason.

Final remark which could be usefull for you; I am using the English version and not the German one.

Anyway Greg, thanks again for your continuous help and I appreciate your efforts as much as I do appreciate Origin itself.

greg Posted - 04/21/2000 : 4:47:00 PM
As a German user, you should contact
Additive for Technical support - and this type of question is certainly more appropriate for tech support than the Forum. I was not able to confirm that Additive received your email becuase they are on vacation at the monment so I will handle this directly.

Versions from Origin 5.0 Release up to and including English Origin 6.0 Service Release 1 have a bug when using the setpos() method for files greater than 16777216 bytes (16M).

This problem was fixed in English Origin 6.0 Service Release 2 so I am surprised to see that you are reporting the problem with your SR2. Please verify that you have applied the patch correctly and that the SYSTEM.VERSION property reports 6.0271. If SYSTEM.VERSION does NOT report this value, then please read the instructions for applying the patch to verify that you have applied the patch correctly and that PATCH.ERR reports only "normal" error messages.

Note that there was no "official" German SR1, although some customers received that version from Additive. I was not able to test the German SR1 and no German SR2 will be available, but a German SR3 will be available shortly (and should include the same fixes as English SR2 and SR3).


For users of 5.X, a workaround to the problem is needed since there will be no further fixes to 5.X.

The setpos() method drops a bit for files of size 2^N where N is greater than 23.

For example:




>16777222mod(position,16)
must be even
>33554432mod(position,16)
must be a mulitiple of 4
>67108864mod(position,16)
must be a multiple of 8

I assume this pattern continues, but I have not tested beyond the table and any attempt at a workaround for version 5.X should thoroughly test the expected ranges.
Dababneh Posted - 04/19/2000 : 5:41:00 PM
I have ordered Origin 6 Professional and just installed it (with SR2).
It seems that I still have the strange behaviour of the file.setpos() method.
I have registered my software and look forward to receiving any valuable suggestions.
Dababneh Posted - 04/10/2000 : 8:05:00 PM
I did, but did not get any response yet.
I would really appreciate informing me if this is a soluble problem or not. I am usually dealing with large binary data files (>32 MB) and using Origin 5 Professional on Windows NT. Would Origin 6 solve the problem in case of an upgrade?
Barb Tobias Posted - 04/03/2000 : 8:53:00 PM
This is an Origin Professional question so you'll need to contact Additive (Origin@additive-net.de), your Origin support representative.

[This message has been edited by Barb Tobias (edited 04-03-2000).]


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000