<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

  <channel>

  
  <title>Qt DevNet forums: C++ Gurus 1294158329**  </title>
  <link>http://qt-project.org/forums/viewforum/36/</link>
  <description>RSS feed for latest posts in C++ Gurus</description>
  <copyright>Copyright 2013 Qt Project</copyright>
  <docs>http://www.rssboard.org/rss-specification</docs>
  <generator>ExpressionEngine v2.3.1 http://expressionengine.com/</generator>
  <lastBuildDate>Tue, 04 Jan 2011 18:25:29 GMT</lastBuildDate>
  <atom:link href="http://qt-project.org/feeds/all_forums/36" rel="self" type="application/rss+xml" />
  
  
  
        <item>
            <title>Creation of .dll file using build option in Qt&#45;Creator</title>
            <link>http://qt-project.org/forums/viewreply/124756</link>
            <author>SGaist</author>
            <description><![CDATA[Hi,

	Have a look at this wiki [qt&#45;project.org]

	It should get you started.

	Hope it helps]]></description>
            <guid isPermaLink="false">1cbdee339094ad487d5459ec35c76772</guid>
            <pubDate>Thu, 09 May 2013 23:15:51 GMT</pubDate>
        </item>
  
        <item>
            <title>Very strange behaviour with QLibrary.</title>
            <link>http://qt-project.org/forums/viewreply/124667</link>
            <author>mrdebug</author>
            <description><![CDATA[I&#8217;ve tried in an empty project, using Windows  Xp, mingw, Qt 4.8.4.
Have you got a webcam or a capture device in your pc?
Can you try for me?]]></description>
            <guid isPermaLink="false">dca28100753c5ef54538e5eb6703a57e</guid>
            <pubDate>Thu, 09 May 2013 09:45:29 GMT</pubDate>
        </item>
  
        <item>
            <title>Very strange behaviour with QLibrary.</title>
            <link>http://qt-project.org/forums/viewthread/27593</link>
            <author>mrdebug</author>
            <description><![CDATA[In order to get the videocameras list I try to use this function:

	&amp;nbsp; &amp;nbsp; void MainWindow::on_pushButton_clicked&#40;&#41; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QLibrary Avicap&#40;&amp;quot;avicap32.dll&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; typedef bool &#40;*CapGetDriverDescription&#41;&#40;uint wDriverIndex, char *lpszName, int cbName, char *lpszVer, int cbVer&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CapGetDriverDescription capGetDriverDescription= &#40;CapGetDriverDescription&#41;Avicap.resolve&#40;&amp;quot;capGetDriverDescriptionA&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &#40;capGetDriverDescription&#41; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for &#40;int count= 0; count&amp;lt; 2; count++&#41; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char szDeviceName&#91;256&#93;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char szDeviceVersion&#91;256&#93;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; memset&#40;szDeviceName, &apos;\0&apos;, sizeof&#40;szDeviceName&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; memset&#40;szDeviceVersion, &apos;\0&apos;, sizeof&#40;szDeviceVersion&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &#40;capGetDriverDescription&#40;count, szDeviceName, sizeof&#40;szDeviceName&#41;, szDeviceVersion, sizeof&#40;szDeviceVersion&#41;&#41;&#41; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ui&#45;&amp;gt;textEdit&#45;&amp;gt;append&#40;QString&#40;szDeviceName&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125; else break;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &#125;


	But the program goes to crash. A function that works but is very strange and horrible is this:

	&amp;nbsp; &amp;nbsp; for &#40;int count= 0; count&amp;lt; 10; count++&#41; Enumerate&#40;count&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; void MainWindow::Enumerate&#40;int index&#41; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QLibrary Avicap&#40;&amp;quot;avicap32.dll&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; typedef bool &#40;*CapGetDriverDescription&#41;&#40;uint wDriverIndex, char *lpszName, int cbName, char *lpszVer, int cbVer&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CapGetDriverDescription capGetDriverDescription= &#40;CapGetDriverDescription&#41;Avicap.resolve&#40;&amp;quot;capGetDriverDescriptionA&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &#40;capGetDriverDescription&#41; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char szDeviceName&#91;80&#93;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char szDeviceVersion&#91;80&#93;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; memset&#40;szDeviceName, &apos;\0&apos;, sizeof&#40;szDeviceName&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; memset&#40;szDeviceVersion, &apos;\0&apos;, sizeof&#40;szDeviceVersion&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &#40;capGetDriverDescription&#40;index, szDeviceName, sizeof&#40;szDeviceName&#41;, szDeviceVersion, sizeof&#40;szDeviceVersion&#41;&#41;&#41; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ui&#45;&amp;gt;textEdit&#45;&amp;gt;append&#40;QString&#40;szDeviceName&#41;+ &amp;quot;, &amp;quot;+ QString&#40;szDeviceVersion&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sleep&#40;10&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125; else ui&#45;&amp;gt;textEdit&#45;&amp;gt;append&#40;&amp;quot;Error!!!&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &#125;


	Look: you have to query for ten times the function “capGetDriverDescriptionA” defining “QLibrary Avicap(“avicap32.dll”);” each time.
In “Enumerate” function you have to insert “Sleep(10);”.
Very strange but now works.

	What do you think about? There is a bug in QLibrary object?]]></description>
            <guid isPermaLink="false">232586a33d21e00c4685024fa7b14259</guid>
            <pubDate>Wed, 08 May 2013 23:36:26 GMT</pubDate>
        </item>
  
        <item>
            <title>Qt Diverge</title>
            <link>http://qt-project.org/forums/viewreply/124551</link>
            <author>Ash001</author>
            <description><![CDATA[Thanks to every body for fruitful discussion. I hope this discussion will also be helpful to other people if they are in they are using the same program. In the end I want to tell thay program is working it correctly. I do know up to what time it will work. I have also no idea how i fix it but i will share you some things i have made to my system.
1. I re&#45;install 2010.
2. I also make my data set smaller ( I mean i am analysing it in parts).
3. I install different kinds of registery fixing programs all were just wastage of time, but in the end i also tried Spy hunter. Spy hunter fix 20% with trial. 
4. Again I do not know wether spyhunter did the job, or my data set optimization or re&#45;installation of 2010 MS office. 
5. If i face the same problem then my first choice will be Virtual XP. 
Thanks to all guys&#8230;&#8230;.and Regards.]]></description>
            <guid isPermaLink="false">9ed2459a432e151cfa0040f7ad8b5d93</guid>
            <pubDate>Wed, 08 May 2013 10:46:03 GMT</pubDate>
        </item>
  
        <item>
            <title>Creation of .dll file using build option in Qt&#45;Creator</title>
            <link>http://qt-project.org/forums/viewthread/27553</link>
            <author>sandeepv</author>
            <description><![CDATA[Hi

	I have a project which has to create a .dll file when run in debug or release modes. But i see no .dll file is created, but it shows a .exe file created instead. Please help me out how to create a .dll file. Please tell me what is the mistake i&#8217;m making.

	Thank you in advance.

	&#45; Sandeep]]></description>
            <guid isPermaLink="false">8ff1c7ebb8541b68cf97d95dbb4eaeb8</guid>
            <pubDate>Tue, 07 May 2013 23:45:30 GMT</pubDate>
        </item>
  
        <item>
            <title>Qt Diverge</title>
            <link>http://qt-project.org/forums/viewthread/27497</link>
            <author>Ash001</author>
            <description><![CDATA[Hi Guys, 
I am trying to run a program named Qt Diverge. It is a software used in Evolutionary biology. AFter installation I have the following files in the folder (MSVCIRTD.DLL, MSVCP60D.DLL,MSVCRTD.DLL,qt&#45;mt230nc.dll and application file). My program run for some time and in the middle always it gives me &#8220;the application has requested the runtime to terminate it in an unusal way&#8221; &#8230;..I have installed 1. Microsoft V C++ redistributable 2005, M.SQL server 2005 compaque eddition (ENU), MV C++ 2008 redistributable *86, 9.0.2&#8230;. and 9.0.3&#8230;.MV C++ 2010 redistributable *64 10.0&#8230;.and *86 10.0&#8230;Micro visual J#2 redistributable, My SQL server 5 and MSXML 4 parser&#8230;
I am using window 7 ultimate Hp proBook4530s COREi3. The problem arise when I uninstall 2010 Office and replace it with 2007. Now I once again install 2010 but problem persist. I am not good in computer knowledge therefore i wrote all informations according my knowledge. the program is really important for me to run. If any one can guide me, i will be extremly thankful to them.]]></description>
            <guid isPermaLink="false">cd983de41dea59dd93273a540d11b586</guid>
            <pubDate>Mon, 06 May 2013 18:56:46 GMT</pubDate>
        </item>
  
        <item>
            <title>Generating words program</title>
            <link>http://qt-project.org/forums/viewreply/123804</link>
            <author>bipll</author>
            <description><![CDATA[So and what type is AlphaIterator ? 
Oh, sorry, it just slipped out somehow. This has to be QSet&amp;lt;QChar&amp;gt;::const_iterator, of course, the same as Word::value_type, i. e. something that iterates over the alphabet.
I fixed the code in my post, it should work now.]]></description>
            <guid isPermaLink="false">b4664b74326a194ff08a415c67dc08ff</guid>
            <pubDate>Thu, 02 May 2013 05:39:44 GMT</pubDate>
        </item>
  
        <item>
            <title>Autosave and password protection help?</title>
            <link>http://qt-project.org/forums/viewreply/122607</link>
            <author>Tobias Hunger</author>
            <description><![CDATA[PS: deletion is not your only problem: If a user is able to change the file, then he can authenticate as any user by changing the passwords in the file.]]></description>
            <guid isPermaLink="false">e63bc96b941884c281cf3f10b5ba996a</guid>
            <pubDate>Tue, 23 Apr 2013 10:02:36 GMT</pubDate>
        </item>
  
        <item>
            <title>Autosave and password protection help?</title>
            <link>http://qt-project.org/forums/viewthread/27025</link>
            <author>hunterallen40</author>
            <description><![CDATA[Hello all, 

	I have a classroom cash program I have been writing for a while. It works really well, but there is one thing I have yet to fix: I need to have the password file set up, and I need to have an autosave file set up. 

	My current password file writes to a text document and encrypts the file with Md5. But, the file can be deleted. If the file is not detected, the software asks the user to make one. This is obviously a HUGE security problem. 

	As for the autosave file, it can be deleted as well. 

	So&#8230; any advice? Any QFile tips for me? Directory suggestions? Any help is much appreciated! Thank you in advance, 

	&#45;Hunter A.]]></description>
            <guid isPermaLink="false">a96420ec3cf46ef274e23a2cbfa3fa49</guid>
            <pubDate>Mon, 22 Apr 2013 16:10:17 GMT</pubDate>
        </item>
  
        <item>
            <title>Serial port</title>
            <link>http://qt-project.org/forums/viewreply/121312</link>
            <author>JoeMatt</author>
            <description><![CDATA[Thank you very much!! It will be very useful!!]]></description>
            <guid isPermaLink="false">5f5b2d60fdaa69409d363f627abc1869</guid>
            <pubDate>Sat, 13 Apr 2013 18:04:19 GMT</pubDate>
        </item>
  

  </channel>
</rss>