LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application with a vi calling a function from kernel32.dll

I have a Labview application which runs very well.
I had add a vi using the functio GetSystemTime from the dll kernel32.dll. The vi calling the API function runs well. Then I tried to buil the application and it does'nt run anymore . A dialog box is opened : "access to a forbidden space memory. I don't understand.
Does anyone have an idea?
Thank you for your response.
0 Kudos
Message 1 of 2
(2,537 Views)
I have made at test with this function but it runs on my system.

I have used LV 6.0.2 to LV 7.0 on a Win XP Prof. You can compare your solution with mine.

The VI will run once when the application is called. You will see current time.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 2
(2,537 Views)