|
|
#3 |
|
Junior Member
Join Date: Oct 2002
Posts: 5
|
Hmmm,
I looked into the export definition and found extern "C" __declspec (dllexport) int _AVS_APE_RetrFunc(...). That makes me wondering, because you (thanks UnConeD) mentioned AVS_APE_RetrFunc(). Removing preceding "_" fixes the loading problem, so that I can see the plugin under +->Tutorials->Box v1.0 now. But when I select it, it crashes Winamp with "Runtime Error" (Visual C++ runtime library). It seems to be harder than I thought. When debugging the .ape, everything works fine until the render() function is called. The "c_thisclass->enabled" flag (Set to "1" in constructor) is always a different _random_ number when I try to activate the plugin. So that it seems to be a problem with the c_thisclass instance (probably casted as c_rbase, and so the class property doeas not exists?). Many open questions here... I hope, a c++builder guru can assist me in porting this to Borland. Thank you Andreas PS: working, but crashing c++builder project and avstut00.ape attached |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|