In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
OCX implementation is outstanding
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Dear all,
I have tested the latest Xailer and focussed on the ActiveX support. I was
happy to find out that I was able to use one of my favorite components
MapObjects from ESRI without any problem!!. The way ActiveX is implemented
in Xailer is very elegant (comparible with MS Visual Studio and even more
intuitive that handled in Delphi). Within half an hour I had build a
MapViewer with zooming capabilities. And the application is solid rock. No
GPF's!!
I have also other xHarbour related products, but was unable to get a stable
of or even running application.
The test project is included and if you want to play with the sample you
will need to dowload and install a trial version of MapObjects Lite
(http://www.esri.com/software/mapobjectslt/download.html).
I have a question though. On the main form, on two panels, I have also
placed two other components. One is a scalebar at the bottom, and one is
legend tool on the left. When the main form is initialized these two
componets are created, but they they not really become visible. Does anybody
have a clue in what direction I need to find a solution. I have used these
components succesfully in other programs (using a VB-alike IDE), but then it
was simply dragging them from a component tool bar on to the form. Maybe it
has something to do with early or late binding of the controls.
Best wishes,
Stephan
Attached files MapViewer.zip (24.2 KB)Â
I have tested the latest Xailer and focussed on the ActiveX support. I was
happy to find out that I was able to use one of my favorite components
MapObjects from ESRI without any problem!!. The way ActiveX is implemented
in Xailer is very elegant (comparible with MS Visual Studio and even more
intuitive that handled in Delphi). Within half an hour I had build a
MapViewer with zooming capabilities. And the application is solid rock. No
GPF's!!
I have also other xHarbour related products, but was unable to get a stable
of or even running application.
The test project is included and if you want to play with the sample you
will need to dowload and install a trial version of MapObjects Lite
(http://www.esri.com/software/mapobjectslt/download.html).
I have a question though. On the main form, on two panels, I have also
placed two other components. One is a scalebar at the bottom, and one is
legend tool on the left. When the main form is initialized these two
componets are created, but they they not really become visible. Does anybody
have a clue in what direction I need to find a solution. I have used these
components succesfully in other programs (using a VB-alike IDE), but then it
was simply dragging them from a component tool bar on to the form. Maybe it
has something to do with early or late binding of the controls.
Best wishes,
Stephan
Attached files MapViewer.zip (24.2 KB)Â
OCX implementation is outstanding
Stephan,
> I have tested the latest Xailer and focussed on the ActiveX support. I was
> happy to find out that I was able to use one of my favorite components
> MapObjects from ESRI without any problem!!. The way ActiveX is implemented
> in Xailer is very elegant (comparible with MS Visual Studio and even more
> intuitive that handled in Delphi). Within half an hour I had build a
> MapViewer with zooming capabilities. And the application is solid rock. No
> GPF's!!
>
> I have also other xHarbour related products, but was unable to get a
> stable
> of or even running application.
Thanks for your kind words!
> The test project is included and if you want to play with the sample you
> will need to dowload and install a trial version of MapObjects Lite
> (http://www.esri.com/software/mapobjectslt/download.html).
I'm trying to run the sample, but I'm having several problems:
1) I've downloaded and installed the component, but it doesn't include the
legend and scalebar ocx's. Where can I download them?
2) I've downloaded sample data, and I've changed the method
TMainForm:FormShow() to load other maps, but I get nothing. Please, send me
correct sample data or tell me how to replace for another maps.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> I have tested the latest Xailer and focussed on the ActiveX support. I was
> happy to find out that I was able to use one of my favorite components
> MapObjects from ESRI without any problem!!. The way ActiveX is implemented
> in Xailer is very elegant (comparible with MS Visual Studio and even more
> intuitive that handled in Delphi). Within half an hour I had build a
> MapViewer with zooming capabilities. And the application is solid rock. No
> GPF's!!
>
> I have also other xHarbour related products, but was unable to get a
> stable
> of or even running application.
Thanks for your kind words!
> The test project is included and if you want to play with the sample you
> will need to dowload and install a trial version of MapObjects Lite
> (http://www.esri.com/software/mapobjectslt/download.html).
I'm trying to run the sample, but I'm having several problems:
1) I've downloaded and installed the component, but it doesn't include the
legend and scalebar ocx's. Where can I download them?
2) I've downloaded sample data, and I've changed the method
TMainForm:FormShow() to load other maps, but I get nothing. Please, send me
correct sample data or tell me how to replace for another maps.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Jose,
I have posted a zip file on my webserver
( http://www.synbiosys.alterra.nl/turbove ... /xailer.zi p).
The zip contains the missingcontrols and a sample shape file (always
consists a minimum of three files)
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45c9a588$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> I have tested the latest Xailer and focussed on the ActiveX support. I
>> was
>> happy to find out that I was able to use one of my favorite components
>> MapObjects from ESRI without any problem!!. The way ActiveX is
>> implemented
>> in Xailer is very elegant (comparible with MS Visual Studio and even more
>> intuitive that handled in Delphi). Within half an hour I had build a
>> MapViewer with zooming capabilities. And the application is solid rock.
>> No
>> GPF's!!
>>
>> I have also other xHarbour related products, but was unable to get a
>> stable
>> of or even running application.
>
> Thanks for your kind words!
>
>
>> The test project is included and if you want to play with the sample you
>> will need to dowload and install a trial version of MapObjects Lite
>> (http://www.esri.com/software/mapobjectslt/download.html).
>
> I'm trying to run the sample, but I'm having several problems:
>
> 1) I've downloaded and installed the component, but it doesn't include the
> legend and scalebar ocx's. Where can I download them?
>
> 2) I've downloaded sample data, and I've changed the method
> TMainForm:FormShow() to load other maps, but I get nothing. Please, send
> me correct sample data or tell me how to replace for another maps.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
I have posted a zip file on my webserver
( http://www.synbiosys.alterra.nl/turbove ... /xailer.zi p).
The zip contains the missingcontrols and a sample shape file (always
consists a minimum of three files)
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45c9a588$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> I have tested the latest Xailer and focussed on the ActiveX support. I
>> was
>> happy to find out that I was able to use one of my favorite components
>> MapObjects from ESRI without any problem!!. The way ActiveX is
>> implemented
>> in Xailer is very elegant (comparible with MS Visual Studio and even more
>> intuitive that handled in Delphi). Within half an hour I had build a
>> MapViewer with zooming capabilities. And the application is solid rock.
>> No
>> GPF's!!
>>
>> I have also other xHarbour related products, but was unable to get a
>> stable
>> of or even running application.
>
> Thanks for your kind words!
>
>
>> The test project is included and if you want to play with the sample you
>> will need to dowload and install a trial version of MapObjects Lite
>> (http://www.esri.com/software/mapobjectslt/download.html).
>
> I'm trying to run the sample, but I'm having several problems:
>
> 1) I've downloaded and installed the component, but it doesn't include the
> legend and scalebar ocx's. Where can I download them?
>
> 2) I've downloaded sample data, and I've changed the method
> TMainForm:FormShow() to load other maps, but I get nothing. Please, send
> me correct sample data or tell me how to replace for another maps.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
OCX implementation is outstanding
Stephan,
Sorry for the long delay.
> I have posted a zip file on my webserver
> ( http://www.synbiosys.alterra.nl/turbove ... /xailer.zi p).
> The zip contains the missingcontrols and a sample shape file (always
> consists a minimum of three files)
I downloaded and checked it, without success. I searched in google how to
use those components, but there are very few references, several ones in
some asian language which I don't know at all.
It seems the problem is about how to use them. If you find any sample (for
example in Delphi) it would help.
BTW, almost a year ago, I did a prototype of a similar program. It consist
in a map with several 'sensible' points which can be clicked to show info
about them. That is, an interactive information system for a espeleologist
association, which shows information about caves in the province of Almeria
in Spain. Here are a couple of screenshots:
http://www.xailer.com/files/mapas1.jpg
http://www.xailer.com/files/mapas2.jpg
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
Sorry for the long delay.
> I have posted a zip file on my webserver
> ( http://www.synbiosys.alterra.nl/turbove ... /xailer.zi p).
> The zip contains the missingcontrols and a sample shape file (always
> consists a minimum of three files)
I downloaded and checked it, without success. I searched in google how to
use those components, but there are very few references, several ones in
some asian language which I don't know at all.
It seems the problem is about how to use them. If you find any sample (for
example in Delphi) it would help.
BTW, almost a year ago, I did a prototype of a similar program. It consist
in a map with several 'sensible' points which can be clicked to show info
about them. That is, an interactive information system for a espeleologist
association, which shows information about caves in the province of Almeria
in Spain. Here are a couple of screenshots:
http://www.xailer.com/files/mapas1.jpg
http://www.xailer.com/files/mapas2.jpg
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Thanks for your efforts Jose.
The way I coded the sample should work, because it also worked in UltimAde
(a VB alike IDE with Clipper language, but no longer supported).
Anyway, the map control works fine in Xailer, which is a very good thing.
Have you also been able to get the map on the screen?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=45d44a2c@news.xailer.com...]45d44a2c@news.xailer.com...[/email]
> Stephan,
>
> Sorry for the long delay.
>
>> I have posted a zip file on my webserver
>> ( http://www.synbiosys.alterra.nl/turbove ... /xailer.zi p).
>> The zip contains the missingcontrols and a sample shape file (always
>> consists a minimum of three files)
>
> I downloaded and checked it, without success. I searched in google how to
> use those components, but there are very few references, several ones in
> some asian language which I don't know at all.
>
> It seems the problem is about how to use them. If you find any sample (for
> example in Delphi) it would help.
>
> BTW, almost a year ago, I did a prototype of a similar program. It consist
> in a map with several 'sensible' points which can be clicked to show info
> about them. That is, an interactive information system for a espeleologist
> association, which shows information about caves in the province of
> Almeria in Spain. Here are a couple of screenshots:
> http://www.xailer.com/files/mapas1.jpg
> http://www.xailer.com/files/mapas2.jpg
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
The way I coded the sample should work, because it also worked in UltimAde
(a VB alike IDE with Clipper language, but no longer supported).
Anyway, the map control works fine in Xailer, which is a very good thing.
Have you also been able to get the map on the screen?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=45d44a2c@news.xailer.com...]45d44a2c@news.xailer.com...[/email]
> Stephan,
>
> Sorry for the long delay.
>
>> I have posted a zip file on my webserver
>> ( http://www.synbiosys.alterra.nl/turbove ... /xailer.zi p).
>> The zip contains the missingcontrols and a sample shape file (always
>> consists a minimum of three files)
>
> I downloaded and checked it, without success. I searched in google how to
> use those components, but there are very few references, several ones in
> some asian language which I don't know at all.
>
> It seems the problem is about how to use them. If you find any sample (for
> example in Delphi) it would help.
>
> BTW, almost a year ago, I did a prototype of a similar program. It consist
> in a map with several 'sensible' points which can be clicked to show info
> about them. That is, an interactive information system for a espeleologist
> association, which shows information about caves in the province of
> Almeria in Spain. Here are a couple of screenshots:
> http://www.xailer.com/files/mapas1.jpg
> http://www.xailer.com/files/mapas2.jpg
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
OCX implementation is outstanding
Stephan,
> Thanks for your efforts Jose.
> The way I coded the sample should work, because it also worked in UltimAde
> (a VB alike IDE with Clipper language, but no longer supported).
> Anyway, the map control works fine in Xailer, which is a very good thing.
> Have you also been able to get the map on the screen?
Yes, the map is shown correctly, but the other two panels show nothing. I
saw that the map is assigned to the legend object by calling
:SetMapSource( ::oMap ). Perhaps the problem is about assigning an OLE
object to a property of another object; I'm not sure. So, I'd like to see a
working sample (preferable in Delphi) to review it deepper.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> Thanks for your efforts Jose.
> The way I coded the sample should work, because it also worked in UltimAde
> (a VB alike IDE with Clipper language, but no longer supported).
> Anyway, the map control works fine in Xailer, which is a very good thing.
> Have you also been able to get the map on the screen?
Yes, the map is shown correctly, but the other two panels show nothing. I
saw that the map is assigned to the legend object by calling
:SetMapSource( ::oMap ). Perhaps the problem is about assigning an OLE
object to a property of another object; I'm not sure. So, I'd like to see a
working sample (preferable in Delphi) to review it deepper.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Jose,
unfortunately the legend and scalebar control don't work in Delphi. The
troubles already starts when creating the type libs.
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45d58c57$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> Thanks for your efforts Jose.
>> The way I coded the sample should work, because it also worked in
>> UltimAde (a VB alike IDE with Clipper language, but no longer supported).
>> Anyway, the map control works fine in Xailer, which is a very good thing.
>> Have you also been able to get the map on the screen?
>
> Yes, the map is shown correctly, but the other two panels show nothing. I
> saw that the map is assigned to the legend object by calling
> :SetMapSource( ::oMap ). Perhaps the problem is about assigning an OLE
> object to a property of another object; I'm not sure. So, I'd like to see
> a working sample (preferable in Delphi) to review it deepper.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
unfortunately the legend and scalebar control don't work in Delphi. The
troubles already starts when creating the type libs.
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45d58c57$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> Thanks for your efforts Jose.
>> The way I coded the sample should work, because it also worked in
>> UltimAde (a VB alike IDE with Clipper language, but no longer supported).
>> Anyway, the map control works fine in Xailer, which is a very good thing.
>> Have you also been able to get the map on the screen?
>
> Yes, the map is shown correctly, but the other two panels show nothing. I
> saw that the map is assigned to the legend object by calling
> :SetMapSource( ::oMap ). Perhaps the problem is about assigning an OLE
> object to a property of another object; I'm not sure. So, I'd like to see
> a working sample (preferable in Delphi) to review it deepper.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Now that I have bought a license for Xailer I can run the applications
outsite of the IDE. With the MapObjects control however there is new problem
when I close the application. It GPF's.
Any idea how to solve this problem?
Regards,
Stephan
"Stephan Hennekens" <stephan.hennekens@wur.nl> wrote in message
news:[email=45c7bc5f@news.xailer.com...]45c7bc5f@news.xailer.com...[/email]
> Dear all,
>
> I have tested the latest Xailer and focussed on the ActiveX support. I was
> happy to find out that I was able to use one of my favorite components
> MapObjects from ESRI without any problem!!. The way ActiveX is implemented
> in Xailer is very elegant (comparible with MS Visual Studio and even more
> intuitive that handled in Delphi). Within half an hour I had build a
> MapViewer with zooming capabilities. And the application is solid rock. No
> GPF's!!
>
> I have also other xHarbour related products, but was unable to get a
> stable
> of or even running application.
>
> The test project is included and if you want to play with the sample you
> will need to dowload and install a trial version of MapObjects Lite
> (http://www.esri.com/software/mapobjectslt/download.html).
>
> I have a question though. On the main form, on two panels, I have also
> placed two other components. One is a scalebar at the bottom, and one is
> legend tool on the left. When the main form is initialized these two
> componets are created, but they they not really become visible. Does
> anybody
> have a clue in what direction I need to find a solution. I have used these
> components succesfully in other programs (using a VB-alike IDE), but then
> it
> was simply dragging them from a component tool bar on to the form. Maybe
> it
> has something to do with early or late binding of the controls.
>
> Best wishes,
> Stephan
>
>
>
>
>
>
>
>
>
>
>
>
outsite of the IDE. With the MapObjects control however there is new problem
when I close the application. It GPF's.
Any idea how to solve this problem?
Regards,
Stephan
"Stephan Hennekens" <stephan.hennekens@wur.nl> wrote in message
news:[email=45c7bc5f@news.xailer.com...]45c7bc5f@news.xailer.com...[/email]
> Dear all,
>
> I have tested the latest Xailer and focussed on the ActiveX support. I was
> happy to find out that I was able to use one of my favorite components
> MapObjects from ESRI without any problem!!. The way ActiveX is implemented
> in Xailer is very elegant (comparible with MS Visual Studio and even more
> intuitive that handled in Delphi). Within half an hour I had build a
> MapViewer with zooming capabilities. And the application is solid rock. No
> GPF's!!
>
> I have also other xHarbour related products, but was unable to get a
> stable
> of or even running application.
>
> The test project is included and if you want to play with the sample you
> will need to dowload and install a trial version of MapObjects Lite
> (http://www.esri.com/software/mapobjectslt/download.html).
>
> I have a question though. On the main form, on two panels, I have also
> placed two other components. One is a scalebar at the bottom, and one is
> legend tool on the left. When the main form is initialized these two
> componets are created, but they they not really become visible. Does
> anybody
> have a clue in what direction I need to find a solution. I have used these
> components succesfully in other programs (using a VB-alike IDE), but then
> it
> was simply dragging them from a component tool bar on to the form. Maybe
> it
> has something to do with early or late binding of the controls.
>
> Best wishes,
> Stephan
>
>
>
>
>
>
>
>
>
>
>
>
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Jose, could you please review? This is certainly a low level problem.
You can download the xailer project from here:
http://www.synbiosys.alterra.nl/download/mapviewer.zip
The sample uses the MapObjectsLT2 components you have installed a few weeks
ago.
In this sample I have excluded the Legend and Scalebar control, so the
problem seems fully at the account of the Map object.
Best wishes,
Stephan
"Stephan Hennekens" <stephan.hennekens@wur.nl> wrote in message
news:45e82d6a$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Now that I have bought a license for Xailer I can run the applications
> outsite of the IDE. With the MapObjects control however there is new
> problem when I close the application. It GPF's.
> Any idea how to solve this problem?
>
> Regards,
> Stephan
>
> "Stephan Hennekens" <stephan.hennekens@wur.nl> wrote in message
> news:[email=45c7bc5f@news.xailer.com...]45c7bc5f@news.xailer.com...[/email]
>> Dear all,
>>
>> I have tested the latest Xailer and focussed on the ActiveX support. I
>> was
>> happy to find out that I was able to use one of my favorite components
>> MapObjects from ESRI without any problem!!. The way ActiveX is
>> implemented
>> in Xailer is very elegant (comparible with MS Visual Studio and even more
>> intuitive that handled in Delphi). Within half an hour I had build a
>> MapViewer with zooming capabilities. And the application is solid rock.
>> No
>> GPF's!!
>>
>> I have also other xHarbour related products, but was unable to get a
>> stable
>> of or even running application.
>>
>> The test project is included and if you want to play with the sample you
>> will need to dowload and install a trial version of MapObjects Lite
>> (http://www.esri.com/software/mapobjectslt/download.html).
>>
>> I have a question though. On the main form, on two panels, I have also
>> placed two other components. One is a scalebar at the bottom, and one is
>> legend tool on the left. When the main form is initialized these two
>> componets are created, but they they not really become visible. Does
>> anybody
>> have a clue in what direction I need to find a solution. I have used
>> these
>> components succesfully in other programs (using a VB-alike IDE), but then
>> it
>> was simply dragging them from a component tool bar on to the form. Maybe
>> it
>> has something to do with early or late binding of the controls.
>>
>> Best wishes,
>> Stephan
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
You can download the xailer project from here:
http://www.synbiosys.alterra.nl/download/mapviewer.zip
The sample uses the MapObjectsLT2 components you have installed a few weeks
ago.
In this sample I have excluded the Legend and Scalebar control, so the
problem seems fully at the account of the Map object.
Best wishes,
Stephan
"Stephan Hennekens" <stephan.hennekens@wur.nl> wrote in message
news:45e82d6a$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Now that I have bought a license for Xailer I can run the applications
> outsite of the IDE. With the MapObjects control however there is new
> problem when I close the application. It GPF's.
> Any idea how to solve this problem?
>
> Regards,
> Stephan
>
> "Stephan Hennekens" <stephan.hennekens@wur.nl> wrote in message
> news:[email=45c7bc5f@news.xailer.com...]45c7bc5f@news.xailer.com...[/email]
>> Dear all,
>>
>> I have tested the latest Xailer and focussed on the ActiveX support. I
>> was
>> happy to find out that I was able to use one of my favorite components
>> MapObjects from ESRI without any problem!!. The way ActiveX is
>> implemented
>> in Xailer is very elegant (comparible with MS Visual Studio and even more
>> intuitive that handled in Delphi). Within half an hour I had build a
>> MapViewer with zooming capabilities. And the application is solid rock.
>> No
>> GPF's!!
>>
>> I have also other xHarbour related products, but was unable to get a
>> stable
>> of or even running application.
>>
>> The test project is included and if you want to play with the sample you
>> will need to dowload and install a trial version of MapObjects Lite
>> (http://www.esri.com/software/mapobjectslt/download.html).
>>
>> I have a question though. On the main form, on two panels, I have also
>> placed two other components. One is a scalebar at the bottom, and one is
>> legend tool on the left. When the main form is initialized these two
>> componets are created, but they they not really become visible. Does
>> anybody
>> have a clue in what direction I need to find a solution. I have used
>> these
>> components succesfully in other programs (using a VB-alike IDE), but then
>> it
>> was simply dragging them from a component tool bar on to the form. Maybe
>> it
>> has something to do with early or late binding of the controls.
>>
>> Best wishes,
>> Stephan
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
OCX implementation is outstanding
Stephan,
sorry for the delay
> Jose, could you please review? This is certainly a low level problem.
> You can download the xailer project from here:
> http://www.synbiosys.alterra.nl/download/mapviewer.zip
> The sample uses the MapObjectsLT2 components you have installed a few
> weeks ago.
> In this sample I have excluded the Legend and Scalebar control, so the
> problem seems fully at the account of the Map object.
I'm reviewing it and trying to fix it. I'll send you a patch ASAP.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
sorry for the delay
> Jose, could you please review? This is certainly a low level problem.
> You can download the xailer project from here:
> http://www.synbiosys.alterra.nl/download/mapviewer.zip
> The sample uses the MapObjectsLT2 components you have installed a few
> weeks ago.
> In this sample I have excluded the Legend and Scalebar control, so the
> problem seems fully at the account of the Map object.
I'm reviewing it and trying to fix it. I'll send you a patch ASAP.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
I am looking forward Jose.
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ebe39b$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
> sorry for the delay
>
>> Jose, could you please review? This is certainly a low level problem.
>> You can download the xailer project from here:
>> http://www.synbiosys.alterra.nl/download/mapviewer.zip
>> The sample uses the MapObjectsLT2 components you have installed a few
>> weeks ago.
>> In this sample I have excluded the Legend and Scalebar control, so the
>> problem seems fully at the account of the Map object.
>
> I'm reviewing it and trying to fix it. I'll send you a patch ASAP.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ebe39b$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
> sorry for the delay
>
>> Jose, could you please review? This is certainly a low level problem.
>> You can download the xailer project from here:
>> http://www.synbiosys.alterra.nl/download/mapviewer.zip
>> The sample uses the MapObjectsLT2 components you have installed a few
>> weeks ago.
>> In this sample I have excluded the Legend and Scalebar control, so the
>> problem seems fully at the account of the Map object.
>
> I'm reviewing it and trying to fix it. I'll send you a patch ASAP.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Dear Jose,
is there any progress concerning the GPF?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ebe39b$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
> sorry for the delay
>
>> Jose, could you please review? This is certainly a low level problem.
>> You can download the xailer project from here:
>> http://www.synbiosys.alterra.nl/download/mapviewer.zip
>> The sample uses the MapObjectsLT2 components you have installed a few
>> weeks ago.
>> In this sample I have excluded the Legend and Scalebar control, so the
>> problem seems fully at the account of the Map object.
>
> I'm reviewing it and trying to fix it. I'll send you a patch ASAP.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
is there any progress concerning the GPF?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ebe39b$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
> sorry for the delay
>
>> Jose, could you please review? This is certainly a low level problem.
>> You can download the xailer project from here:
>> http://www.synbiosys.alterra.nl/download/mapviewer.zip
>> The sample uses the MapObjectsLT2 components you have installed a few
>> weeks ago.
>> In this sample I have excluded the Legend and Scalebar control, so the
>> problem seems fully at the account of the Map object.
>
> I'm reviewing it and trying to fix it. I'll send you a patch ASAP.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
OCX implementation is outstanding
Stephan,
> is there any progress concerning the GPF?
I found where the GPF ocurrs, but I've not been able to avoid it. The GPF
ocurrs inside DAO350.DLL just *after* the program terminates. Here is an
extract of an external debugger dump:
00000000 - in C:xSailUsermapviewerMapViever.exe
Thread Ended : 3500
Thread Ended : 3460
Thread Ended : 3520
Thread Ended : 3624
Thread Ended : 3620
Exception C0000005 ACCESS_VIOLATION at 04489F05
---- Exception stack trace ----
04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
SharedDAODAO350.DLL
Exception C0000005 ACCESS_VIOLATION at 04489F05
---- Exception stack trace ----
04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
SharedDAODAO350.DLL
Process Ended : 5
Please, note that every thread is finished before the GPF arises, so it
makes more difficult to fix. I don't know why, but I suspect that there is
something in that component that is not correctly released.
Well, I still continue researching.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> is there any progress concerning the GPF?
I found where the GPF ocurrs, but I've not been able to avoid it. The GPF
ocurrs inside DAO350.DLL just *after* the program terminates. Here is an
extract of an external debugger dump:
00000000 - in C:xSailUsermapviewerMapViever.exe
Thread Ended : 3500
Thread Ended : 3460
Thread Ended : 3520
Thread Ended : 3624
Thread Ended : 3620
Exception C0000005 ACCESS_VIOLATION at 04489F05
---- Exception stack trace ----
04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
SharedDAODAO350.DLL
Exception C0000005 ACCESS_VIOLATION at 04489F05
---- Exception stack trace ----
04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
SharedDAODAO350.DLL
Process Ended : 5
Please, note that every thread is finished before the GPF arises, so it
makes more difficult to fix. I don't know why, but I suspect that there is
something in that component that is not correctly released.
Well, I still continue researching.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Thanks for explaining Jose,
remarkable though that applications I wrote with Delhi and UltimAde (VB
alike COM based tool with Clipper syntax) don't have this problem.
I'll see if these application also use DAO.
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed54c0$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> is there any progress concerning the GPF?
>
> I found where the GPF ocurrs, but I've not been able to avoid it. The GPF
> ocurrs inside DAO350.DLL just *after* the program terminates. Here is an
> extract of an external debugger dump:
>
> 00000000 - in C:xSailUsermapviewerMapViever.exe
> Thread Ended : 3500
> Thread Ended : 3460
> Thread Ended : 3520
> Thread Ended : 3624
> Thread Ended : 3620
> Exception C0000005 ACCESS_VIOLATION at 04489F05
> ---- Exception stack trace ----
> 04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
> SharedDAODAO350.DLL
> Exception C0000005 ACCESS_VIOLATION at 04489F05
> ---- Exception stack trace ----
> 04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
> SharedDAODAO350.DLL
> Process Ended : 5
>
>
> Please, note that every thread is finished before the GPF arises, so it
> makes more difficult to fix. I don't know why, but I suspect that there is
> something in that component that is not correctly released.
>
> Well, I still continue researching.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
remarkable though that applications I wrote with Delhi and UltimAde (VB
alike COM based tool with Clipper syntax) don't have this problem.
I'll see if these application also use DAO.
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed54c0$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> is there any progress concerning the GPF?
>
> I found where the GPF ocurrs, but I've not been able to avoid it. The GPF
> ocurrs inside DAO350.DLL just *after* the program terminates. Here is an
> extract of an external debugger dump:
>
> 00000000 - in C:xSailUsermapviewerMapViever.exe
> Thread Ended : 3500
> Thread Ended : 3460
> Thread Ended : 3520
> Thread Ended : 3624
> Thread Ended : 3620
> Exception C0000005 ACCESS_VIOLATION at 04489F05
> ---- Exception stack trace ----
> 04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
> SharedDAODAO350.DLL
> Exception C0000005 ACCESS_VIOLATION at 04489F05
> ---- Exception stack trace ----
> 04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
> SharedDAODAO350.DLL
> Process Ended : 5
>
>
> Please, note that every thread is finished before the GPF arises, so it
> makes more difficult to fix. I don't know why, but I suspect that there is
> something in that component that is not correctly released.
>
> Well, I still continue researching.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Jose,
You are right. When I unregister DAO350.DLL there is MapViewer exists
without a problem. A pity, MapViewer does not use all functions of
MapObjects so that DAO350.DLL doesn't need to be loaded. How can test with
DLL/OCX calls DAO350.DLL?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed54c0$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> is there any progress concerning the GPF?
>
> I found where the GPF ocurrs, but I've not been able to avoid it. The GPF
> ocurrs inside DAO350.DLL just *after* the program terminates. Here is an
> extract of an external debugger dump:
>
> 00000000 - in C:xSailUsermapviewerMapViever.exe
> Thread Ended : 3500
> Thread Ended : 3460
> Thread Ended : 3520
> Thread Ended : 3624
> Thread Ended : 3620
> Exception C0000005 ACCESS_VIOLATION at 04489F05
> ---- Exception stack trace ----
> 04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
> SharedDAODAO350.DLL
> Exception C0000005 ACCESS_VIOLATION at 04489F05
> ---- Exception stack trace ----
> 04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
> SharedDAODAO350.DLL
> Process Ended : 5
>
>
> Please, note that every thread is finished before the GPF arises, so it
> makes more difficult to fix. I don't know why, but I suspect that there is
> something in that component that is not correctly released.
>
> Well, I still continue researching.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
You are right. When I unregister DAO350.DLL there is MapViewer exists
without a problem. A pity, MapViewer does not use all functions of
MapObjects so that DAO350.DLL doesn't need to be loaded. How can test with
DLL/OCX calls DAO350.DLL?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed54c0$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> is there any progress concerning the GPF?
>
> I found where the GPF ocurrs, but I've not been able to avoid it. The GPF
> ocurrs inside DAO350.DLL just *after* the program terminates. Here is an
> extract of an external debugger dump:
>
> 00000000 - in C:xSailUsermapviewerMapViever.exe
> Thread Ended : 3500
> Thread Ended : 3460
> Thread Ended : 3520
> Thread Ended : 3624
> Thread Ended : 3620
> Exception C0000005 ACCESS_VIOLATION at 04489F05
> ---- Exception stack trace ----
> 04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
> SharedDAODAO350.DLL
> Exception C0000005 ACCESS_VIOLATION at 04489F05
> ---- Exception stack trace ----
> 04489F05 - in C:Archivos de programaArchivos comunesMicrosoft
> SharedDAODAO350.DLL
> Process Ended : 5
>
>
> Please, note that every thread is finished before the GPF arises, so it
> makes more difficult to fix. I don't know why, but I suspect that there is
> something in that component that is not correctly released.
>
> Well, I still continue researching.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
OCX implementation is outstanding
Stephan,
> You are right. When I unregister DAO350.DLL there is MapViewer exists
> without a problem. A pity, MapViewer does not use all functions of
> MapObjects so that DAO350.DLL doesn't need to be loaded. How can test with
> DLL/OCX calls DAO350.DLL?
It seems that the component loads DAO internally if it's available. I don't
know what it needs from DAO, nor how to avoid it yet. Of course, I assume
that unregister DAO to run MapViewer is not aceptable to your users, so I'll
continue searching a fix.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> You are right. When I unregister DAO350.DLL there is MapViewer exists
> without a problem. A pity, MapViewer does not use all functions of
> MapObjects so that DAO350.DLL doesn't need to be loaded. How can test with
> DLL/OCX calls DAO350.DLL?
It seems that the component loads DAO internally if it's available. I don't
know what it needs from DAO, nor how to avoid it yet. Of course, I assume
that unregister DAO to run MapViewer is not aceptable to your users, so I'll
continue searching a fix.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
No this is indeed no option.
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed634a$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> You are right. When I unregister DAO350.DLL there is MapViewer exists
>> without a problem. A pity, MapViewer does not use all functions of
>> MapObjects so that DAO350.DLL doesn't need to be loaded. How can test
>> with DLL/OCX calls DAO350.DLL?
>
> It seems that the component loads DAO internally if it's available. I
> don't know what it needs from DAO, nor how to avoid it yet. Of course, I
> assume that unregister DAO to run MapViewer is not aceptable to your
> users, so I'll continue searching a fix.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed634a$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> You are right. When I unregister DAO350.DLL there is MapViewer exists
>> without a problem. A pity, MapViewer does not use all functions of
>> MapObjects so that DAO350.DLL doesn't need to be loaded. How can test
>> with DLL/OCX calls DAO350.DLL?
>
> It seems that the component loads DAO internally if it's available. I
> don't know what it needs from DAO, nor how to avoid it yet. Of course, I
> assume that unregister DAO to run MapViewer is not aceptable to your
> users, so I'll continue searching a fix.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Interesting though why the problem does NOT occur when running the appl.
from the IDE!
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed634a$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> You are right. When I unregister DAO350.DLL there is MapViewer exists
>> without a problem. A pity, MapViewer does not use all functions of
>> MapObjects so that DAO350.DLL doesn't need to be loaded. How can test
>> with DLL/OCX calls DAO350.DLL?
>
> It seems that the component loads DAO internally if it's available. I
> don't know what it needs from DAO, nor how to avoid it yet. Of course, I
> assume that unregister DAO to run MapViewer is not aceptable to your
> users, so I'll continue searching a fix.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
from the IDE!
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed634a$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> You are right. When I unregister DAO350.DLL there is MapViewer exists
>> without a problem. A pity, MapViewer does not use all functions of
>> MapObjects so that DAO350.DLL doesn't need to be loaded. How can test
>> with DLL/OCX calls DAO350.DLL?
>
> It seems that the component loads DAO internally if it's available. I
> don't know what it needs from DAO, nor how to avoid it yet. Of course, I
> assume that unregister DAO to run MapViewer is not aceptable to your
> users, so I'll continue searching a fix.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
OCX implementation is outstanding
Stephan,
> Interesting though why the problem does NOT occur when running the appl.
> from the IDE!
That's because the IDE runs the app in 'debugging' mode, and receives all
exceptions, including GPFs. But, GPF exceptions are silenty ignored by the
IDE as the app itself should show the error. Unfortunately, the app doesn't
show any error because it's terminated at that time.
BTW, memproof, that is an process and debugging tool, hides also the GPF.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> Interesting though why the problem does NOT occur when running the appl.
> from the IDE!
That's because the IDE runs the app in 'debugging' mode, and receives all
exceptions, including GPFs. But, GPF exceptions are silenty ignored by the
IDE as the app itself should show the error. Unfortunately, the app doesn't
show any error because it's terminated at that time.
BTW, memproof, that is an process and debugging tool, hides also the GPF.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Jose,
with version 1.3 the GPF problem still exists. I wonder if you can tell me
if you see some light it the tunnel.
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed680a$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> Interesting though why the problem does NOT occur when running the appl.
>> from the IDE!
>
> That's because the IDE runs the app in 'debugging' mode, and receives all
> exceptions, including GPFs. But, GPF exceptions are silenty ignored by the
> IDE as the app itself should show the error. Unfortunately, the app
> doesn't show any error because it's terminated at that time.
>
> BTW, memproof, that is an process and debugging tool, hides also the GPF.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
with version 1.3 the GPF problem still exists. I wonder if you can tell me
if you see some light it the tunnel.
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45ed680a$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> Interesting though why the problem does NOT occur when running the appl.
>> from the IDE!
>
> That's because the IDE runs the app in 'debugging' mode, and receives all
> exceptions, including GPFs. But, GPF exceptions are silenty ignored by the
> IDE as the app itself should show the error. Unfortunately, the app
> doesn't show any error because it's terminated at that time.
>
> BTW, memproof, that is an process and debugging tool, hides also the GPF.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
OCX implementation is outstanding
Stephan,
> with version 1.3 the GPF problem still exists.
Yes, sorry. I'm still trying to fix the problem.
> I wonder if you can tell me if you see some light it the tunnel.
Well, I have another idea that I have to check. I'll try to check it in a
couple of days.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> with version 1.3 the GPF problem still exists.
Yes, sorry. I'm still trying to fix the problem.
> I wonder if you can tell me if you see some light it the tunnel.
Well, I have another idea that I have to check. I'll try to check it in a
couple of days.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Jose,
for now I have a dirty trick that probably will not work in all cases. At
startup DAO350.DLL is renamed to DAO350__.DLL and when closing the main form
the reverse action takes place. No good practice, but it clearly shows this
DLL is causing the pain. Still I don't know why this DLL is loaded; it;s not
needed at all.
Is there a way to get the handle to DLL in memory and then kill it?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45f1d7ae$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> with version 1.3 the GPF problem still exists.
>
> Yes, sorry. I'm still trying to fix the problem.
>
>
>> I wonder if you can tell me if you see some light it the tunnel.
>
> Well, I have another idea that I have to check. I'll try to check it in a
> couple of days.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
for now I have a dirty trick that probably will not work in all cases. At
startup DAO350.DLL is renamed to DAO350__.DLL and when closing the main form
the reverse action takes place. No good practice, but it clearly shows this
DLL is causing the pain. Still I don't know why this DLL is loaded; it;s not
needed at all.
Is there a way to get the handle to DLL in memory and then kill it?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:45f1d7ae$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Stephan,
>
>> with version 1.3 the GPF problem still exists.
>
> Yes, sorry. I'm still trying to fix the problem.
>
>
>> I wonder if you can tell me if you see some light it the tunnel.
>
> Well, I have another idea that I have to check. I'll try to check it in a
> couple of days.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
OCX implementation is outstanding
Stephan,
I've found it!
I don't know why, but OLE libraries are not released before program exits,
and this is the cause of the problem. Please, add a simple call to
CoUninitialize() just before finish, for example, at main form's OnDestroyed
event:
METHOD FormDestroyed( oSender ) CLASS TMainForm
CoUninitialize()
RETURN Nil
Also, 'wrap' that function as:
#pragma BEGINDUMP
#include "windows.h"
#include "xailer.h"
XA_FUNC( COUNINITIALIZE )
{
CoUninitialize();
}
#pragma ENDDUMP
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
I've found it!
I don't know why, but OLE libraries are not released before program exits,
and this is the cause of the problem. Please, add a simple call to
CoUninitialize() just before finish, for example, at main form's OnDestroyed
event:
METHOD FormDestroyed( oSender ) CLASS TMainForm
CoUninitialize()
RETURN Nil
Also, 'wrap' that function as:
#pragma BEGINDUMP
#include "windows.h"
#include "xailer.h"
XA_FUNC( COUNINITIALIZE )
{
CoUninitialize();
}
#pragma ENDDUMP
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Jose,
GREAT! This does the job!
Thanks so much for fixing this problem.
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=45f474fe@news.xailer.com...]45f474fe@news.xailer.com...[/email]
> Stephan,
>
> I've found it!
>
> I don't know why, but OLE libraries are not released before program exits,
> and this is the cause of the problem. Please, add a simple call to
> CoUninitialize() just before finish, for example, at main form's
> OnDestroyed event:
>
> METHOD FormDestroyed( oSender ) CLASS TMainForm
>
> CoUninitialize()
>
> RETURN Nil
>
>
> Also, 'wrap' that function as:
>
> #pragma BEGINDUMP
>
> #include "windows.h"
> #include "xailer.h"
>
> XA_FUNC( COUNINITIALIZE )
> {
> CoUninitialize();
> }
>
> #pragma ENDDUMP
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
GREAT! This does the job!
Thanks so much for fixing this problem.
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=45f474fe@news.xailer.com...]45f474fe@news.xailer.com...[/email]
> Stephan,
>
> I've found it!
>
> I don't know why, but OLE libraries are not released before program exits,
> and this is the cause of the problem. Please, add a simple call to
> CoUninitialize() just before finish, for example, at main form's
> OnDestroyed event:
>
> METHOD FormDestroyed( oSender ) CLASS TMainForm
>
> CoUninitialize()
>
> RETURN Nil
>
>
> Also, 'wrap' that function as:
>
> #pragma BEGINDUMP
>
> #include "windows.h"
> #include "xailer.h"
>
> XA_FUNC( COUNINITIALIZE )
> {
> CoUninitialize();
> }
>
> #pragma ENDDUMP
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
OCX implementation is outstanding
Jose,
when I examine all the files that are loaded with Process Explorer from
SysInternals I can see that MapObjectsLT2.ocx is loaded twice! Is this
normal?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=45f474fe@news.xailer.com...]45f474fe@news.xailer.com...[/email]
> Stephan,
>
> I've found it!
>
> I don't know why, but OLE libraries are not released before program exits,
> and this is the cause of the problem. Please, add a simple call to
> CoUninitialize() just before finish, for example, at main form's
> OnDestroyed event:
>
> METHOD FormDestroyed( oSender ) CLASS TMainForm
>
> CoUninitialize()
>
> RETURN Nil
>
>
> Also, 'wrap' that function as:
>
> #pragma BEGINDUMP
>
> #include "windows.h"
> #include "xailer.h"
>
> XA_FUNC( COUNINITIALIZE )
> {
> CoUninitialize();
> }
>
> #pragma ENDDUMP
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
when I examine all the files that are loaded with Process Explorer from
SysInternals I can see that MapObjectsLT2.ocx is loaded twice! Is this
normal?
Regards,
Stephan
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=45f474fe@news.xailer.com...]45f474fe@news.xailer.com...[/email]
> Stephan,
>
> I've found it!
>
> I don't know why, but OLE libraries are not released before program exits,
> and this is the cause of the problem. Please, add a simple call to
> CoUninitialize() just before finish, for example, at main form's
> OnDestroyed event:
>
> METHOD FormDestroyed( oSender ) CLASS TMainForm
>
> CoUninitialize()
>
> RETURN Nil
>
>
> Also, 'wrap' that function as:
>
> #pragma BEGINDUMP
>
> #include "windows.h"
> #include "xailer.h"
>
> XA_FUNC( COUNINITIALIZE )
> {
> CoUninitialize();
> }
>
> #pragma ENDDUMP
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>