Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dll issue
#1
I practice to use one external dll as attached file.
and the code as below:
Macro Macro2
Code:
Copy      Help
typelib QMPlugin "D:\Bkgnd.dll"
QMPlugin.Bkgnd a._create

and QM shows that error message:

Dynamic-link library (DLL) initialization routine failed

and the code as below:

Macro Macro2
Code:
Copy      Help
typelib QMPlugin "D:\Bkgnd.dll"
QMPlugin.Bkgnd a.GetPixelColor(0 0 0)

and QM shows that error message:
interface pointer variable is 0

This is my first time to practice to use dll function, and I don't know how to solve them...


Attached Files
.dll   Bkgnd.dll (Size: 40 KB / Downloads: 76)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)