Problem with TA_GetFeatureValue()Solved

Hi Again,

So, I finally got Visual Studio to build my app after upgrading to TurboActivate and TurboFloat 4.0. Now, I'm experiencing a hard crash bug.

When I debug, my app is crashing on the last line of the following code:

HRESULT hr; hr = TA_PDetsFromPath(TURBO_ACTIVATE_DATA);

Here is the error message:

HEAP CORRUPTION DETECTED: after Normal block (#7606) at 0x000000002E32CCE0.CRT detected that the application wrote to memory after end of heap buffer.

Again, everything is building, and some of the function calls are working fine. For example, this code which is in a function that gets called immediately when my DLL is loaded works great:

HRESULT hr_tf; HRESULT hr_ta; hr_tf = TF_PDetsFromPath(TURBO_ACTIVATE_DATA); hr_ta = TA_PDetsFromPath(TURBO_ACTIVATE_DATA); tfHandle = TF_GetHandle(TA_GUID); taHandle = TA_GetHandle(TA_GUID);

Any ideas what the issue might be? BTW, this is the first time I've included TurboFloat statically. In my previous build, TurboFloat was included dynamically.

Thanks,Arie

Can you send us a full example reproducing the bug? Send it to support@wyday.com. We'll try to find this bug based on the information you've provided, but it's a little unclear where exactly you're seeing a crash. It sounds like the longer chunk of code you posted is working fine, but when you call the single line you get a crash. Are you calling that single TA_PDetsFromPath() after you make the call to the larger chunk of code? And are you using the same path to the file?

Hey Wyatt,

Thanks for following up. It turned out to be a build configuration error, the code is building and is now working as expected. I'm still not entiely sure which setting solved it, but it's now doing its thing.

I'll start a new thread with a separate question about using the verified trials.

Thanks,Arie