Posted: Mon Jun 17, 2002 4:42 pm
				
				Restored from previous forum. Originally posted by DemonHell.
Hi
I got a little problem with a winamp plugin I`m trying to write.
I got the vis SDK from the winamp site, and basically rewrote it in PB.
Only problem is, the Render routine is only called 61 times then it crashes with an Invalid Page Fault in Kernel32.dll.
I cut the plugin down to the bare bones.. just an empty Render routine that counts how many times it`s been called,(plus the empty Init() etc. needed for the routine),still the same.
Anyone successfully got a working skeleton plugin to work?
BTW.. A handy hint for other wishing to try plugins..compile as a DLL, then load the compiled dll into a hexeditor, then find the string "_winampVisGetHeader" and replace it as "winampVisGetHeader" and fill the remaining "r" with a null, cos PB always bungs an underscore infront of DLL function names..tut tut.
			Hi
I got a little problem with a winamp plugin I`m trying to write.
I got the vis SDK from the winamp site, and basically rewrote it in PB.
Only problem is, the Render routine is only called 61 times then it crashes with an Invalid Page Fault in Kernel32.dll.
I cut the plugin down to the bare bones.. just an empty Render routine that counts how many times it`s been called,(plus the empty Init() etc. needed for the routine),still the same.
Anyone successfully got a working skeleton plugin to work?
BTW.. A handy hint for other wishing to try plugins..compile as a DLL, then load the compiled dll into a hexeditor, then find the string "_winampVisGetHeader" and replace it as "winampVisGetHeader" and fill the remaining "r" with a null, cos PB always bungs an underscore infront of DLL function names..tut tut.