NRage, Azimer clue me in...
I seem to be having trouble getting a plugin enumerated .. now for the silly question How does PJ64 determine what plugins/DLL's are for what?
I am using
LibRef = LoadLibrary(<DLLPATH>);
if (LibRef != NULL)
{
GetTheInfo = GetProcAddress(LibRef, "GetKeys");
if (GetTheInfo != NULL)
{
GetTheInfo = GetProcAddress(LibRef, "GetDllInfo");
if (GetTheInfo != NULL)
{
GetTheInfo(&PI_NFO)
...
to grab the plugins that are Input Plugins (heh). The problem is my plugin doesn't seem to be recognized as an input plugin from PJ 64 so that's why the question.
Does it look for the same function names or with an _ proceeding them? I know that BCB prepends an _ to the local function names I'm wondering if I need to turn that off for the functions that I'm defining only to get my plugin Enumerated.
And don't ask what I'm doing.. at least not until it's close to working.. (mumble mumble).
Cyb
I seem to be having trouble getting a plugin enumerated .. now for the silly question How does PJ64 determine what plugins/DLL's are for what?
I am using
LibRef = LoadLibrary(<DLLPATH>);
if (LibRef != NULL)
{
GetTheInfo = GetProcAddress(LibRef, "GetKeys");
if (GetTheInfo != NULL)
{
GetTheInfo = GetProcAddress(LibRef, "GetDllInfo");
if (GetTheInfo != NULL)
{
GetTheInfo(&PI_NFO)
...
to grab the plugins that are Input Plugins (heh). The problem is my plugin doesn't seem to be recognized as an input plugin from PJ 64 so that's why the question.
Does it look for the same function names or with an _ proceeding them? I know that BCB prepends an _ to the local function names I'm wondering if I need to turn that off for the functions that I'm defining only to get my plugin Enumerated.
And don't ask what I'm doing.. at least not until it's close to working.. (mumble mumble).
Cyb