PDA

View Full Version : DLLANSI2UNI - ANSI to UNICODE - Intrigued


Intrigued
09-23-2006, 11:29 AM
I do not need this personally, but others seem to have been asking for this if I understood them correctly. This .dll was created from other code I found and then wrapped into a .dll. It allows for (test it out for me please and make sure) ability to convert a ANSI string to UNICODE.

Exported file (.apz) with the .dll:

http://www.amsuser.com/ams/examples/DLLANSI2UNI-AMS6-Intrigued.apz

goldingname
09-23-2006, 12:25 PM
thank u so much!
can u make uni2ansi?
i think AMS have problem to show Unicode stringz?
how can i solve this problem for my language!
i want to show strings from a htm file and that's unicode!
what can i do?

Intrigued
09-23-2006, 12:49 PM
i think AMS have problem to show Unicode stringz?

That's something the DEV team with I.R. would need to work on.

Teqskater
07-23-2007, 06:54 AM
i need something like uni2ansi . can you please make that

usernameCasper
07-23-2007, 07:47 AM
http://www.amsuser.com/ams/examples/...-Intrigued.apz

Delete the On Show code provided into the project from the attachment.
Make 1 button, 2 inputfields, where inputfield 1 is the Input from the user and inputfield 2 is the output when user clicks on the button (named Convert or so).

Put code into script from button (named Convert for example):
strInput = Input.GetText("Input1");
strTarget = DLL.CallFunction("AutoPlay\\Docs\\DLLANSI2UNI.dll", "ANSUNI", strInput, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
Input.SetText("Input2",strTarget);

NOTE:
The DLL contains 1 function, named "ANSUNI", can you give the available parameters for using this DLL ? I can see one parameter that doesnt work properly, this function doesnt work.
You can set up a try catch method to solve the crash when numeric string is given, but literic characters will return 0, I think this function needs to be rewritten.

The dll and lib for converting ANSI <-> UNICODE is already made and available somewhere on the internet AFAIK. Try to search for it.

Teqskater
07-23-2007, 10:26 AM
i have searched the crap out of me :lol. i just can find it.

Intrigued
07-23-2007, 06:01 PM
I ported some other code to create this .dll. I agree, someone with an interest would be better positioned to accomplish a rewrite of this assembly.

usernameCasper
07-24-2007, 06:27 AM
AFAIK, many programmers in the past used the dll in the attachment.
Try to make a workaround with it, use Dependency Walker to get a better understanding of this library file.

Good luck,
-Casper

Teqskater
08-16-2007, 06:35 PM
can you make it for me please. im new with dll's

usernameCasper
08-17-2007, 05:37 AM
I dont have the docu of it, so I don't know any parameters, only the functions. Maybe you can get it from the creator at http://www.zlib.net/, it's open source but please read the GNU.