Error: duplicate identifier "SYSTEM" - Free Pascal - pascal

I'd doing Free Pascal program, and when I'm importing module Crt, showing error:
crt.pas(15,9) Error: Dublicate identifier "SYSTEM"
crt.pas(15,9) Error: Dublicate identifier "system"
crt.pas(116,1) Fatal: There were 2 errors compiling modele, stopping
crt.pas(0) Fatal: Compilation aborted
Imported modules in program:
uses
Crt,
Math;
I'm using DOS system
On Win10 and Win7 PC compiles fine

try to reinstall Free Pascal IDE or copy files from working Free Pascal IDE
on Dos no LFN support, for info and this package can be not installed

Related

.NET Core installation on Mac OS X

I have a problem with .NET Core installation on Mac OS X (El Capitan 10.11). Generally, I did everything as MS documentation said but when I'm trying to test the installation (dotnet new) I get an error:
Unhandled Exception: System.TypeInitializationException: The type
initializer for 'Crypto' threw an exception. --->
System.TypeInitializationException: The type initializer for
'CryptoInitializer' threw an exception. --->
System.DllNotFoundException: Unable to load DLL
'System.Security.Cryptography.Native': The specified module could not
be found.
I was trying to deploy .NET core through manual process, i.e. downloaded all the packages from Git, install mandatory libraries (like openssl) via Homebrew and start compiling. Coreclr has compiled well, but corefx gives errors resembling to what I received with automatic installation:
In file included from
/usr/local/git/corefx/src/Native/Unix/System.Security.Cryptography.Native/pal_ecdsa.cpp:5:
/usr/local/git/corefx/src/Native/Unix/System.Security.Cryptography.Native/pal_ecdsa.h:7:10:
fatal error: 'openssl/ecdsa.h' file not found
include
^ make[2]: *** [System.Security.Cryptography.Native/CMakeFiles/System.Security.Cryptography.Native.dir/pal_bignum.cpp.o]
Error 1
I looked through the interned for possible solution with no luck. I cannot get one thing... if openssl lib is deprecated, why in the world MS keeps using it, as it obviously causes a lot of pain in well known place.
Has anybody managed to run .NET core on Mac, having the issue I described above?
After a while, I decided to reinstall everything from scratch. I have deleted git repo with dotnetfx source, cleaned out 'lib' and 'opt' folders (from 'openssl'), deleted Cellar folder (where 'openssl' reside). Once I did all this, I've started a new installation and followed instructions published on the official resource This time it all been deployed and works like a charm.

Invalid MEX-file, "Access is denied" using matlab

I've come across the following error:
"Invalid MEX-file
'C:\Users\Patricia\Documents\Patricia\Winter2015\Lip
Reading\CFAN_Code_v1.0\resize.mexw64': Access is denied."
My permissions for the file are set to full control.
I'm trying to run it using the same version of matlab the file was compiled on (in fact, it works fine with this version of matlab on Linux!) and I'm using the same OS it was compiled on (64 bit Windows). Though I'm not sure whether it was compiled on Windows XP, 7, or 8. Could that be the reason?
When I run depends.exe on the file, it tells me:
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
And highlights the files:
c:\windows\system32\API-MS-WIN-CORE-SYNCH-L1-1-0.DLL
c:\windows\system32\SHCORE.DLL
c:\windows\system32\SHLWAPI.DLL
c:\windows\system32\EXT-MS-WIN-ADVAPI32-PSM-APP-L1-1-0.DLL
c:\windows\system32\EXT-MS-WIN-NTUSER-MESSAGE-L1-1-0.DLL
c:\windows\system32\IEFRAME.DLL
Thank you very much for your time!!
Pat

cobc: Invalid argument error when compiling

I'm currently taking up a course in COBOL and recently I have only been using an online compiler. When I decided to install the OpenCOBOL IDE. I keep getting the error "cobc: Invalid argument" whenever i try to compile. I tried multiple re-installs still to no avail. I also tried installing just the compiler itself and compiling my files using cmd, but still it gives that error. Any help? I really need to get it working.
OS: Windows 8.1 64-bit
You need an "-x" option to tell the compiler build an executable with the same name as the program source (but without the .cbl or a "-o progname" option to tell the compile to produce an executable named progname.

DriverPackagePreinstall error with dpinst.exe

When trying to install a driver using Microsoft Driver Package Installer DPInst I got error 0xE0000247.
I tried to check the error code with Visual Studio Lookup Tool but the tool doesn't know this error code. Also MSDN doesn't help here.
How can I lookup the meaning of this error ?
Below a fragment of my DPINST.LOG file:
INFO: Install option set: Running in quiet mode. Suppressing Wizard and OS popups.
INFO: Install option set: legacy mode on.
INFO: Install option set: Suppressing EULA.
INFO: Install option set: Force install if driver is not better.
INFO: Install option set: Suppress Add or Remove Programs entries.
INFO: Found driver package: 'C:\Program Files (x86)\MyApp\my_driver.inf'.
INFO: Preinstalling 'C:\Program Files (x86)\MyApp\my_driver.inf' ...
INFO: ENTER: DriverPackagePreinstallW
INFO: RETURN: DriverPackagePreinstallW (0xE0000247)
INFO: Returning with code 0x80010000
Straight from SetupAPI.h (irrelevant lines omitted):
#define APPLICATION_ERROR_MASK 0x20000000
#define ERROR_SEVERITY_ERROR 0xC0000000
#define ERROR_DRIVER_STORE_ADD_FAILED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x247)
So your error is ERROR_DRIVER_STORE_ADD_FAILED which is a generic error code returned by SetupCopyOEMInf which in turn is called by DriverPackagePreinstall internally.
The cause of this error is poorly documented but doesn't seem to be related to any specific type of error (hence I called it "generic"). The name itself suggests that the driver could not be added to the driver store (or the DIFx driver store for OS versions prior to Windows Vista) which could have various reasons (insufficient access rights, validation of the driver package failed, ...).
From personal experience I can tell you that most of the time when this error occurs there is a problem with the certificate used to sign the driver package on 64-bit Windows. (Which should really be one of the CERT_E_* error codes, but well...)

MSVCR90.DLL Error When Trying to run pykml module in Windows Vista

I am new to python and plan on using it with pykml to create KML files for Google Earth. I have succesfully installed the dependecies(lxml-2.3-py2.7-win32.egg) and the pykml package(pykml-0.1.0-py2.7.egg) itself using easy_install.
In the python interpreter I can import lxml and pykml without issue, but when I try importing pykml."any module" I get an error that says:
python.exe - Unable to Locate Component
-This application has failed to start because MSVCR90.dll was not found. Re-installing the application may fix this problem.
After getting this I downloaded the MSVCR90.dll and placed it in my \Lib\site-package folder and got the following error:
Microsoft Visual C++ Runtime Library
- Runtime Error!
- Program: C:\hp\bin\Python\python.exe
-R6034
-An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information.
Anyone with experience using pykml on Windows please help!!!
Thanks!

Resources