Sign in to follow this  
Followers 0
Total_newbie

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

10 posts in this topic

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

Share this post


Link to post
Share on other sites



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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

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 ?

:)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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 ... :)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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.

:)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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.

:)

I'm using version v.1.8.4

Share this post


Link to post
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
Sign in to follow this  
Followers 0