LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 1097 after calling dll function which allocates memory inside

Solved!
Go to solution

 

Thank you for your quick answer.

 

Yes, i am sure that the Allocate function cause the problem because all other function which only making register reading or writing works well, and i also tried an another function

which uses Allocate function as well but first calls an another function which writes some registers and i can see that function succeeds and the Allocate crashes.

 

 

I think i can get the source code for that function and i can post it here.

 

Best regards,

Tamás Szabolics

0 Kudos
Message 11 of 12
(502 Views)
Solution
Accepted by topic author Tomzi

 

Problem solved.

I was a bit stupid because of some performance issues i should have add my user to Lock Pages Priviliges. That caused the error so now the LabVIEW application runs withour error.

Thank you and sorry for wasting my time.

0 Kudos
Message 12 of 12
(491 Views)