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 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 href="mailto:gnome-accessibility-list@gnome.org">gnome-accessibility-list@gnome.org</a><br>
<a 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>