EXE timestamp not correct and new features not there

Started by BOBM, October 10, 2008, 02:34:25 PM

Previous topic - Next topic

BOBM

This morning I got a request to add code to an existing working program that is already in the field.

I pulled up the project and saved the project to a different directory so as to be associated with that customer's custom programs.

When I compiled it showed two new controls with a time stamp of 10:23

From that point on I only changed the code behind the controls and when I compiled next it had the same time of 10:23 and the code I'd put in the programs did not activate.

I removed all occurences from T:\AR\SCOMPCODE and anywhere else on the network drive using DIR SCOMP.EXE /S at the root of the T: drive.

I then compiled again and T:\AR\SCOMPCODE\SCOMP.EXE again had the 10:23 time stamp. I then put a msgbox in the code to see if it was really compiling and the msgbox didn't show up at all indicating the EXE was not being compiled using the changed code.

What could I be doing wrong?

BOBM

I changed the output of the source files to C:\AR\HOPE
and recompile again. This is what the screen says. I verified that PB8.0 was chosen in the project properties.


C:\ar>CD HOPE

C:\ar\hope>DIR
Volume in drive C has no label.
Volume Serial Number is 433B-FBD6

Directory of C:\ar\hope

10/10/2008  12:06 PM    <DIR>          .
10/10/2008  12:06 PM    <DIR>          ..
10/10/2008  12:06 PM            98,776 CODEGEN_SCOMP_FORM1_FORM.inc
10/10/2008  12:06 PM             3,188 CODEGEN_SCOMP_APPSTARTUPBAS_MODULE.in
10/10/2008  12:06 PM             5,696 CODEGEN_SCOMP_DECLARES.inc
10/10/2008  12:06 PM            11,340 CODEGEN_SCOMP_MAIN.bas
10/10/2008  12:06 PM               780 CODEGEN_SCOMP.Exe.Manifest
10/10/2008  12:06 PM               869 CODEGEN_SCOMP_RESOURCE.rc
10/10/2008  12:06 PM            11,655 CODEGEN_SCOMP_UTILITY.inc
10/10/2008  12:06 PM               286 CODEGEN_SCOMP.jfp
10/10/2008  12:06 PM             1,320 CODEGEN_SCOMP_RESOURCE.pbr
10/10/2008  10:23 AM           116,736 Scomp.exe
              10 File(s)        250,646 bytes
               2 Dir(s)  91,478,196,224 bytes free

TechSupport

Not sure. Instead of doing a "Save Project As" maybe try copying your entire project to a totally separate directory. Maybe even rename the *.prj FireFly Project file just to be safe. Load the project and go into "Project Properties". Check to make sure that the Code Output Direcotry is either blank or that it points to the direcotry where your new project is located.

TechSupport

Open the generated file called "CODEGEN_SCOMP_MAIN.bas" and take a look for the #Compile Exe line. It should have a full path/exe name specified there. At least that will tell you where the exe is being created. 



BOBM

The compile line is correct.

I loaded PB 8.0 and compiled CODEGEN_SCOMP_MAIN.BAS which compiled fine with the correct time stamp.

When I switched back to the Designer where I had the project open and compiled it put the 10/23/08 version back over the correcly compiled one.

I might have missed something in moving the project and will do as you suggest. At least I can compile if I use PB 8.0 directly.

Thanks,

Bob Mechler

BOBM

All is well with the program changes. They are off to the customer.

Thanks for a great product I'm just now starting to use.

Bob Mechler