Alaska Software Inc. - Problem Running VX
Username: Password:
AuthorTopic: Problem Running VX
Richard L. Hankins, Jr.
Problem Running VX
on Mon, 23 May 2005 15:38:22 -0500
I had previously posted a question regarding this topic, but have not
had time to explore it further until now.  It is something that I am
doing but I cannot find out what it is.


Here are the steps I take to try to use VX....


1) Open VX

2) File > New > Win 32 Application
	Name: TestTest

3) Double click on main.prg and modify main() to be:
	PROCEDURE main
	  MsgBox("Hi There")
	  //** tried this too: QUIT
	RETURN

4) Save and hit F9 to run it.

5) Now I get my message that says "Hi There"

6) Build application CTRL+F9

7) Captured Error:
	You do not have write access to the following Targets:
		C:\Alaska\xppw32\projects\testtest\testtest.exe
	It is recommended to close all application that have the file locked.

so what am I doing wrong between step 5 and step 6?  It happens to me
on every computer I have tried using it on.

Thanks,

- richard hankins

"Never stand between a fire hydrant and a dog."
Martin AltmannRe: Problem Running VX
on Tue, 24 May 2005 06:10:04 +0200
Richard,
this issue has been addressed (more or less) recently!
You should have no problem when skipping step 4 (and 5).
This means, that the output file is in use (by the debugger) and cannot be 
rebuild. IIRC there should be an option in one menu to tick/select to change 
this behaviour.

Regards,
Martin
Martin AltmannRe: Problem Running VX
on Tue, 24 May 2005 06:13:48 +0200
Richard,
sorry - finally found that thread and it was you! Just saw, that it did not 
help you then either.
Sorry,
Martin
MiguelRe: Problem Running VX
on Thu, 16 Jun 2005 17:45:43 +0200
What are you doing between step 5 and 6 to stop the application?  I tried
what you said and had no problem quitting my app by clicking on the cross in
the upper left corner.

Miguel

"Richard L. Hankins, Jr." <RHankins@ContactASI.com> a crit dans le message
de news:om9b1jbe85x8.voqjs349vd5r.dlg@40tude.net...
> I had previously posted a question regarding this topic, but have not
> had time to explore it further until now.  It is something that I am
> doing but I cannot find out what it is.
>
>
> Here are the steps I take to try to use VX....
>
>
> 1) Open VX
>
> 2) File > New > Win 32 Application
> Name: TestTest
>
> 3) Double click on main.prg and modify main() to be:
> PROCEDURE main
>   MsgBox("Hi There")
>   //** tried this too: QUIT
> RETURN
>
> 4) Save and hit F9 to run it.
>
> 5) Now I get my message that says "Hi There"
>
> 6) Build application CTRL+F9
>
> 7) Captured Error:
> You do not have write access to the following Targets:
> C:\Alaska\xppw32\projects\testtest\testtest.exe
> It is recommended to close all application that have the file locked.
>
> so what am I doing wrong between step 5 and step 6?  It happens to me
> on every computer I have tried using it on.
>
> Thanks,
>
> -- 
> - richard hankins
>
> "Never stand between a fire hydrant and a dog."
Richard L. Hankins, Jr.
Re: Problem Running VX
on Thu, 16 Jun 2005 12:05:34 -0500
On Thu, 16 Jun 2005 17:45:43 +0200, Miguel wrote:

> What are you doing between step 5 and 6 to stop the application?  I tried
> what you said and had no problem quitting my app by clicking on the cross in
> the upper left corner.
> 
> Miguel

Between 5 and 6 I do nothing.  The entire test application is:
	> PROCEDURE main
	>   MsgBox("Hi There")
	>   //** tried this too: QUIT
	> RETURN

So the application does not have a gui window to X on... It should
run the application then terminate the application after the MsgBox.
But for some reason the EXE stays locked and I cannot access the EXE
to compile or do file operations on it.  It is not in my processes
list either.

- richard hankins

