Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
jimvaughan
About
- Username
- jimvaughan
- Joined
- Visits
- 375
- Last Active
- Roles
- Member
Comments
-
Thanks for the tips and help, it's appreciated.
-
Good suggestion.
-
I figured it out, one of the files in the existing volume was not getting detached and I didnt notice. Thanks for the patience help.
-
That's testing a new location for the files, outside of %temp%
-
@file_error looks like this
-
I copy all the files in the directory, I have checked and they are byte identical. The new location has never existed.
-
Hmm, this what I'm doing. Detach existing volume. Use osread and oswrite to copy rev files from that volume to a new location. I then attempt to attach those files at the new location. Is that a different volume name?
-
Thanks Barry.
-
I guess I need to report this as a bug. How do I do that nowadays?
-
I am using 10.2.4
-
Thanks Barry, yes they show up under that menu.
-
>> are your tables a member of the W_TACTIC database<< The database ID is W_TACTIC, how would I tell if the tables are members of this database. They are attached when I open OI.
-
I just recompiled the code that copies the files. I added a debug, changed my mind and deleted the debug. Now like magic it's working I have no idea what I did to fix it. Edit: It didn't fix it. It's now not detaching the original tables. So jus…
-
I can attach the files in the original location but not the copied ones. Bizzare maybe it's the location in the Windows %Temp% directory. Let me experiment.
-
Following also does not work Subroutine Test_Jim(Null) Gosub Get_Table_Names Call Detach_Table(Table_Names) Dir_Name = "C:\Users\jimva\AppData\Local\Temp\TACTIC_BUFFER\1" Num_Tables = FieldCount(Table_Names, @FM) For x = 1 To Num_Tables Call A…
-
I tried: Call Attach_Table(Dir_Name, Table_Names, "W_TACTIC", "") It still didn't work.
-
Get_Status() returned 1.
-
10.2.4
-
I will see what happens if I do the tables individually. And with a null parameter. Thanks for the suggestions, it helps a lot.
-
Btw this code that doesn't work in OI10 works fine in OI9.4
-
I agree they should be the exact same thing, but one works and the other does not. One is all RBasic, the other all in database manager.
-
I can remove the old volume and add the new one via database manager.
-
Not using UD. The files are originaly attached in c:\oi10\data\base\ and show up in the tool panel database as tables. All the following is done in RBasic. I then deatch the files. They no longer show up in tool panel database. Copy them to a new…
-
I figured it all out, yes you need to compile any migrated dll prototype records. However OI 10 has a bunch already setup, including one for GDI and it includes CreateCompatibleBitmap. However it is aliased so I need to modify my code to use msWin_…
-
Thanks that is helpful.
-
No it is not. Does anyone know if the migration process copies all dll prototype records and does the Declare_Fcns? Or do have to manualy do this? I do it mnually if need be, I just want to ensure I am not missing anything.
-
I spelt the fn call above wrong i's correct in my code, but doesn't work.
-
Hmm, this one is actually part of the WinAPI.
-
OK let me give that a try, thank you.
-
Custom. Ones I have created. Does OI 9.4 have some out of the box ones which do not excist in 10?