 gunthill
		
			gunthill
		
		
		
		
		
		
		
		
	
			10-15-2013 04:48 AM
Hello,
CVI2013 cannot load the LabView Runtime_engine any more?
With CVI2012 no problems.
I have tried it with an external dll generated with LabView 2012 (see my last post)
and with the same dll generated with LabView 2013.
Always the error message 998 occurs.
 
Any ideas?
Gunther
 BRennhofer
		
			BRennhofer
		
		
		
		
		
		
		
		
	
			10-16-2013 04:23 AM
Hi gunthill,
could you post a reduced example (simple). I need a LV(2012) dll, a CVI 2013 project and the description how to use it.
If I could reprouce the issue I will escalate it.
Best regards
Bernhard Rennhofer
National Instruments
10-21-2013 12:36 AM
Hi Bernhard,
thanks for your reply.
I have created a small project with the LabView DLL.
With CVI 2013 the programm won't start and shows the system error 998.
With CVI 2012 it works.
Hope you can reproduce this behaviour.
Best regards
Gunther
 BRennhofer
		
			BRennhofer
		
		
		
		
		
		
		
		
	
			10-21-2013 01:11 PM
Hi....
now I can reproduce the issue. But I have no idea why. 
If I debugged your EXE, I get a access violation inside the gdiplus.dll and because of that, I think, the lvrt.dll will not load.
I'm back in the office on Thursday, then I write it to my colleagues in US (I'm from germany).
For me it looks like a bug. 
Best regards
Bernhard 
 BRennhofer
		
			BRennhofer
		
		
		
		
		
		
		
		
	
			10-28-2013 05:58 AM
Hi....
Now maybe I have a solution.
Pleas make a additional ckeckmark in your build options. So LV add all needed header files to the DLL build. 
Now CVI should works.
10-28-2013 07:22 AM
Hello,
this option was already used in LV 2013.
To me it seems to be a still a problem of the new CVI2013 (new clang compiler with new code generation??!!) .
Again: With CVI2012 and the same DLL there are have no problems.
Please escalate this issus to NI. It's a CVI bug.
Gunther
 BRennhofer
		
			BRennhofer
		
		
		
		
		
		
		
		
	
			10-28-2013 08:13 AM
Hi gunther
I use CVI 2013, and I have no problem. So at the moment  I can't say this is realy a bug.
I attach my example for you. Please test it and give me an answere whether it works.
best regards
Bernhard
10-28-2013 09:08 AM
Hi Bernhard,
many thanks for your support.
I have tested your project and it works!!
So it seems that there is no fundamentel problem with CVI2013 and LV DLLs?!
Do you use a special version or add ons in your LV because my partner says that there is an option in your screen shot wich is not present in his LV (DSC)?
Gunther
 BRennhofer
		
			BRennhofer
		
		
		
		
		
		
		
		
	
			10-28-2013 09:36 AM
Hi Gunther,
I have the Full Development Version of LabVIEW and I have also installed the DSC module. but I don't think this is the issue of yours error. 
Because the DSC module is only for Datalogging and Supervisory Control.
Hence I see no connection between this two points.
Best Regards
Bernhard
 BRennhofer
		
			BRennhofer
		
		
		
		
		
		
		
		
	
			10-28-2013 09:43 AM
sorry.... the professional development version