NOT for Windows implements cache data from previous call.

Hi all, I am facing a very strange problem. I wrote a native extenion in C++. This extension wrapps another class C++ that performs a mathematical operation. The extension itself

Gets the vectors of std of result of that class Math and I convert them to vector AS3. < vector < Vector3D > > 2 dimension vector, and then back to Flash.

The problem is that the first call the vector returned contains the correct data.

But on the next call (just after the first) when passing a new data for the extension return another set of news given what is happening she return a vector with both old and new data.

Inside the DLL I clean everything including vectors and releasing all the pointer. Still nothing helps. It's as if the DLL keeps old data inside itself.

Any help will be greatly appreciated!

OK, first of all thanks to Adobe for their "wonderful" support Adobe - your support SUCKS forum!  Second, Adobe, you guys should do better docs development ONLY. The current PDF manul is aweful. And finally I solved my problem by myself. For the curoius.

Make sure that in the source of the C++ DLL you wrap all methods Callable Wrapper API DO with extern "C". __declspec(dllexport) is not enough.

Tags: Adobe AIR

Similar Questions

Maybe you are looking for

  • First HP: Program vs define

    I made a program to get the unit vector of a vector with the form [1 2 3], I did this with the option set and program option, the results were almost the same. To define And I wrote a program with CASE option turned on, when I use the program with th

  • Possible problem HARD drive - by clicking on the sound and the system hangs on Qosmio G30 - 116

    Hello I just got my G30-116 return of service (replacement of the screen) and after 2 days another problem. He just continues to hang out. I do not change a thing since I got it and now it just stop working on things sometimes like browsing the inter

  • Adobe Illustrator & Photoshop files appear extremely dark

    I am a graphic designer and photographer. I have Windows Vista Ultimate Edition, Version 6 (Build 6002: Service Pack 2). I use Adobe Illustrator CS4 and Photoshop CS4 to edit my photos. Thumbnails look good, but when you open a file, the picture is r

  • BlackBerry accessing a Q10 Q10

    Comes from a former employee set his moving company... She had requested a new code to be sent to its e-mail address of company - which is no longer in use. I can't access the phone, it has an icon on the screen that I understand there is an erasure

  • Question on directory SX-20

    Dear Expert In the MXP series. Can I create a contact in the local directory which can call three parties at the same time. SX - 20 can do the same thing? Thank you!