Recent

Author Topic: Error 193  (Read 9001 times)

Mr. Albert

  • New member
  • *
  • Posts: 8
Re: Error 193
« Reply #15 on: January 07, 2017, 03:33:12 pm »
1) I've found these "things": -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Filib\x86_64-win64 -Fu. -FUlib\x86_64-win64 I don't understand it so could you please tell me if anything is wrong? Is this what you asked?
2) - virustotal.com says that my file is fully safe.
- In the root of my drives are no files with the same name 
- I don't need any .dll files, so that couldn't be the problem

Bart

  • Hero Member
  • *****
  • Posts: 4934
    • Bart en Mariska's Webstek
Re: Error 193
« Reply #16 on: January 07, 2017, 03:49:26 pm »
The options are OK.
Can you build a simple "hello world" (console) program?
Buid it from commandline: fpc helloworld.pp
Does it run?

Bart

Mr. Albert

  • New member
  • *
  • Posts: 8
Re: Error 193
« Reply #17 on: January 07, 2017, 04:13:19 pm »
Could you write me down how to use commandline to start the program? Sorry, but i've never used it before :S

lainz

  • Hero Member
  • *****
  • Posts: 4127
Re: Error 193
« Reply #18 on: January 07, 2017, 04:29:32 pm »
Just create a bat file is easier if you never used the command line.

helloworld.pas
Code: Pascal  [Select][+][-]
  1. program Project1;
  2.  
  3. {$mode objfpc}{$H+}
  4.  
  5. uses
  6.   {$IFDEF UNIX}{$IFDEF UseCThreads}
  7.   cthreads,
  8.   {$ENDIF}{$ENDIF}
  9.   Classes
  10.   { you can add units after this };
  11.  
  12. begin
  13.   writeln('Hello World');
  14. end.

compile.bat
Code: Pascal  [Select][+][-]
  1. fpc helloworld.pas
  2. cmd /k helloworld.exe

Note that you need FPC in PATH to run this, else will not compile.

ASerge

  • Hero Member
  • *****
  • Posts: 2049
Re: Error 193
« Reply #19 on: January 07, 2017, 05:38:51 pm »
Forgot {$IFDEF WINDOWS} {$APPTYPE CONSOLE} {$ENDIF}

talitaedwiges

  • Newbie
  • Posts: 5
Re: Error 193
« Reply #20 on: January 23, 2023, 01:45:50 pm »
Good morning, I'm experiencing the same compilation error, I'm just creating a test application 'Hello,' I can't compile because of this error 193.

jamie

  • Hero Member
  • *****
  • Posts: 5182
Re: Error 193
« Reply #21 on: January 23, 2023, 11:11:02 pm »
compile it, then use the shell and go to the destination folder and run the program from there using windows shell. (File Explorer).

 Let us know if that solves your problem.

 Unless you saved your project into a specific folder, it will use the USERS folder and if it has some strange letters in it, it may cause issues, maybe.

 But if the EXE is not being generated at all, then that in itself is a problem.
The only true wisdom is knowing you know nothing

af0815

  • Hero Member
  • *****
  • Posts: 1167
Re: Error 193
« Reply #22 on: January 24, 2023, 08:36:27 am »
Are on a shared or replicated drive ? (..OneDrive/J..)

On this drives (sometimes simulated) i know there can be limitations or something blocked.
regards
Andreas

archisur

  • Newbie
  • Posts: 1
Re: Error 193
« Reply #23 on: January 25, 2023, 12:59:08 pm »
If your application require any dll files; make sure that they are all where you expect them to be.
pandaexpress/feedback applebees happy hour
« Last Edit: January 27, 2023, 01:38:55 pm by archisur »

 

TinyPortal © 2005-2018