<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Leena<br>
<br>
<br>
thanks for your efforts..<br>
<br>
the below line can be commented in the code<br>
<br>
" strcat("FDKCheckScreenName", getValFromConfig("screennumber"))",
gives following error<br>
<br>
the expected result is that it should open a window from a thread.<br>
<br>
<br>
<br>
<br>
<br>
On 3/9/2012 11:14 AM, Leena Chourey wrote:
<blockquote
cite="mid:CAD-S5bOp4t4=8VGmG6q-20bzkkBKgqAr+EqmM_HYv88mso8=Bg@mail.gmail.com"
type="cite">Hello,<br>
<br>
The code in file Not_working_code.c , after compile the line<br>
" strcat("FDKCheckScreenName", getValFromConfig("screennumber"))",
gives following error<br>
-------------------------------------------------------------------------<br>
Not_working_code.c: In function ‘dispInit’:<br>
Not_working_code.c:21: warning: incompatible implicit declaration
of built-in function ‘strcat’<br>
Not_working_code.c:21: error: ‘FDKCheckScreenName’ undeclared
(first use in this function)<br>
Not_working_code.c:21: error: (Each undeclared identifier is
reported only once<br>
Not_working_code.c:21: error: for each function it appears in.)<br>
Not_working_code.c:21: warning: passing argument 2 of ‘strcat’
makes pointer from integer without a cast<br>
Not_working_code.c:21: note: expected ‘const char *’ but argument
is of type ‘int’<br>
----------------------------------------------------------<br>
<br>
After blocking that line compiled successfully with command "gcc
Not_working_code.c `pkg-config --cflags gtk+-2.0` `pkg-config
--libs gtk+-2.0`" Successfully compiled and after running gives
following msg:<br>
<br>
"Initializing the display library"<br>
<br>
Is this your expected output? I did not get any response of
thread. As expected it shd open a window. Pls confirm<br>
<br>
<br>
regards<br>
Leena<br>
<br>
<div class="gmail_quote">
On Thu, Mar 8, 2012 at 3:30 PM, venkat <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:venkat.s@vortexindia.co.in">venkat.s@vortexindia.co.in</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Now we are facing a peculiar problem while trying to build our
application with GTK.<br>
<br>
When we try to build application with threads we see that its
objects are not accessible.<br>
But, the same code when we try without threads we see that we
are able to access the objects<br>
<br>
also attached the sample codes for the same<br>
<br>
Hope you can bring us some light in solving<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gnome-accessibility-list mailing list<br>
<a moz-do-not-send="true"
href="mailto:gnome-accessibility-list@gnome.org">gnome-accessibility-list@gnome.org</a><br>
<a moz-do-not-send="true"
href="http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list"
target="_blank">http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list</a><br>
<br>
</blockquote>
</div>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Regards
Venkat.S</pre>
</body>
</html>