02-14-2012 03:26 AM
Hello,
The error happens when i develop the statement LoadLibrary("mydll.dll"), mydll.dll calls test.dll, which is in the error message.
I have tried to rebuild them, it can generate normal DLLs. But LoadLibrary() function remains the same error.
Could you tell me how to solve the problem? I can not debug my program now.
02-14-2012 05:51 AM
My guess is that you have an .exe file of the same name that is 'test.exe' .. because of this test.cdb is unable to be created as it conflicts with test.cdb of the dll.. You will have to change the name of your .exe to test_dbg.exe or something.
02-14-2012 07:06 AM
sinnas, thank you for your response.
I don't have such an .exe file, but I have a file named test_simulation.dll. It won't conflict with the test.dll, yes?
And i had some copies of the same project in the upper path. Do they have any real influence over my project?
02-14-2012 07:34 AM
Hi Justtin,
Another thing you can try is under the Build menu on the project, select Mark Project for Compilation. That will mark all files to be recompiled. Build the DLL again from scratch and that should update the debugging info.
Judy
02-14-2012 09:05 PM - edited 02-14-2012 09:09 PM
Hi,Judy
I tried your method, and used the "Batch Build" rebuilded all the DLLs but the errot remains.
Indeed, I doubt the necessity of the updating, because I did dothing to change the DLL source program.
Thanks a lot all the same.
02-15-2012 07:31 AM
@justtin wrote:
And i had some copies of the same project in the upper path. Do they have any real influence over my project?
They might. I think Sinnas is on to something. Can you rename the DLL to something like testJusttin.dll and try that?
Otherwise, I'm at a loss. Never used the Batch Build on anything. I always build one project at a time, so I don't know it fhat makes a difference.
Meanwhile, I'd contact NI if you have tech support and see what they can do to help you. You may have to zip your files up and send them in.
Judy