| || |
Loadrunner - importing c libraries
I am trying to write a little c script in loadrunner to scan a windows directory and get a count of the files.
My programming skills leave a lot to be desired so I got a few snippets of code from the internet. Unfortunately whatever code I use needs some c libraries included (windows.h, stdarg.h, etc). I've downloaded them from a few sites, mainly koders, but then when I go to run the script I get loads of errors in these files.
Does anyone know of any sites where I can download these libraries that will work with Loadrunner with minimal fuss.
Re: Loadrunner - importing c libraries
[ QUOTE ]
...Does anyone know of any sites where I can download these libraries that will work with Loadrunner with minimal fuss.
[/ QUOTE ]
It is unlikely that any will require minimal fuss.
Often times to get stuff to work better with LR you have to manually supply the function prototype. (strstr)
If you can get source code you can stick it in vuser_init and get the system to compile it for you. This is not really feasible if you many, many functions out of a library.
Compiled libraries can be loaded but you're going to have to figure out everything the system is confused about.