Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append General Hangs Program.
Message
De
18/10/2000 10:20:26
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Append General Hangs Program.
Divers
Thread ID:
00430899
Message ID:
00430899
Vues:
43
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...
Répondre
Fil
Voir

Click here to load this message in the networking platform