xsharp.eu • conversion problem (VO2.6 to 2.8)
Page 1 of 3

conversion problem (VO2.6 to 2.8)

Posted: Thu Oct 29, 2020 2:48 pm
by Jan@share.be
In a long overdue attempt to port one of out apps to VO2.8, I get this error:

I have no clue as where to look, so if anyone can help, it would be great

conversion problem (VO2.6 to 2.8)

Posted: Thu Oct 29, 2020 2:50 pm
by robert
Jan,
Does your exe folder contain the file CATO3SPL.DLL ?

Robert

conversion problem (VO2.6 to 2.8)

Posted: Thu Oct 29, 2020 3:08 pm
by Jan@share.be
Robert

no, it didn't
and that solved the problem, spitwindow is now opening.

Where do I find the list of dll's and the functions they contain?
I'll probably run into similar problems furhter down the road.

many thanks for your help.

greetings
Jan

conversion problem (VO2.6 to 2.8)

Posted: Thu Oct 29, 2020 3:47 pm
by Chris
Hi Jan,

Apart from the CATO*.dll files (which are necessary for the DataBrowser, Split window etc), I think you do not need to worry about any other VO dll.

conversion problem (VO2.6 to 2.8)

Posted: Thu Oct 29, 2020 4:06 pm
by Jan@share.be
ok, thank you
We'll see how it goes.

I'm still struggling with some other issues:

1) reportpro: I'm using reportpro V2.16k (latest I purchased)
2) I have a problem with the mousebutton callback functions on a window, they don't seem to work.

And do you have any idea how to get debugview to work on a 64-bit server? (which is the machine I'm working on now). It works fine on my local PC (also 64 bit Windows 10), but I don't get any messages from the app on the server.


thanks for the help.

Once this app works, I'll look at porting it to Xsharp.
That will be a challenge.

conversion problem (VO2.6 to 2.8)

Posted: Thu Oct 29, 2020 4:28 pm
by Chris
Hi Jan,

Oh, sorry, I thought you were already talking about X#. So is it a VO app that you just now "inherited"?
About mouse button callbacks, are you trying to capture them when they happen on the window, or on on if its controls? Can you show us the code?

conversion problem (VO2.6 to 2.8)

Posted: Thu Oct 29, 2020 4:38 pm
by Jan@share.be
It's my own dev from long ago (started in clipper, you believe), and ported to VO later.
So I'll try to get it to X#, but first bring it to VO2.8, so the transition will be easier.

I'm not 100% shure about the mousebutton stuff, some things seem to work, other don't. So I'll investigate further.

Could you give a clue as how to get dbviewer to work, that would help.
In my app I'm using
_DebOut32(PSZ(AsString(val1)))
to send the info,

and debugview from sysinternals to catch the messages.

Is there a _debout64() or something like that?

conversion problem (VO2.6 to 2.8)

Posted: Thu Oct 29, 2020 4:45 pm
by wriedmann
Hi Jan,
DebOut() should work - at least it does on my machine (W10 64 bit) and it does also on any server I have tried it.
But some viewer from Sysinternals don't work, so maybe you could try DebugView++.
Wolfgang

conversion problem (VO2.6 to 2.8)

Posted: Thu Oct 29, 2020 5:03 pm
by Jan@share.be
Debugview++ works :-)
back to work now;

thanks guy's, very helpfull!!

Let you know when I run into trouble again :-(

Jan

conversion problem (VO2.6 to 2.8)

Posted: Fri Oct 30, 2020 12:45 pm
by Jan@share.be
OK, here is my next problem.
I have some splitwindows going, and I use a contextmenu to activate some options in one of the subwindows (these ar datawindows).

To do this, I use the menucommand callback function, but in VO28 this doesn't work.
The menucommand is linked to the window

Am I missing something?

thanks