Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird Exception Unknow Software error
Message
De
25/04/2013 19:33:40
 
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:
01571933
Vues:
68
Just a WAG but there might be a port blocked - perhaps refusing a ping back or something. If you turn off your firewall will it work?

>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 !!


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform