Page 1 of 2

Problems with the 258 version

Posted: Sun Jul 14, 2013 3:05 am
by MIGUELON
Hi Roger I use the 253 version of Express + + 1.90.355 and Xbase + +, I want to move to the 258 version of Express + + and I have two problems.
I use W7 64 Bits

1) Reports "Color dcprint say" does not work, I sent a screen before and now with version 258
   @ nFila,nColumna DCPRINT SAY cTexto font cFuente COLOR {255,255,255},{0,116,232}

2) Some screens with "DCBROWSE" is always this message

Thank you very much and greetings
Miguel

Re: Problems with the 258 version

Posted: Mon Jul 22, 2013 4:27 pm
by rdonnay
It appears that there is a problem with Xbase++ and 64-bit systems.

I put debugging in _DCPRC.PRG and everything is being passed correctly.

I don't have an old XP system to verify this.

Are you saying that build 258 works ok on XP?

Re: Problems with the 258 version

Posted: Mon Jul 22, 2013 5:35 pm
by MIGUELON
I have not tried with Windows XP

All I have done tests plas Windows 7.

It is possible that the 258 version that I downloaded not the last or have any problems.

Can you tell me where I can download the latest version of Express ++ 258

Many Thanks
Miguel

Re: Problems with the 258 version

Posted: Tue Jul 23, 2013 10:42 am
by rdonnay
I thought you said that you were having problems with version 258.

Now you are requesting another version 258?

That won't solve your problem because it is the same code.

I am also having the same problem on my Win 7 - 64 bit computer.

I don't have a solution yet.

I think that this is an Xbase++ problem.

Re: Problems with the 258 version

Posted: Tue Jul 23, 2013 11:29 am
by MIGUELON
Yes, I have problems with the 258 version as you see in the pictures I sent.

1) Does not work
      @ NFila, font cTexto nColumna cFuente DCPRINT SAY COLOR {255,255,255}, {0116232}
2) I get the message NOT RESTORE THE CONFIGURATION DCBROWSE

I currently use the 253 version and no problems, but want to migrate to version 258

Thanks
Miguel

Re: Problems with the 258 version

Posted: Tue Jul 23, 2013 10:26 pm
by Koverhage
Can you show your restore command ?
We and our customer has no problem on Win 7 - 64 bit machines.
First of all, you should use DC_AutoRestoreBrowse( { HKEY_CURRENT_USER, 'Software\MyKey' } )
If you use other than HKEY_CURRENT_USER you must have the special rights.

-
This work
@ nRow, 80 DCPRINT say temp_ve pict '@E 9999999.999' COLOR GRA_CLR_BLUE,GRA_CLR_WHITE ;
ALIGN DCPRINT_ALIGN_RIGHT PRINTER oPrinter
maybe you can test your code with a COLOR_GRA_? constant ?

Re: Problems with the 258 version

Posted: Wed Jul 24, 2013 2:48 am
by MIGUELON
Thanks for your interest and help.
With the version "253 Express" everything works perfectly in both XP and W7 :D
The problem is in the 258 version :think:

Regards
Miguel

Re: Problems with the 258 version

Posted: Wed Jul 24, 2013 7:35 am
by Wolfgang Ciriack
Thanks for your interest and help.
With the version "253 Express" everything works perfectly in both XP and W7 :D
The problem is in the 258 version :think:
That does not help to find the error or changes in 258 or in your code !!!

Re: Problems with the 258 version

Posted: Wed Jul 24, 2013 8:41 am
by Tom
Hi, Miguel.
1) Does not work
@ NFila, font cTexto nColumna cFuente DCPRINT SAY COLOR {255,255,255}, {0116232}
The two color parameters of DCPRINT SAY should be each either an array with 3 elements ({R,G,B}) OR a number indicating a GRA color. Your second parameter is an array with one element. This is nothing. It may have worked in earlier eXpress++ versions since Roger had lots of error catching code in there, but it was already wrong then. Read the docs and use the right parameters!
2) I get the message NOT RESTORE THE CONFIGURATION DCBROWSE
Your browse(s) changed (columns added or removed), so the configuration can't be retrieved anymore. Change the browse's IDs to remove this message.

Re: Problems with the 258 version

Posted: Fri Jul 26, 2013 4:35 pm
by MIGUELON
Hi Tom, thanks for your help.

1) The color parameter is a copy and paste error. As you see in the first TOPIC okay
@ NFila, font cTexto nColumna cFuente DCPRINT SAY COLOR {255,255,255}, {0,116,232}

2) Not only have I changed the ID but also erasing the data in the registry.

Tom Anyway, as I explained if I use the 253 version DCLIPX EVERYTHING WORKS OK, I have no problem :)

Change the DCLIPX 258 PROBLEMS APPEAR :(

Maybe the 258 version that I have this wrong, so I asked Roger where I can download it to me again.
But still I have no answer.

Regards
Miguel