Hi all!
i have one doubt about void pointers in c with perl ,i have to pass the address to the c function from perl,in c file void argument is there from this it is giving error,runtime error checking
example :
in c file:
abc(void *xxx)
{
some stuff
}
in perl i am passing like this but its not working:
x::abc(\$a);
this one interface with swig
User Profile
Collapse
-
acessing void pointer in a C file in perl.
-
i have some test suitesin C that are to be tested. The functions in C need some structures to be accessed from a header file. Then how should i include .
I have to include every structure in the typemap file in lib/ExtUtils/. Is it a must?
I tried even by placing the structure in typemap and use to use in my raw perl file.But it gave some error in the .c file in my module which is automatically generated while compiling Makefile.PL.... -
but what i need is regarding the automated test ing in Perl. It is the Perl funtion which is inbuilt. you can find in "man perldoc Test::More" (i.e, manual pages of Perl).
It would be great if you can give some information.
Thank you.Leave a comment:
-
Please help in creating .t file and perform tests for C code.
Hai!
I am new to this field. I have to prepare a script for various test cases in C .In some web sites i found that to test more modules go for .t file. what is this ".t" file and what is the inputs and where to place them.
Thanks in advance.
Rama. -
how to use this require_ok($file);
Hai!
In Perl manual i found :
require_ok($fil e);
but what is this file( what file & is any extension needed). i got require_ok($mod ule);
Please give some examples. -
Is it possible to display multiple checkboxes as a list or a list with checkboxes
I have a doubt?
Is it possible to display multiple checkboxes as a list or a list with checkboxes for multiple selection.Leave a comment:
-
ramapv started a topic I am a newbie to mysql.plz help!.How to order the records in a table such that.......in MySQLI am a newbie to mysql.plz help!.How to order the records in a table such that.......
How to order the records in a table such that the elements in a field strating with a particular alphabet apper first.
ie.,the elements in the field names are as follows:
amar
Bob
joy
mana
sana
xena
I want it as: If 'm' is my input then 'mana' must apper first but all the records must also appear.
something like this:
mana
sana
xena... -
ramapv started a topic Is it possible to display multiple checkboxes as a list or a list with checkboxesin JavascriptIs it possible to display multiple checkboxes as a list or a list with checkboxes
can i highlight a checkbox from a group of checkbox with particular name which is given as a search key.
I am having a list of checkboxes and i have to select some of them and form a group.but i'm having a huge list of names , so i want to keep a function so that i can go to (scroll) the name which starts with a particular alphabet & i can check it for selecting components to form a group. both are in different frames.
... -
problem with R/W operations for File in java.i'm using in jsp.
Hi to all!!!!!
Please help Me!!
I am having a web page which consists of three inter related windows(iframes ).
1)For typing the msg to be send.(iframe1)
2)To display that msg along with the previously sent messages(append ).These must be appered as hyperlinks.(ifr ame2)
3)Onclicking a hyper link you must get that message (hyperlink) or even that msg as first msg.i.e, similar to hyper links with in... -
ramapv started a topic browser say "this page can be viewed only with appropriate plugins" what does it meanin Javabrowser say "this page can be viewed only with appropriate plugins" what does it mean
I am using mozilla.when i am running a jsp file using plugins i am getting the above message.What shall i do inorder to see the plugins.
Please tell me what ever the softwares i need to install for it.thank you. -
ramapv replied to I am in a horrowble situation. Plz help me!!!!(Socket connection) near to deadline.in JavaIt is working but i could not recieve values at c-program every time i reload it.And even i need to change the ports when i reload it.Leave a comment:
-
ramapv started a topic I am in a horrowble situation. Plz help me!!!!(Socket connection) near to deadline.in JavaI am in a horrowble situation. Plz help me!!!!(Socket connection) near to deadline.
Hi !
I am working on linux platform.
I have some problem with sockets.I want to communicate with a C machine through sockets.
I find few problems in it.
The way i am creating socket in my jsp file is:
<%!
ServerSocket MyServer;
Socket Mysocket;
File file = new File("/home/sait9/rama/TomcatJSPExampl e/web/file1.txt");
//getting data from file... -
But based on the status of checkbox i have to update the frame2 contents which are checked values.Leave a comment:
-
Sorry, i cant get you!!!!
I mean that i have to check the status of checkboxes which are in first form (without submiting it) and based on the status i want to display the checked names in second frame.Leave a comment:
-
Can we check the status of a checkbox without submiting the form.....
I need to check the status of the checkboxes in one form and display the checked values in another form.
How can i? -
ramapv started a topic How can i add value to a textarea or any other elemeet in another frame on some eventin JavaHow can i add value to a textarea or any other elemeet in another frame on some event
we have two frames in which one has elements already existand other are the elements selected from these.
so we mentioned the existing elements as hyper links and added there value on double click to another frame as a selected element.using
<a style="text-decoration:none " href="#" onDblClick="top .select.documen t.writeln('<%=c .getString(1)%> <br>');">
but... -
how to send the values to textarea or any input type with "id&quo t; in other frame
we have two frames in which one has elements already existand other are the elements selected from these.
so we mentioned the existing elements as hyper links and added there value on double click to another frame as a selected element.using
<a style="text-decoration:none " href="#" onDblClick="top .select.documen t.writeln('<%=c .getString(1)%> <br>');">...Leave a comment:
-
ramapv started a topic how to send the values to textarea or any input type with "id" in other framein Javascripthow to send the values to textarea or any input type with "id" in other frame
how can i get a functionality of drag and drop of text from one frame to other frame
or even on double click as that of selecting files in a nero burner before we burn a CD. -
but i want for text but not for images or using div elements. could u help meLeave a comment:
-
Problem to execute this sql statment in a jsp file
PreparedStateme nt st=con.prepareS tatement("Selec t cid from comp1 where cid like cid");
Here cid is of the form "a%", to display all values starting with "a";
No activity results to display
Show More
Leave a comment: