For Programmers: Free Programming Magazines  


Home > Archive > PowerBuilder > June 2005 > Error in Accessing DLL in Development mode









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Error in Accessing DLL in Development mode
Kwan Thean Keong

2005-06-02, 4:00 am

Hi,

I wrote a .NET DLL(at21_sba.dll) which refers to a few other .NET
Assemblies DLL(SBAAPI.dll).

The I followed some instruction from Microsoft to 'register' the DLL
into my registry so it can be called using CreateOject or OleObject
method.

Then I write a PB application to call a function in at21_sba.dll.
The call works fine in EXE if i copied the refered DLL (SBAAPI.dll)
into my local folder.

However it doesnt work in Development environment. I tried all sorts of
things including Path the my local directory to even copy the
SBAAPI.dll to Windows System directory but to no success. ...

Any ideas ?

Thanks
Kwan

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com