Daemon Newbie
Joined: 19 Feb 2006 Posts: 1
|
Posted: Sun Feb 19, 2006 12:59 am
Borland C Builder 6 plugin help needed |
I am trying to write a plugin for zmud and I am using Borland C Builder 6 as you have already seen in the topic title.
In the project I have included zmudapi.lib which was created using implib
The code looks like this:
//file: headerfile1.h
__declspec(dllimport) void InitAPI(unsigned); //also tried with integer type as argument
//file: dll module
#include <vcl.h>
#include <windows.h>
#include "headerfile1.h"
#pragma hdrstop
#pragma argsused
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void* lpReserved)
{
InitAPI(0);
return 1;
}
I always get the error : "Unersolved external InitAPI(unsigned int) from ...."
Can someone point me what is wrong?
Thank you.[/code] |
|