Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird Exception Unknow Software error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01571899
Message ID:
01571957
Vues:
52
Last time I had this problem I removed the /N and it's worked fine since. That was when customers started moving from Win XP to Win 7.


>Hi Gang!
>
>I ran into a problem while rewritting some code in a program here.
>
>After creating the EXE and running it, it throws up this error...
>
>"The exception unknown software exception(oxc0000417) occurred in the application at location 0x0050d34a."
>
>Yet, the older version of the code runs fine on my colleagues PC.
>
>Here is the code (I have not changed THIS code.... but this is where the error occurs..."
>
>
>IF !DIRECTORY(gcPath + "\Surescripts")
>	MKDIR gcPath + "\Surescripts"
>ENDIF
>lcPath = gcPath + "\Surescripts\"
>lcFile = lcPath + PADL(ALLTRIM(ss_io.message_ref),7,"0") + PADL(ALLTRIM(ss_io.refill_no),2,"0") + ".REQ"
>lnHandle = FCREATE(lcFile)
>IF lnHandle > 0
>	*TMN 03/16/09
>	*TMT 04/19/13 Modified for v10.6
>	FWRITE(lnHandle,lcText,5979)	&& Uses FWRITE instead of FPUTS cuz no LF CR are needed
>	*FWRITE(lnHandle,lcText,5416)	&& Uses FWRITE instead of FPUTS cuz no LF CR are needed
>	*FWRITE(lnHandle,lcText,5259)	&& Uses FWRITE instead of FPUTS cuz no LF CR are needed
>	*TMN 03/16/09
>	FCLOSE(lnHandle)
>	lcEXE = gcPath + "\WssPost.exe" + " " + ALLTRIM(interface.ss_ip) + ":" + ALLTRIM(STR(interface.ss_port)) + " " + ALLTRIM(pharmacy_config.nabp) + " " + lcFile
>	RUN /N2 &lcEXE
>ELSE
>	MESSAGEBOX(translatewrd("Cannot create EZ e-Script text file"),16,translatewrd("EZ e-Script Create File"))
>ENDIF
>
>
>The error occurs in the RUN /N2 &lcEXE command.
>
>I checked online, and what was suggested was to run sfc /scannow which I did, but to no avail.
>
>
>Thanks for your help !!
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform