W_Herdes
Member
RE: One World and Visual Basic DLLs
Hi Saara,
Yes you can do that. But the problem with a VB-DLL is that it doesn't export its functions. There are some programs doing this kind of thing, they take you VB and create a small DLL with the functions you want to call: i've used the tools from Desaware (http://www.desaware.com) and it works great.
In Oneworld you need to create a C-function where you call your DLL.
E.g.:
hInst = LoadLibrary("myvb.dll");
if ( hInst != NULL )
{
lpPrintDoc = (LPPRINTDOC) GetProcAddress((HMODULE)hInst, "functioninDLL");
succes,
Walter
Hi Saara,
Yes you can do that. But the problem with a VB-DLL is that it doesn't export its functions. There are some programs doing this kind of thing, they take you VB and create a small DLL with the functions you want to call: i've used the tools from Desaware (http://www.desaware.com) and it works great.
In Oneworld you need to create a C-function where you call your DLL.
E.g.:
hInst = LoadLibrary("myvb.dll");
if ( hInst != NULL )
{
lpPrintDoc = (LPPRINTDOC) GetProcAddress((HMODULE)hInst, "functioninDLL");
succes,
Walter