Quantcast
Viewing all articles
Browse latest Browse all 2341

New Post: Using OCX with C++ Builder

I've imported the ocx (v4.9) into CBuilder and all seems to be working apart from certain functions which appear to be hidden.

When I try to use set_LayerVisible it fails to compile.

[bcc32 Error] MainForm.cpp(264): E2247 '_fastcall TMap::set_LayerVisible(long,short)' is not accessible

I have used the ocx before with CBuilder with some success, but not being able to turn layers on and off again is a killer. I don't want to have to remove layers and then add them again when I want them to be visible.

Anybody got any ideas?

Thanks
BB

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>