|
Post by stevecc on Jan 25, 2022 21:52:33 GMT 1
I am trying to recompile my application written in dBaseIV using the Program Dblink.exe.
It goes thru the normal motions and creates the expected .txt file showing all of the linked modules but silently fails to create the .dbo file that it should create. Any ideas? or Questions?
|
|
|
Post by Jos on Jan 25, 2022 22:07:00 GMT 1
If Dblink.exe doesn’t report why the .dbo isn’t created, start vDos.exe with the log option (...\vDos.exe /log). The generated vDos.log should clarify what’s going on.
As it’s your own application, you might have a look at Harbour (http://harbour-project.org). Investing some initial time would get you a genuine Windows (and other OS’s) program.
Jos
|
|
|
Post by stevecc on Jan 25, 2022 22:20:50 GMT 1
Thanks I start vDos with a Windows shortcut In Target I have "C:\Users\steve\Documents\vDos\vDos Install Files\vDos.exe" and in Start in I have "C:\Users\steve\Documents\vDos\Acctg Program Development"
When I change Target to "C:\Users\steve\Documents\vDos\vDos Install Files\vDos.exe /log" I get an error saying the path and filename are incorrect.
|
|
|
Post by Jos on Jan 25, 2022 22:28:11 GMT 1
If the vDos.exe paths of the Targets are the same, the error makes no sense. You actually added a space followed by /log to the existing path?
Jos
|
|
|
Post by stevecc on Jan 25, 2022 22:32:48 GMT 1
Yes - the space and /log are inside the quotes like this "C:\Users\steve\Documents\vDos\vDos Install Files\vDos.exe /log"
|
|
|
Post by Jos on Jan 25, 2022 22:38:59 GMT 1
Sorry, I missed the quotes.
It should be: "C:\Users\steve\Documents\vDos\vDos Install Files\vDos.exe" /log
Else the quoted text is considered to be the path by Windows.
Jos
|
|
|
Post by stevecc on Jan 25, 2022 23:27:12 GMT 1
Here is the last - and what I think relevant - part of the log:
29.34 RENAME failed acctg.dbo -> acctg.bak (5) RENAME failed $$TEMP@@.$$$ -> acctg.dbo (5) Int 5 => original Int 0 => original Int 23 => original 40.78 vDos ended by EXIT (4)
This appears to show the failure creating the new acctg.dbo file that I need.
|
|
|
Post by Jos on Jan 25, 2022 23:37:43 GMT 1
Renaming acctg.dbo to acctg.bak seems the issue.
DOS error 5 “Access denied”. I suppose acctg.bak is already present, so the rename command can only fail.
Since acctg.dbo couldn’t be renamed, the next rename command will of course also fail.
Check why acctg.bak is (still) present at that moment?
Jos
|
|
|
Post by stevecc on Jan 26, 2022 0:01:18 GMT 1
Deleting acctg.bak fixed the problem. This was never a problem in Win 7 and earlier but . . . Glad to be able to move forward. Thanks
|
|
|
Post by Jos on Jan 26, 2022 0:14:25 GMT 1
If the issue resurfaces, you would to have a closer look why acctg.bak still exists at that critical moment.
Else it would be caused by initial testing, like copying the program directory while the program is running.
Jos
|
|