Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append General Hangs Program.
Message
From
18/10/2000 10:20:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Append General Hangs Program.
Miscellaneous
Thread ID:
00430899
Message ID:
00430899
Views:
42
I am suddenly having a strange problem I have not had before...

When I run the following code to create a temporary background image for printing RGB colors on reports....
		nFileHandle = FCREATE('color.bmp')

		FWRITE(nFileHandle,CHR(66)+CHR(77)+CHR(60)+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00);
			+CHR(00)+CHR(00)+CHR(54)+CHR(00)+CHR(00)+CHR(00)+CHR(40)+CHR(00);
			+CHR(00)+CHR(00)+CHR(01)+CHR(00)+CHR(00)+CHR(00)+CHR(01)+CHR(00)+CHR(00)+CHR(00)+CHR(01);
			+CHR(00)+CHR(24)+CHR(00)+CHR(00)+CHR(00);
			+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(98)+CHR(05)+CHR(00)+CHR(00)+CHR(98);
			+CHR(05)+CHR(00)+CHR(00)+CHR(00)+CHR(00);
			+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00)+CHR(00);
			+CHR(IntColor.Blue)+CHR(IntColor.Green)+CHR(IntColor.Red);
			+CHR(00)+CHR(00)+CHR(00))

		FCLOSE(nFileHandle)
		APPEND GENERAL RGBPict FROM COLOR.BMP
The line APPEND GENERAL hangs the application.
IF I kill the program then try to open the file in PhotoShop the program also hangs...
If I open it in mspaint it looks fine...

The code has in the past worked perfectly...

An ideas...
Reply
Map
View

Click here to load this message in the networking platform