FoxInCloud
Compile errors with adapted projects (GDIPlus)
Gravatar is a globally recognized avatar based on your email address. Compile errors with adapted projects (GDIPlus)
  n/a
  ALL
  Oct 23, 2014 @ 09:46am
Hi guys,

I'm getting several compiling errors whilst trying to build my newly adapted project as a win32 EXE.
including trying the same process on the FiC's Tastrade Adapted sample (AW\Samples\Tastrade\Adapted\TastradeFIC.pjx)
Basically the compile errors fall into three groups:

(1) Compiling c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg (all the ab* modules)
#INCLUDE ffc\GDIPLUS.H
Error in line 6: File does not exist.

(2) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg has the following errors:
Visual Class Library _GDIPLUS - Undefined

(3) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\abdate.prg has the following errors:
Unknown GETTIMEZONE - Undefined

Issue (1) - have confirmed the existence and location of the C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\gdiplus.H file
on my system but yet no resolution to this.
Issue (2) - managed to resolve this in my adapted project by adding the [_gdiplus.vcx] class to my project file.
(wasn't an issue for the sample project since it was already included in the project)

It seems from what I can garner from some forums that the GDIPLUS.h file was not being found by the project manager.
But I don't know how to resolve this and be able to finally get through the build process. I have a feeling it has to do with
my Foxpro installation path and name being based on a 64bit Win 7 location rather than the standard 32bit path which may
in some code locations been inadvertantly hardcoded.

c:\program files (x86)\microsoft visual foxpro 9\ (versus)
c:\program files\VFP9\

Cheers,

--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + FAA & FAS v2.10 + IIS 7.5
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)

Gravatar is a globally recognized avatar based on your email address. Re: Compile errors with adapted projects (GDIPlus)
  FoxInCloud Support - Thierry N.
  Dré
  Oct 24, 2014 @ 12:48am
Hi André,

First, thanks for your detailed feedback and questions.

FoxInCloud Application Server (FAS), Trial Edition, lets you test your adapted application on http://localhost/.
FAS Trial Edition is limited to 10 forms, running in degug mode within the VFP IDE.
(More details on the FoxInCloud FAQ, 'Adaptation' section)

To compile your application into a .exe, you need a full licensed version including source code. The reason for that is that a .exe is for going to production and, following west-wind web connect's license policy, while FoxInCloud is free for development and test in the IDE, it requires a license to go to production.


Hi guys,

I'm getting several compiling errors whilst trying to build my newly adapted project as a win32 EXE.
including trying the same process on the FiC's Tastrade Adapted sample (AW\Samples\Tastrade\Adapted\TastradeFIC.pjx)
Basically the compile errors fall into three groups:

(1) Compiling c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg (all the ab* modules)
#INCLUDE ffc\GDIPLUS.H
Error in line 6: File does not exist.

(2) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg has the following errors:
Visual Class Library _GDIPLUS - Undefined

(3) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\abdate.prg has the following errors:
Unknown GETTIMEZONE - Undefined

Issue (1) - have confirmed the existence and location of the C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\gdiplus.H file
on my system but yet no resolution to this.
Issue (2) - managed to resolve this in my adapted project by adding the [_gdiplus.vcx] class to my project file.
(wasn't an issue for the sample project since it was already included in the project)

It seems from what I can garner from some forums that the GDIPLUS.h file was not being found by the project manager.
But I don't know how to resolve this and be able to finally get through the build process. I have a feeling it has to do with
my Foxpro installation path and name being based on a 64bit Win 7 location rather than the standard 32bit path which may
in some code locations been inadvertantly hardcoded.

c:\program files (x86)\microsoft visual foxpro 9\ (versus)
c:\program files\VFP9\

Cheers,

--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + FAA & FAS v2.10 + IIS 7.5
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)


-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Compile errors with adapted projects (GDIPlus)
  FoxInCloud Support - Thierry N.
  Dré
  Oct 24, 2014 @ 12:58am
(2nd part of the answer)