"The quickest way to double your money is to fold it in half and put
it back in your pocket."
MiguelRe: Problem Running VX
on Fri, 17 Jun 2005 11:22:17 +0200
Check your debugger options : "general "
                                                "rebuild Options
                                                        If Target has "Debug
Info "   try by selecting "Ask"

Miguel



"Richard L. Hankins, Jr." <RHankins@ContactASI.com> a crit dans le message
de news:8zj6dke0lqd$.15fyya8r5mmwt.dlg@40tude.net...
> On Thu, 16 Jun 2005 17:45:43 +0200, Miguel wrote:
>
> > What are you doing between step 5 and 6 to stop the application?  I
tried
> > what you said and had no problem quitting my app by clicking on the
cross in
> > the upper left corner.
> >
> > Miguel
>
> Between 5 and 6 I do nothing.  The entire test application is:
> > PROCEDURE main
> >   MsgBox("Hi There")
> >   //** tried this too: QUIT
> > RETURN
>
> So the application does not have a gui window to X on... It should
> run the application then terminate the application after the MsgBox.
> But for some reason the EXE stays locked and I cannot access the EXE
> to compile or do file operations on it.  It is not in my processes
> list either.
>
> -- 
> - richard hankins
>
> "The quickest way to double your money is to fold it in half and put
> it back in your pocket."
Richard L. Hankins, Jr.
Re: Problem Running VX
on Fri, 17 Jun 2005 11:14:24 -0500
On Fri, 17 Jun 2005 11:22:17 +0200, Miguel wrote:

> Check your debugger options : "general "
>                                                 "rebuild Options
>                                                         If Target has "Debug
> Info "   try by selecting "Ask"
> 
> Miguel
> 

Thanks Miguel, 
	It was already set to ask.

- richard hankins
Richard L. Hankins, Jr.
Re: Problem Running VX
on Fri, 17 Jun 2005 11:16:11 -0500
Here is what my project file looks like... maybe there is a setting
here that is causing the issue?

[PROJECT]
    VERSION       = 2.0
    OPENFILES     = main.PRG
    Project.xpj

[Project.xpj]
    TestTest.exe

[TestTest.exe]
    COMPILE       = xpp
    COMPILE_FLAGS = /es /ga /wi /wl /wu /q /w
    DEBUG         = yes
    GUI           = yes
    LINKER        = alink
    LINK_FLAGS    =
    RC_COMPILE    = arc
    RC_FLAGS      = /v
 $START-AUTODEPEND
    main.obj
 $STOP-AUTODEPEND
    main.PRG



- richard hankins
Jan EscholtRe: Problem Running VX
on Fri, 17 Jun 2005 18:36:03 +0200
Hi Richard,

maybee that is a really stupid question, but: After Step 5 do you exit that
messagebox? You don't mention that step.

If not it should still run (and in use), and than you certainly get that
error message.

Regards,

Jan


"Richard L. Hankins, Jr." <RHankins@ContactASI.com> schrieb im Newsbeitrag
news:om9b1jbe85x8.voqjs349vd5r.dlg@40tude.net...
> I had previously posted a question regarding this topic, but have not
> had time to explore it further until now.  It is something that I am
> doing but I cannot find out what it is.
>
>
> Here are the steps I take to try to use VX....
>
>
> 1) Open VX
>
> 2) File > New > Win 32 Application
> Name: TestTest
>
> 3) Double click on main.prg and modify main() to be:
> PROCEDURE main
>   MsgBox("Hi There")
>   //** tried this too: QUIT
> RETURN
>
> 4) Save and hit F9 to run it.
>
> 5) Now I get my message that says "Hi There"
>
> 6) Build application CTRL+F9
>
> 7) Captured Error:
> You do not have write access to the following Targets:
> C:\Alaska\xppw32\projects\testtest\testtest.exe
> It is recommended to close all application that have the file locked.
>
> so what am I doing wrong between step 5 and step 6?  It happens to me
> on every computer I have tried using it on.
>
> Thanks,
>
> -- 
> - richard hankins
>
> "Never stand between a fire hydrant and a dog."