[MSEide-MSEgui-talk] Compile Error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[MSEide-MSEgui-talk] Compile Error

mohamed hamza

Hi Martin,


  There is an error when I compile this line:


tsimplewidget2.tag:=integer(tdbstringedit1.datalink.datasource.dataset);

Error: Illegal type conversion: "TDataSet" to "LongInt"


this error appears only in mseide-ide  x86_64  not   in x86_32  ?


How it is possible?


Best Regards.


Med




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mse
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] Compile Error

mse
Administrator
On Thursday 05 April 2018 16:08:07 mohamed hamza wrote:

>
>
> tsimplewidget2.tag:=integer(tdbstringedit1.datalink.datasource.dataset);
>
> Error: Illegal type conversion: "TDataSet" to "LongInt"
>
>
> this error appears only in mseide-ide  x86_64  not   in x86_32  ?
>
>
> How it is possible?
>
Pointer is 64 bit on x86_64. Please use "tagpo" instead.
"
 tsimplewidget2.tagpo:= tdbstringedit1.datalink.datasource.dataset;
"

PS: Please register on
https://sourceforge.net/projects/mseide-msegui/lists/mseide-msegui-talk

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk