N.T. Posted Tuesday at 11:31 AM Report Posted Tuesday at 11:31 AM Hi Volks, i have a problem which arose when I switched within my code from single references to a map containing a key (string) and a value (reference). The reference is pointing to an ActiveX object. Is there any known issue with maps and references? If the code is running earliest the second time but sometimes after a few runs (8 was my max) LV IDE has a hard crash without any error message. I got the feeling that the reference within the map is somehow messed up and the activex call is overwriting program memory. My first tries were hard crashes, another attempt showed at least something like "MEMORY_WORKER.cpp" in an error message (just appeared once). I tried searching the changelog but couldn't find anything. Is there a known issue in LV21? Thank you! Quote
N.T. Posted Tuesday at 02:29 PM Author Report Posted Tuesday at 02:29 PM Ok, I got it after a whole day of debugging (and crashing): I had a race condition with closing two other important references and if the first one was closed prior to the second one, lv had a hard crash. Which is unfortunate but it means my map construction is working fine. Seems like i made this important chance without noticing it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.