Search  
Thursday, May 24, 2012 ..:: Forum ::.. Register  Login
 Forum Minimize
Pentru a putea posta mesaje trebuie să vă înregistraţi.
Notă: Mesajele cu conţinut jignitor sau ilegal (inclusiv cereri de soft piratat) nu sunt acceptate şi vor fi şterse imediat .

Pentru a primi raspunsuri rapide si corecte, scrieti in mesaj ce intentionati sa faceti, ce mesaj de eroare primiti, in ce context si in urma caror actiuni. De asemenea, mentionati versiunea de FoxPro in care lucrati!
Dacă nu specificați versiunea, se consideră VFP 9.0 SP2.

SearchForum Home
  FoxPro  FoxPro 2.6 for Windows  Eroare in Win20...
 Eroare in Win2000 SP4, la lansarea unui program scris in FPD26
 
 2/8/2006 1:41:18 PM
User is offlinemstef
17 posts


Eroare in Win2000 SP4, la lansarea unui program scris in FPD26
 (Romania)
Va salut!As avea si eu o rugaminte.Atunci cind rulez un program scris in FPD26,sub Win2000Sp4,imi apare urmatorul mesaj de eroare:
"16 bit MS-DOS Subsystem.NTVDM has encounterd a System Error.The Parameter is incorrect.Choose Close to terminate the application.
Am incercat sa urmez sfaturile obtinute cu ajutorul lui Google de pe diverse siteuri.Nu am rezolvat problema.Win2000 e instalat pe partitia D.
Config.nt si autoexec.nt arata astefel:
autoexec.nt
=====
@echo off

REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.

REM Install CD ROM extensions
lh %SystemRoot%\system32\mscdexnt.exe

REM Install network redirector (load before dosx.exe)
lh %SystemRoot%\system32\redir

REM Install DPMI support
lh %SystemRoot%\system32\dosx

PATH D:\Program

====
Config.nt
REM Windows MS-DOS Startup File
REM
REM CONFIG.SYS vs CONFIG.NT
REM CONFIG.SYS is not used to initialize the MS-DOS environment.
REM CONFIG.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.
REM
REM ECHOCONFIG
REM By default, no information is displayed when the MS-DOS environment
REM is initialized. To display CONFIG.NT/AUTOEXEC.NT information, add
REM the command echoconfig to CONFIG.NT or other startup file.
REM
REM NTCMDPROMPT
REM When you return to the command prompt from a TSR or while running an
REM MS-DOS-based application, Windows runs COMMAND.COM. This allows the
REM TSR to remain active. To run CMD.EXE, the Windows command prompt,
REM rather than COMMAND.COM, add the command ntcmdprompt to CONFIG.NT or
REM other startup file.
REM
REM DOSONLY
REM By default, you can start any type of application when running
REM COMMAND.COM. If you start an application other than an MS-DOS-based
REM application, any running TSR may be disrupted. To ensure that only
REM MS-DOS-based applications can be started, add the command dosonly to
REM CONFIG.NT or other startup file.
REM
REM EMM
REM You can use EMM command line to configure EMM(Expanded Memory Manager).
REM The syntax is:
REM
REM EMM = [A=AltRegSets] [B=BaseSegment] [RAM]
REM
REM     AltRegSets
REM         specifies the total Alternative Mapping Register Sets you
REM         want the system to support. 1 <= AltRegSets <= 255. The
REM         default value is 8.
REM     BaseSegment
REM         specifies the starting segment address in the Dos conventional
REM         memory you want the system to allocate for EMM page frames.
REM         The value must be given in Hexdecimal.
REM         0x1000 <= BaseSegment <= 0x4000. The value is rounded down to
REM         16KB boundary. The default value is 0x4000
REM     RAM
REM         specifies that the system should only allocate 64Kb address
REM         space from the Upper Memory Block(UMB) area for EMM page frames
REM         and leave the rests(if available) to be used by DOS to support
REM         loadhigh and devicehigh commands. The system, by default, would
REM         allocate all possible and available UMB for page frames.
REM
REM     The EMM size is determined by pif file(either the one associated
REM     with your application or _default.pif). If the size from PIF file
REM     is zero, EMM will be disabled and the EMM line will be ignored.
REM
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=255
rem shell=%systemroot%\system32\command.com /e:1024
buffers=60
=====
Multumesc anticipat
 2/8/2006 2:03:31 PM
User is offlineGrigore Dolghin
3590 posts
www.class-software.eu
1st






Re: Eroare in Win2000 SP4, la lansarea unui program scris in FPD26
 (Romania)

Salut

Singura chestie ciudata e linia PATH=Program. In rest e ok. Da afara linia aia (path oricum nu se seteaza din config.nt, ci din autoexec.nt) si vezi daca se rezolva problema. Daca nu, ma tem ca te paste o reinstalare de windows :(


Grigore Dolghin
Visual FoxPro MVP 2006 - 2010
Class Software
My blog
 2/8/2006 3:57:37 PM
User is offlinemstef
17 posts


Re: Eroare in Win2000 SP4, la lansarea unui program scris in FPD26
 (Romania)
Am reincercat reinstalarea SO;iar calea e setata in autoexec.nt.Multumesc oricum!
 2/9/2006 7:32:11 AM
User is offlinenae racaru
714 posts
www.rarom.ro
1st




Re: Eroare in Win2000 SP4, la lansarea unui program scris in FPD26
 (Romania) Modified By nae racaru  on 2/9/2006 8:32:46 AM)
In ce folder ai config.nt si autoexec.nt?

Si linia PATH D:\Program din autoexec.nt este chiar asa sau are alta forma?

VFP 6 si 9 + Oracle
 2/9/2006 9:43:50 AM
User is offlinemstef
17 posts


Re: Eroare in Win2000 SP4, la lansarea unui program scris in FPD26
 (Romania)
In D:\Winnt\system32 sunt autoexec.nt si config.nt.
linia este D:\Nume Program,unde Nume Program e numele programului respectiv
 2/9/2006 11:23:23 AM
User is offlinenae racaru
714 posts
www.rarom.ro
1st




Re: Eroare in Win2000 SP4, la lansarea unui program scris in FPD26
 (Romania)
din promptul de dos da comanda
path d:\winnt\system32;d:\winnt;%path%
si apoi incearca sa pornesti programul.

VFP 6 si 9 + Oracle
 2/10/2006 1:30:06 PM
User is offlinemstef
17 posts


Re: Eroare in Win2000 SP4, la lansarea unui program scris in FPD26
 (Romania) Modified By mstef  on 2/10/2006 2:32:49 PM)
 nae racaru wrote
din promptul de dos da comanda
path d:\winnt\system32;d:\winnt;%path%
si apoi incearca sa pornesti programul.

Am incercat si -->eroare:["Command Prompt-Program NTVDM has encountered a System Error.The parameter is incorrect.Choose "Close" to terminate the application].In cautarile mele cu Google am gasit asta: http://fox.wikis.com/wc.dll?Wiki~Fpd26OnWin2000~VFP
Cred ca urmand sfaturile de acolo as putea rezolva probl.Multumesc f mult oricum.
  FoxPro  FoxPro 2.6 for Windows  Eroare in Win20...

Search  Forum Home         

 Google Ads Minimize

    

Copyright 2002-2010 Profox   Terms Of Use  Privacy Statement