The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP / Mercury LoadRunner

Pages: 1
IntoAnother
Junior Member


Reged: 03/08/02
Posts: 1
Using C header file in LoadRunner 7.02
      #107404 - 03/08/02 09:24 AM

When including the C header file I am getting the error:
In file included from c:\script directory\vusers\time4\\combined_time4.c:3:
Actions.c:5: time.h: No such file or directory
Does anyone know of away I could fix this problem so I can include C libraries into my scripts?
Thank you in advance.

------------------

[This message has been edited by IntoAnother (edited 03-08-2002).]

Post Extras: Print Post   Remind Me!   Notify Moderator  
allogene
Member


Reged: 06/27/01
Posts: 921
Loc: Atlanta, GA
Re: Using C header file in LoadRunner 7.02
      #107405 - 03/12/02 07:03 AM

Yeah if you are working with stand C time functions you need to include the time.h file. LoadRunner does not include the standard C header files.

------------------
Simple minds, Simple thoughts!

Doug

Post Extras: Print Post   Remind Me!   Notify Moderator  
sherit
Junior Member


Reged: 12/26/01
Posts: 1
Loc: san antonio, tx USA
Re: Using C header file in LoadRunner 7.02
      #107406 - 03/12/02 11:30 AM

LoadRunner has path problems. Try putting the include file into: C:\Program Files\Mercury Interactive\LoadRunner\include
You will need to do this for all servers.

------------------


Post Extras: Print Post   Remind Me!   Notify Moderator  
ilia
Moderator


Reged: 07/11/99
Posts: 394
Loc: Sweden/Israel/US
Re: Using C header file in LoadRunner 7.02
      #107407 - 03/15/02 04:56 AM

the most of the functions from stdio.h and stdlib.h as well as some from time.h and math.h must work well in LR 7.5

In case of the previous LR versions, - you must add the prototypes for the functions.
that's all.

Good luck,
--ilia

------------------


Post Extras: Print Post   Remind Me!   Notify Moderator  
allogene
Member


Reged: 06/27/01
Posts: 921
Loc: Atlanta, GA
Re: Using C header file in LoadRunner 7.02
      #107408 - 03/15/02 07:07 AM

quote:
Originally posted by ilia:
the most of the functions from stdio.h and stdlib.h as well as some from time.h and math.h must work well in LR 7.5

In case of the previous LR versions, - you must add the prototypes for the functions.
that's all.

Good luck,
--ilia


Yeah I noticed that, It is about time too. I am surprised they never included them before. Especially since one of the selling points has been using ansi c.

------------------
Simple minds, Simple thoughts!

Doug

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 16 anonymous users are browsing this forum.

Moderator:  AJ, James Pulley, ptrussell_nc, JimHowell1970 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1863

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5