smoura
22nd September 2006 09:20 UTC
System::Call on Transmeta Processor
I have an install program that uses a DLL to validate a serial number.
If calling the validation function returns -1 then the Validation failed. The validation is successfull if the return value equals 1.
The setup program correctly validates the serials in almost all the computers, though when I try to install it on a laptop that has a Transmeta Crusoe processor, the validation fails :P
I'm focusing on the processor because I havent found anyother incompatibilities with systems where the installation was successfull.
This is not a top priority issue but I'm curious on why the setup behaves this way! :D
kichik
22nd September 2006 11:09 UTC
What exactly does that System::Call do? Can you provide access to a machine running with a Transmeta processor?
smoura
22nd September 2006 12:01 UTC
Well the System::Call invokes a DLL function in order to validate the user typed serial number:
System::Call "$PLUGINSDIR\ValidateSN::ValidateSN(t r11, t r12,t r13,t r14)i .r0"
IntCmp $0 1 serial_ok serial_wrong
Has to providing access I'm unable to do so because the refered computer is a client's computer. :P
I have also made an executable file wich invokes the function in order to evaluate if the error was being caused by my function. The validation worked perfectly on the transmeta computer! :confused:
kichik
22nd September 2006 12:05 UTC
Well, there's nothing much I can do if all the information I have is that it might be caused by System not functioning properly on a Transmeta. All I can do is offer you send him a DLL that creates a debug log with detailed information about the function parameters and the steps it takes to produce the results and have him send you that log.