Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLLs: Invalid Procedure Call or Argument

Status
Not open for further replies.

ndalli

Programmer
Nov 6, 1999
76
MT
Hi,

I am creating an application which uses a DLL I have coded. The code of the DLL is in C:\Common Dlls while the code of the application resides in C:\Application. I created an EXE and a deployment package.

When I run the EXE on the PC I have developed the application, everything runs fine. On the other hand when I install the application on another PC I am getting the error message 'Invalid procedure call or argument'. This error also crops up when I run the application through VB on the installation PC.

During installation I have copied the DLL in the C:\WINDOWS\SYSTEM directory.

Can anyone please help on this, since I am totally stuck.

Many thanks in advance
 
Its is one of the property methods - which I have coded within the DLL
 
I think you'll have to debug your dll on the target machine, to get to know where the error occurs and more important; why it occurs....

Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top