Jump to content

Warning: This is an Unicode compiled script and will not run on Win9x/ME


Recommended Posts

Hello gurus,

I'm receiving this error message now when compiling my script "Warning: This is an Unicode compiled script and will not run on Win9x/ME".

the problem is that I believe that will be using this script in Win98 or ME. any workaround?

Thanks

Link to comment
Share on other sites

  • Developers

Hello gurus,

I'm receiving this error message now when compiling my script "Warning: This is an Unicode compiled script and will not run on Win9x/ME".

the problem is that I believe that will be using this script in Win98 or ME. any workaround?

Thanks

Tell AutoIt3Wrapper to use the ANSI version of AUT2EXE :

#AutoIt3Wrapper_UseAnsi=y ;(y/n) Use Ansi versions for AutoIt3a or AUT2EXEa. Default is n

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Tell AutoIt3Wrapper to use the ANSI version of AUT2EXE :

#AutoIt3Wrapper_UseAnsi=y ;(y/n) Use Ansi versions for AutoIt3a or AUT2EXEa. Default is n

thanks Jos. Can I change it and use for every script compilation or there is any special situation where I should remember that I've set the Wrapper to use ANSI?

Link to comment
Share on other sites

  • Developers

thanks Jos. Can I change it and use for every script compilation or there is any special situation where I should remember that I've set the Wrapper to use ANSI?

You can set AutoIt3Wrapper defaults in the AutoIt3Wrapper.ini file located in the AutoIt3Wrapper program directory.

When you are not using UNICODE files there should be no drawback.

Maybe this script should be extended to set the Autoit3Wrapper defaults in the INI ?

:)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

You can set AutoIt3Wrapper defaults in the AutoIt3Wrapper.ini file located in the AutoIt3Wrapper program directory.

When you are not using UNICODE files there should be no drawback.

Maybe this script should be extended to set the Autoit3Wrapper defaults in the INI ?

:)

Thanks Jos and Zedna for the tip. But even after changing the wrapper ini file I'm still receiving the same message when compiling my script. Is there anything else I should check?

Thanks

Link to comment
Share on other sites

  • Developers

Thanks Jos and Zedna for the tip. But even after changing the wrapper ini file I'm still receiving the same message when compiling my script. Is there anything else I should check?

Thanks

Just tried it to make sure but when your "c:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.ini" looks like :

[Autoit]
aut2exe=
Icon=
OutfileType=
Compression=
PassPhrase=
Allow_Decompile=
UseUpx=
UseAnsi=y

And:

- No Scriptfile.au3.ini exists, you wont get an error

- No line exists in your script like: #AutoIt3Wrapper_UseAnsi=n

Things work as advertised ... :)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Just tried it to make sure but when your "c:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.ini" looks like :

[Autoit]
aut2exe=
Icon=
OutfileType=
Compression=
PassPhrase=
Allow_Decompile=
UseUpx=
UseAnsi=y

And:

- No Scriptfile.au3.ini exists, you wont get an error

- No line exists in your script like: #AutoIt3Wrapper_UseAnsi=n

Things work as advertised ... :)

Hi Jos, I think you spotted the problem. I have a scriptfile.ini which I read some config from it. I tried to create an Autoit section there with the UseAnsi info but still not working. Any other tip?

thanks

Link to comment
Share on other sites

  • Developers

Hi Jos, I think you spotted the problem. I have a scriptfile.ini which I read some config from it. I tried to create an Autoit section there with the UseAnsi info but still not working. Any other tip?

thanks

What version AutoIt3Wrapper are you running ?

Pleae try the Test version that is available now to see if that works correctly because i know I have fixed something with the UseAnsi settings read from INI files after the 1.9.1.0 release.

:)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...