Search found 2560 matches

by Chris
Fri Apr 12, 2024 6:35 am
Forum: Deutsches Forum
Topic: Numerischer Überlauf?
Replies: 2
Views: 194

Re: Numerischer Überlauf?

Hi Frank, Maybe the error line reported for some reason is not correct, but the problem must be happening in an arithmetic operation, probably a DWORD variable taking a negative value ofr some reason, or an INT going past the max integer number. Could be even the loop variable itself. Can you please...
by Chris
Fri Apr 12, 2024 6:30 am
Forum: 3rd party products
Topic: ReportPro (2) in ADS environment
Replies: 18
Views: 878

Re: ReportPro (2) in ADS environment

Hi Dick,

It's not really that RPhooks into the ADS filesystem, you just open the files through the ADS RDD driver, which communicates with ADS and asks it to open the file and ADS does the rest internally.
by Chris
Thu Apr 11, 2024 9:38 am
Forum: Deutsches Forum
Topic: Umlaute aus DBF von VO nach X# nicht korrekt
Replies: 8
Views: 278

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Hi Franz,

The dbfs need to be recreated with the new ANSI setting, so you need the first option. Of course you can write a small utility app to do it automatically, if you want I can create one for you.
by Chris
Thu Apr 11, 2024 9:17 am
Forum: Deutsches Forum
Topic: Umlaute aus DBF von VO nach X# nicht korrekt
Replies: 8
Views: 278

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Hi Franz,

Yes, that's because the dbf must also be (re)generated with having SetAnsi(TRUE) first (from either X# or VO). Then it will work the same from both X# and VO.
by Chris
Thu Apr 11, 2024 9:15 am
Forum: Deutsches Forum
Topic: OleAutoObject
Replies: 20
Views: 808

Re: OleAutoObject

Hi Franz,

OK, sounds good! Btw, in case you are not aware, .Net has a very sophisticated and powerful set of classes for handling Xml. You can use them by adding a reference to System.Xml and using the classes System.Xml.XmlDocument, System.Xml.XmlNode etc.
by Chris
Thu Apr 11, 2024 9:12 am
Forum: Product
Topic: Miscellaneous questions about converting VO code to X#
Replies: 43
Views: 2208

Re: Miscellaneous questions about converting VO code to X#

Hi Kees, In that particular case the event object (I assume you have left out some code that checks which event is intercepted exactly) contains a pointer to the structure in the lParam numeric variable. Numerics can be converted to a pointer in a 32 bit application, since they both have the same le...
by Chris
Thu Apr 11, 2024 8:25 am
Forum: Deutsches Forum
Topic: Umlaute aus DBF von VO nach X# nicht korrekt
Replies: 8
Views: 278

Re: Umlaute aus DBF von VO nach X# nicht korrekt

Hi Franz, Thanks for the report, it is indeed a bug in X# with handling OEM (SetAnsi(FALSE)) dbfs, I opened a report here: https://github.com/X-Sharp/XSharpPublic/issues/1449 In the meantime, can't you use SetAnsi(TRUE) instead (both for opening and creating the dbfs)? I think the only reason for us...
by Chris
Wed Apr 10, 2024 4:17 pm
Forum: Deutsches Forum
Topic: Beim Öffnen einer DBF steht EOF auf .t.
Replies: 6
Views: 249

Re: Beim Öffnen einer DBF steht EOF auf .t.

Hi Franz,

Yes of course, thanks for reporting it! But wanted to point out that there's no need to put the GoTop() in every window, doing it only once in the parent server class code would be enough.
by Chris
Wed Apr 10, 2024 10:14 am
Forum: 3rd party products
Topic: ReportPro (2) in ADS environment
Replies: 18
Views: 878

Re: ReportPro (2) in ADS environment

Hi Dick,

Ah, just thought of it, they open fine from RP/any app that uses ADS, because the file opening is not really handled by RP, but by ADS itself. RP only tells ADS to open the files and ADS (which has already opened them itself) does the rest.

Edit: Basically, what Karl said just before me :)
by Chris
Wed Apr 10, 2024 10:10 am
Forum: Deutsches Forum
Topic: Beim Öffnen einer DBF steht EOF auf .t.
Replies: 6
Views: 249

Re: Beim Öffnen einer DBF steht EOF auf .t.

Hi Franz, Thanks, I see the problem, it's because of the SetIndex() you are using inside the constructor of the parent dbStandard class. We will check why this sets the eof to true (it's an incompatibility with VO), but for now you can easily solve the problem by using a SELF:GoTop(), just after the...