Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Can't run xxxtest.prg

$
0
0
Re: Can't run xxxtest.prg
FoxInCloud
Re: Can't run xxxtest.prg
01/26/2012
10:33:56 AM
3F20MN9AC Show this entire thread in new window
From:
To:
Attachments:
None

#3 Thierry answered, but the GDI+ errors mean that you are indeed using the GDI+ classes. There are two ways you can use GDI+, as I undestand it.

1. You can include the _gdiplus.vcx class from the VFP ffc folder in your project

2. You can use system.app to create a GDI+ namespace, which you can reference via _screen.system.xxxxxxxxx

I would first try #1.


Hi Tuvia,

Thank you very much for your input. However no reference to system.app exists in my VFP application. In fact I don't have a system.app file on my C: drive (if it should be a file at all). I would be very grateful if you can help with this issue.

Best regards
Plamen


I had that a long time ago. I can try and find if I made any notes, but from memory I think the problem was that my VFP apps were loading system.app, which in used to instantiate the GDI classes in VFP and add them to the _screen or somewhere.

Or it could be I was not loading it and needed to, but I think it was that I was loading it and should not. I am not in the office right now, but let me know if removing system.app from loading helps.

Done. Next message is from GDI+ FFC Library, and says:

GDI+ object not created or associated
gpimage
Error: 1098
Method: imagewidth_access

Wahoo, congratulations, you're cruising quite fast!

This message means that your class library xxx.vcx (sub-class of aw.vcx) is not in set('classlib')
this should be done as explained in xxxSets.prg

Hi again,

I am now much closer to target, yet still not there. At step C5 I ran my app with http://localhost/xxx/form1.xxx but it didn't show in browser. It showed however in FoxPro server along with an error message "Class xxxfrm cannot be instantiated: please add to Set('PROCEDURE')/Set('CLASSLIB')".

What am I missing?

You're welcome!

I also wish to thank you for your feedback, and for giving us a hint on how to improve user experience with FoxInCloud Adaptation Assistant...

Hi Thierry,

Thanks a lot, moving the adapted project out of c:\test\ did the job and I can go on now. I was fooled by the fact that Adaptation Assistant created the sub-classes vcx in c:\test\<...> no matter I gave it the original project folder as destination. Adapted source was also there so I was pretty sure I had to work there.





Viewing all articles
Browse latest Browse all 10393

Trending Articles