Problems running CopyfileA

Got a problem you cannot solve? Try here.
ken rentz
Posts: 71
Joined: Mon Jan 23, 2006 5:33 pm
Contact:

Problems running CopyfileA

Postby ken rentz » Mon May 10, 2010 6:26 pm

I seem to be having some strange problems calling the CopyFileA function from Kernel32.dll. I've called custom DLL's and even other functions in this particular windows DLL, but I've never had this difficulty before. What happens is that as soon as the call is made, I get an error dialog stating "Unable to load plug-in library. Please rebuild your project and make sure all required plug-ins are installed". I am getting this on both 32 bit Windows XP and 64 bit Windows 7. what is particularly strange is that there are many instances of copyFile being used on this board, and the syntax looks identical.

I've managed to trim the installer down to the following minimum:

Code: Select all

~InstallAware Clipboard Data~
~MessageBox~
~{C6D499D2-0249-440C-9A49-EFB516745DAF}~
~DEBUG~
~Done copying file$NEWLINE$$NEWLINE$$COPYISSUCCESS01$~
~0~
~1~
~~
~Call DLL Function~
~{74127705-4894-487E-A152-DF139C626EB0}~
~kernel32.dll,CopyFileA,bool,COPYISSUCCESS01,"pointer to string",$COMPATH$\\foo.txt,"pointer to string",$COMPATH$\\bar.txt,bool,0,$~
~~mIDEFunc.dll\\mEXEFunc.dll~ ~
~Set Variable~
~{35D50367-5365-449E-8E25-EE9422001DC7}~
~COMPATH$MYAH$MYAH$FALSE~
~c:\\temp~
~Set Variable~
~{B590E653-40C6-4B1E-B253-CF2B92E81AF1}~
~COPYISSUCCESS01$MYAH$MYAH$FALSE~
~UNSET~


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 55 guests