When you start the FoxinCloud Web application Studio (FWS) using the shortcut on your desktop, ab.prg gets executed; this program has:

set path to (Home(1)) additive && VFP
set path to (Home(1) + 'FFC\') additive
set path to (Home(1) + 'Tools\') additive

so, normally stuff in ffc\ should be accessible at any time

you may either:
- start VFP using a regular shortcut rather than the FWS shortcut on your desktop, so the above instructions won't execute
- do a set path to ... without the 'additive' clause somewhere in your workflow.

could you try to restart FWS using the shortcut on your desktop, and try to just BUILD your project?
(in this case, VFP just makes sure all references can be found and, if some *.h has changed or some *.fxp is out of sync with its *.prg, duly recompiles the outdated files.)

do you have any error this way?


Hi guys,

I'm getting several compiling errors whilst trying to build my newly adapted project as a win32 EXE.
including trying the same process on the FiC's Tastrade Adapted sample (AW\Samples\Tastrade\Adapted\TastradeFIC.pjx)
Basically the compile errors fall into three groups:

(1) Compiling c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg (all the ab* modules)
#INCLUDE ffc\GDIPLUS.H
Error in line 6: File does not exist.

(2) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg has the following errors:
Visual Class Library _GDIPLUS - Undefined

(3) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\abdate.prg has the following errors:
Unknown GETTIMEZONE - Undefined

Issue (1) - have confirmed the existence and location of the C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\gdiplus.H file
on my system but yet no resolution to this.
Issue (2) - managed to resolve this in my adapted project by adding the [_gdiplus.vcx] class to my project file.
(wasn't an issue for the sample project since it was already included in the project)

It seems from what I can garner from some forums that the GDIPLUS.h file was not being found by the project manager.
But I don't know how to resolve this and be able to finally get through the build process. I have a feeling it has to do with
my Foxpro installation path and name being based on a 64bit Win 7 location rather than the standard 32bit path which may
in some code locations been inadvertantly hardcoded.

c:\program files (x86)\microsoft visual foxpro 9\ (versus)
c:\program files\VFP9\

Cheers,

--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + FAA & FAS v2.10 + IIS 7.5
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)

Gravatar is a globally recognized avatar based on your email address. Re: Compile errors with adapted projects (GDIPlus)
  n/a
  Thierry Nivelet (FoxInCloud)
  Oct 24, 2014 @ 07:13am
Hi Thierry,

I have tried to run the FWS-trial shortcut (as an Admin) and getting an error message in the VFP IDE (File 'aw.app' does not exist)
I have checked and the file [aw.app] does exist right alongside the called program [..\AW\awTrial.fpw ]


(2nd part of the answer)

When you start the FoxinCloud Web application Studio (FWS) using the shortcut on your desktop, ab.prg gets executed; this program has:

set path to (Home(1)) additive && VFP
set path to (Home(1) + 'FFC\') additive
set path to (Home(1) + 'Tools\') additive

so, normally stuff in ffc\ should be accessible at any time

you may either:
- start VFP using a regular shortcut rather than the FWS shortcut on your desktop, so the above instructions won't execute
- do a set path to ... without the 'additive' clause somewhere in your workflow.

could you try to restart FWS using the shortcut on your desktop, and try to just BUILD your project?
(in this case, VFP just makes sure all references can be found and, if some *.h has changed or some *.fxp is out of sync with its *.prg, duly recompiles the outdated files.)

do you have any error this way?


Hi guys,

I'm getting several compiling errors whilst trying to build my newly adapted project as a win32 EXE.
including trying the same process on the FiC's Tastrade Adapted sample (AW\Samples\Tastrade\Adapted\TastradeFIC.pjx)
Basically the compile errors fall into three groups:

(1) Compiling c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg (all the ab* modules)
#INCLUDE ffc\GDIPLUS.H
Error in line 6: File does not exist.

(2) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg has the following errors:
Visual Class Library _GDIPLUS - Undefined

(3) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\abdate.prg has the following errors:
Unknown GETTIMEZONE - Undefined

Issue (1) - have confirmed the existence and location of the C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\gdiplus.H file
on my system but yet no resolution to this.
Issue (2) - managed to resolve this in my adapted project by adding the [_gdiplus.vcx] class to my project file.
(wasn't an issue for the sample project since it was already included in the project)

It seems from what I can garner from some forums that the GDIPLUS.h file was not being found by the project manager.
But I don't know how to resolve this and be able to finally get through the build process. I have a feeling it has to do with
my Foxpro installation path and name being based on a 64bit Win 7 location rather than the standard 32bit path which may
in some code locations been inadvertantly hardcoded.

c:\program files (x86)\microsoft visual foxpro 9\ (versus)
c:\program files\VFP9\

Cheers,

--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + FAA & FAS v2.10 + IIS 7.5
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)



--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + IIS 7.5 + FAA & FAS v2.10
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)

Gravatar is a globally recognized avatar based on your email address. Re: Compile errors with adapted projects (GDIPlus)
  FoxInCloud Support - Thierry N.
  Dré
  Oct 24, 2014 @ 08:51am
At what time do you get this error message (File 'aw.app' does not exist)?
- when opening the VFP IDE after clicking the shortcut?
- when building your project?
thanks,


Hi Thierry,

I have tried to run the FWS-trial shortcut (as an Admin) and getting an error message in the VFP IDE (File 'aw.app' does not exist)
I have checked and the file [aw.app] does exist right alongside the called program [..\AW\awTrial.fpw ]


(2nd part of the answer)

When you start the FoxinCloud Web application Studio (FWS) using the shortcut on your desktop, ab.prg gets executed; this program has:

set path to (Home(1)) additive && VFP
set path to (Home(1) + 'FFC\') additive
set path to (Home(1) + 'Tools\') additive

so, normally stuff in ffc\ should be accessible at any time

you may either:
- start VFP using a regular shortcut rather than the FWS shortcut on your desktop, so the above instructions won't execute
- do a set path to ... without the 'additive' clause somewhere in your workflow.

could you try to restart FWS using the shortcut on your desktop, and try to just BUILD your project?
(in this case, VFP just makes sure all references can be found and, if some *.h has changed or some *.fxp is out of sync with its *.prg, duly recompiles the outdated files.)

do you have any error this way?


Hi guys,

I'm getting several compiling errors whilst trying to build my newly adapted project as a win32 EXE.
including trying the same process on the FiC's Tastrade Adapted sample (AW\Samples\Tastrade\Adapted\TastradeFIC.pjx)
Basically the compile errors fall into three groups:

(1) Compiling c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg (all the ab* modules)
#INCLUDE ffc\GDIPLUS.H
Error in line 6: File does not exist.

(2) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg has the following errors:
Visual Class Library _GDIPLUS - Undefined

(3) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\abdate.prg has the following errors:
Unknown GETTIMEZONE - Undefined

Issue (1) - have confirmed the existence and location of the C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\gdiplus.H file
on my system but yet no resolution to this.
Issue (2) - managed to resolve this in my adapted project by adding the [_gdiplus.vcx] class to my project file.
(wasn't an issue for the sample project since it was already included in the project)

It seems from what I can garner from some forums that the GDIPLUS.h file was not being found by the project manager.
But I don't know how to resolve this and be able to finally get through the build process. I have a feeling it has to do with
my Foxpro installation path and name being based on a 64bit Win 7 location rather than the standard 32bit path which may
in some code locations been inadvertantly hardcoded.

c:\program files (x86)\microsoft visual foxpro 9\ (versus)
c:\program files\VFP9\

Cheers,

--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + FAA & FAS v2.10 + IIS 7.5
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)




-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Compile errors with adapted projects (GDIPlus)
  n/a
  Thierry Nivelet (FoxInCloud)
  Oct 25, 2014 @ 01:55am
Directly on the Auto opening of VFP after I have clicked the Shortcut,
nothing else is even attempted or loaded whilst this startup script is progressing.


At what time do you get this error message (File 'aw.app' does not exist)?
- when opening the VFP IDE after clicking the shortcut?
- when building your project?
thanks,


Hi Thierry,

I have tried to run the FWS-trial shortcut (as an Admin) and getting an error message in the VFP IDE (File 'aw.app' does not exist)
I have checked and the file [aw.app] does exist right alongside the called program [..\AW\awTrial.fpw ]


(2nd part of the answer)

When you start the FoxinCloud Web application Studio (FWS) using the shortcut on your desktop, ab.prg gets executed; this program has:

set path to (Home(1)) additive && VFP
set path to (Home(1) + 'FFC\') additive
set path to (Home(1) + 'Tools\') additive

so, normally stuff in ffc\ should be accessible at any time

you may either:
- start VFP using a regular shortcut rather than the FWS shortcut on your desktop, so the above instructions won't execute
- do a set path to ... without the 'additive' clause somewhere in your workflow.

could you try to restart FWS using the shortcut on your desktop, and try to just BUILD your project?
(in this case, VFP just makes sure all references can be found and, if some *.h has changed or some *.fxp is out of sync with its *.prg, duly recompiles the outdated files.)

do you have any error this way?


Hi guys,

I'm getting several compiling errors whilst trying to build my newly adapted project as a win32 EXE.
including trying the same process on the FiC's Tastrade Adapted sample (AW\Samples\Tastrade\Adapted\TastradeFIC.pjx)
Basically the compile errors fall into three groups:

(1) Compiling c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg (all the ab* modules)
#INCLUDE ffc\GDIPLUS.H
Error in line 6: File does not exist.

(2) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg has the following errors:
Visual Class Library _GDIPLUS - Undefined

(3) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\abdate.prg has the following errors:
Unknown GETTIMEZONE - Undefined

Issue (1) - have confirmed the existence and location of the C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\gdiplus.H file
on my system but yet no resolution to this.
Issue (2) - managed to resolve this in my adapted project by adding the [_gdiplus.vcx] class to my project file.
(wasn't an issue for the sample project since it was already included in the project)

It seems from what I can garner from some forums that the GDIPLUS.h file was not being found by the project manager.
But I don't know how to resolve this and be able to finally get through the build process. I have a feeling it has to do with
my Foxpro installation path and name being based on a 64bit Win 7 location rather than the standard 32bit path which may
in some code locations been inadvertantly hardcoded.

c:\program files (x86)\microsoft visual foxpro 9\ (versus)
c:\program files\VFP9\

Cheers,

--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + FAA & FAS v2.10 + IIS 7.5
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)





--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + IIS 7.5 + FAA & FAS v2.10
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)

Gravatar is a globally recognized avatar based on your email address. Re: Compile errors with adapted projects (GDIPlus)
  FoxInCloud Support - Thierry N.
  Dré
  Oct 25, 2014 @ 08:06am
Weird ...
When this error occurs, could you please open the debugger (tools > debugger), and post a screenshot where variables and call stack windows are wide enough?


Directly on the Auto opening of VFP after I have clicked the Shortcut,
nothing else is even attempted or loaded whilst this startup script is progressing.


At what time do you get this error message (File 'aw.app' does not exist)?
- when opening the VFP IDE after clicking the shortcut?
- when building your project?
thanks,


Hi Thierry,

I have tried to run the FWS-trial shortcut (as an Admin) and getting an error message in the VFP IDE (File 'aw.app' does not exist)
I have checked and the file [aw.app] does exist right alongside the called program [..\AW\awTrial.fpw ]


(2nd part of the answer)

When you start the FoxinCloud Web application Studio (FWS) using the shortcut on your desktop, ab.prg gets executed; this program has:

set path to (Home(1)) additive && VFP
set path to (Home(1) + 'FFC\') additive
set path to (Home(1) + 'Tools\') additive

so, normally stuff in ffc\ should be accessible at any time

you may either:
- start VFP using a regular shortcut rather than the FWS shortcut on your desktop, so the above instructions won't execute
- do a set path to ... without the 'additive' clause somewhere in your workflow.

could you try to restart FWS using the shortcut on your desktop, and try to just BUILD your project?
(in this case, VFP just makes sure all references can be found and, if some *.h has changed or some *.fxp is out of sync with its *.prg, duly recompiles the outdated files.)

do you have any error this way?


Hi guys,

I'm getting several compiling errors whilst trying to build my newly adapted project as a win32 EXE.
including trying the same process on the FiC's Tastrade Adapted sample (AW\Samples\Tastrade\Adapted\TastradeFIC.pjx)
Basically the compile errors fall into three groups:

(1) Compiling c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg (all the ab* modules)
#INCLUDE ffc\GDIPLUS.H
Error in line 6: File does not exist.

(2) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg has the following errors:
Visual Class Library _GDIPLUS - Undefined

(3) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\abdate.prg has the following errors:
Unknown GETTIMEZONE - Undefined

Issue (1) - have confirmed the existence and location of the C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\gdiplus.H file
on my system but yet no resolution to this.
Issue (2) - managed to resolve this in my adapted project by adding the [_gdiplus.vcx] class to my project file.
(wasn't an issue for the sample project since it was already included in the project)

It seems from what I can garner from some forums that the GDIPLUS.h file was not being found by the project manager.
But I don't know how to resolve this and be able to finally get through the build process. I have a feeling it has to do with
my Foxpro installation path and name being based on a 64bit Win 7 location rather than the standard 32bit path which may
in some code locations been inadvertantly hardcoded.

c:\program files (x86)\microsoft visual foxpro 9\ (versus)
c:\program files\VFP9\

Cheers,

--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + FAA & FAS v2.10 + IIS 7.5
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)






-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Compile errors with adapted projects (GDIPlus)
  n/a
  Thierry Nivelet (FoxInCloud)
  Oct 26, 2014 @ 08:11am
Ok Thierry,

I seem to have corrected that initial error, caused mainly by my VFP's Default Dir
being preset (as a default setting) to a workspace area that I used for development,
(Tools->options->filelocations->default = "C:\workspace\blah")
so when the ..\AW\awTrial.fpw configuration file is loaded through your Studio shortcut,
as the code shown below:

title=FoxInCloud Web Application Studio - Trial
path=..\..\..\;..\;..\Graphics\;..\AT\;..\AW\
_startup=
_genmenu=..\awGenMenu.prg
command=DO aw.app WITH .F., .F., .F., .T.

The wrong default path gets appended too by line 2 in the config file,
and not the currently loaded config file's path is used, resulting in
aw.app on line 5 not being found as expected, and an error ensues.
Once I removed (emptied) the Default file path for all vfp settings.
The aw.app ran as needed.

I believe that this error could be avoided by creating a more robustly coded Config file above
that lets the user have his default settings as they wanted for various development environments
and append the correct sub-paths (from line 2 above) accordingly onto the VFP installation or tools set path.

(Just out interest, I could not get the debugger to work for this config file load,
even when I added the following two lines to the config file to force the debugger to load,
it loaded and then switched off. It would be nice to know how to launch the VFP.exe in debug mode
via a command-line debug switch/argument or something to that effect.

command=DEBUG
command=set echo on
command=DO aw.app WITH .F., .F., .F., .T.
)

Will get back to you re the results of the build process of my adapted app.


Weird ...
When this error occurs, could you please open the debugger (tools > debugger), and post a screenshot where variables and call stack windows are wide enough?


Directly on the Auto opening of VFP after I have clicked the Shortcut,
nothing else is even attempted or loaded whilst this startup script is progressing.


At what time do you get this error message (File 'aw.app' does not exist)?
- when opening the VFP IDE after clicking the shortcut?
- when building your project?
thanks,


Hi Thierry,

I have tried to run the FWS-trial shortcut (as an Admin) and getting an error message in the VFP IDE (File 'aw.app' does not exist)
I have checked and the file [aw.app] does exist right alongside the called program [..\AW\awTrial.fpw ]


(2nd part of the answer)

When you start the FoxinCloud Web application Studio (FWS) using the shortcut on your desktop, ab.prg gets executed; this program has:

set path to (Home(1)) additive && VFP
set path to (Home(1) + 'FFC\') additive
set path to (Home(1) + 'Tools\') additive

so, normally stuff in ffc\ should be accessible at any time

you may either:
- start VFP using a regular shortcut rather than the FWS shortcut on your desktop, so the above instructions won't execute
- do a set path to ... without the 'additive' clause somewhere in your workflow.

could you try to restart FWS using the shortcut on your desktop, and try to just BUILD your project?
(in this case, VFP just makes sure all references can be found and, if some *.h has changed or some *.fxp is out of sync with its *.prg, duly recompiles the outdated files.)

do you have any error this way?


Hi guys,

I'm getting several compiling errors whilst trying to build my newly adapted project as a win32 EXE.
including trying the same process on the FiC's Tastrade Adapted sample (AW\Samples\Tastrade\Adapted\TastradeFIC.pjx)
Basically the compile errors fall into three groups:

(1) Compiling c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg (all the ab* modules)
#INCLUDE ffc\GDIPLUS.H
Error in line 6: File does not exist.

(2) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg has the following errors:
Visual Class Library _GDIPLUS - Undefined

(3) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\abdate.prg has the following errors:
Unknown GETTIMEZONE - Undefined

Issue (1) - have confirmed the existence and location of the C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\gdiplus.H file
on my system but yet no resolution to this.
Issue (2) - managed to resolve this in my adapted project by adding the [_gdiplus.vcx] class to my project file.
(wasn't an issue for the sample project since it was already included in the project)

It seems from what I can garner from some forums that the GDIPLUS.h file was not being found by the project manager.
But I don't know how to resolve this and be able to finally get through the build process. I have a feeling it has to do with
my Foxpro installation path and name being based on a 64bit Win 7 location rather than the standard 32bit path which may
in some code locations been inadvertantly hardcoded.

c:\program files (x86)\microsoft visual foxpro 9\ (versus)
c:\program files\VFP9\

Cheers,

--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + FAA & FAS v2.10 + IIS 7.5
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)







--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + IIS 7.5 + FAA & FAS v2.10
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)

Gravatar is a globally recognized avatar based on your email address. Re: Compile errors with adapted projects (GDIPlus)
  FoxInCloud Support - Thierry N.
  Dré
  Oct 27, 2014 @ 04:02am
Dré,

Thanks a lot for this feedback; it helped use understand what happens:
- when clicking the shortcut, default directory is set to
<path to VFP9>\tools\ab\wc\ (which is normal),
-c"..\AW\awTrial.fpw" is in scope
- VFP reads its default options from the registry - in your case a different folder
- awTrial.fpw executes: as the relative pathes (..\..\..\;..\;..\Graphics\;..\AT\;..\AW\) apply to an 'exotic' folder, they can't help.

We tried to add this command to awTrial.fpw:

default=home()+"tools\ab\wc\"

From VFP9 help "Setting Configuration Options at Startup":
Settings made in the configuration file override default settings made in the Options dialog box (and stored in the Windows registry)

Could not succeed so far: the default directory set in Windows Registry still takes precedence; of course we've checked that the right configuration file gets executed by issuing:

? Sys(2019) && <path to VFP9>\tools\ab\aw\awTrial.fpw

Please stay tuned, I'm pretty sure we'll find a way to get the configuration file override the default directory set in Windows Registry.

Thanks,


OK Thierry,

I seem to have corrected that initial error, caused mainly by my VFP's Default Dir
being preset (as a default setting) to a workspace area that I used for development,
(Tools->options->filelocations->default = "C:\workspace\blah")
so when the ..\AW\awTrial.fpw configuration file is loaded through your Studio shortcut,
as the code shown below:

title=FoxInCloud Web Application Studio - Trial
path=..\..\..\;..\;..\Graphics\;..\AT\;..\AW\
_startup=
_genmenu=..\awGenMenu.prg
command=DO aw.app WITH .F., .F., .F., .T.

The wrong default path gets appended too by line 2 in the config file,
and not the currently loaded config file's path is used, resulting in
aw.app on line 5 not being found as expected, and an error ensues.
Once I removed (emptied) the Default file path for all vfp settings.
The aw.app ran as needed.

I believe that this error could be avoided by creating a more robustly coded Config file above
that lets the user have his default settings as they wanted for various development environments
and append the correct sub-paths (from line 2 above) accordingly onto the VFP installation or tools set path.

(Just out interest, I could not get the debugger to work for this config file load,
even when I added the following two lines to the config file to force the debugger to load,
it loaded and then switched off. It would be nice to know how to launch the VFP.exe in debug mode
via a command-line debug switch/argument or something to that effect.

command=DEBUG
command=set echo on
command=DO aw.app WITH .F., .F., .F., .T.
)

Will get back to you re the results of the build process of my adapted app.


Weird ...
When this error occurs, could you please open the debugger (tools > debugger), and post a screenshot where variables and call stack windows are wide enough?


Directly on the Auto opening of VFP after I have clicked the Shortcut,
nothing else is even attempted or loaded whilst this startup script is progressing.


At what time do you get this error message (File 'aw.app' does not exist)?
- when opening the VFP IDE after clicking the shortcut?
- when building your project?
thanks,


Hi Thierry,

I have tried to run the FWS-trial shortcut (as an Admin) and getting an error message in the VFP IDE (File 'aw.app' does not exist)
I have checked and the file [aw.app] does exist right alongside the called program [..\AW\awTrial.fpw ]


(2nd part of the answer)

When you start the FoxinCloud Web application Studio (FWS) using the shortcut on your desktop, ab.prg gets executed; this program has:

set path to (Home(1)) additive && VFP
set path to (Home(1) + 'FFC\') additive
set path to (Home(1) + 'Tools\') additive

so, normally stuff in ffc\ should be accessible at any time

you may either:
- start VFP using a regular shortcut rather than the FWS shortcut on your desktop, so the above instructions won't execute
- do a set path to ... without the 'additive' clause somewhere in your workflow.

could you try to restart FWS using the shortcut on your desktop, and try to just BUILD your project?
(in this case, VFP just makes sure all references can be found and, if some *.h has changed or some *.fxp is out of sync with its *.prg, duly recompiles the outdated files.)

do you have any error this way?


Hi guys,

I'm getting several compiling errors whilst trying to build my newly adapted project as a win32 EXE.
including trying the same process on the FiC's Tastrade Adapted sample (AW\Samples\Tastrade\Adapted\TastradeFIC.pjx)
Basically the compile errors fall into three groups:

(1) Compiling c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg (all the ab* modules)
#INCLUDE ffc\GDIPLUS.H
Error in line 6: File does not exist.

(2) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\ab.prg has the following errors:
Visual Class Library _GDIPLUS - Undefined

(3) Program c:\program files (x86)\microsoft visual foxpro 9\tools\ab\abdate.prg has the following errors:
Unknown GETTIMEZONE - Undefined

Issue (1) - have confirmed the existence and location of the C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\gdiplus.H file
on my system but yet no resolution to this.
Issue (2) - managed to resolve this in my adapted project by adding the [_gdiplus.vcx] class to my project file.
(wasn't an issue for the sample project since it was already included in the project)

It seems from what I can garner from some forums that the GDIPLUS.h file was not being found by the project manager.
But I don't know how to resolve this and be able to finally get through the build process. I have a feeling it has to do with
my Foxpro installation path and name being based on a 64bit Win 7 location rather than the standard 32bit path which may
in some code locations been inadvertantly hardcoded.

c:\program files (x86)\microsoft visual foxpro 9\ (versus)
c:\program files\VFP9\

Cheers,

--------------------------------------------------------------------------------
My PC Setup = Win7 Prof (SP1) 64bit + VFP v9 + FAA & FAS v2.10 + IIS 7.5
My Skill level = GIS Analyst & App/DB Developer (only a few weeks into VFP and FiC)








-- thn (FoxInCloud)

© 1996-2024