code logs -> 2009 -> Mon, 25 May 2009< code.20090524.log - code.20090526.log >
--- Log opened Mon May 25 00:00:39 2009
00:03 You're now known as TheWatcher[T-2]
00:04 You're now known as TheWatcher[zZzZ]
--- Log closed Mon May 25 00:10:36 2009
--- Log opened Mon May 25 00:19:43 2009
00:19 TheWatcher[zZzZ] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
00:19 Irssi: #code: Total of 22 nicks [11 ops, 0 halfops, 1 voices, 10 normal]
00:19 mode/#code [+o TheWatcher[zZzZ]] by ChanServ
00:20 Irssi: Join to #code was synced in 55 secs
00:34 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
--- Log closed Mon May 25 01:22:55 2009
--- Log opened Mon May 25 01:22:59 2009
01:22 TheWatcher[zZzZ] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
01:22 Irssi: #code: Total of 21 nicks [11 ops, 0 halfops, 1 voices, 9 normal]
01:23 mode/#code [+o TheWatcher[zZzZ]] by ChanServ
01:23 Irssi: Join to #code was synced in 51 secs
02:18 Bob_Work [c6b3e33a@Nightstar-14595.mibbit.com] has joined #code
02:19
< Bob_Work>
does anyone have any good links that explain how to create basic Window Apps in Bloodshed's Dev c/c++?
02:19 * Bob_Work knows C and C++, but the whole GUI thing is killing me.
02:20
<@McMartin>
I'd suggest avoiding using Win32 directly if you can.
02:20
<@McMartin>
Qt 4 is a very good cross-platform GUI lib, though it's also pretty heavyweight. http://trolltech.com/
02:20
<@McMartin>
The lastest version is LGPL as well which means it's pretty easy to distribute with whatever you're doing.
02:21
< Bob_Work>
So, MFC is probably right out then, eh?
02:21
< Bob_Work>
(it's all I could figure out from googling)
02:22
<@McMartin>
MFC is made of spiders. You're better off calling user32.dll *directly* than using MFC.
02:23
< Bob_Work>
ouch.
02:26
<@McMartin>
The biggest real problem with Qt is that it uses its own classes for most of the direct representation stuff, so when you go between the GUI and the core you have to shift between QString and std::string, etc.
02:28
< Bob_Work>
Shouldn't be too much of a problem.
02:28
< Bob_Work>
I'm just looking to build a simple tool.
02:30
<@McMartin>
I'd start here: http://www.qtsoftware.com/developer/getting-started
02:30
<@McMartin>
Unfortunately, there's really no such thing as "simple" GUI programming.
02:31
<@McMartin>
Qt Creator is more or less as good as anything else for doing the "wire action X to code Y", and on Windows it's better than most.
02:32
< Bob_Work>
Well, I would have done this in VB, but can't use anything past a portable version of VB5 here.
02:32
< Bob_Work>
At least this way I'll actually learn a USEFUL skill. :)
02:32
<@McMartin>
Yeah. Qt Creator and GTK Glade are to C++ what VB is to, well, VB.
02:33
< Bob_Work>
heh
02:33
<@McMartin>
Dev c/c++ uses MinGW as its backend, right?
02:33
< Bob_Work>
I couldn't tell you.
02:33
< Bob_Work>
<--newb.
02:33
<@gnolam>
Yes.
02:33
<@gnolam>
A really, /really/ ancient version, IIRC.
02:34
<@gnolam>
(Then again, with MinGW, is there any other kind?)
02:34
<@McMartin>
Qt 4.5 ships with a fairly recent one, I believe.
02:34
<@McMartin>
So you should install that if it asks.
02:34 * Bob_Work nods.
02:34
<@McMartin>
Dev-etc can *probably* be told to use it; if not, you can probably use qmake.exe to actually do the build with.
02:35
<@gnolam>
Or you can take the opportunity to switch to a decent IDE.~
02:35
<@McMartin>
(You'll have a "Qt Development Command Prompt" thing in the start menu, that gives you a command shell with all the paths set right.)
02:35
<@McMartin>
Coming up blank on decent IDEs for C/C++ for Windows~
02:35
< Bob_Work>
gnolam: I'm always open to ideas.
02:35
<@gnolam>
Code::Blocks.
02:36
<@McMartin>
Actually, never heard of that one. URL?
02:36
<@gnolam>
http://www.codeblocks.org/
02:36
<@McMartin>
Though if you're totally new to it, qmake probably *is* your best bet for builds. Qt has some extra compile steps involved in it in most situations.
02:37
<@McMartin>
Unless, of course, codeblocks is Qt-aware, which I admit it might be.
02:37
<@gnolam>
Don't think so.
02:37
<@McMartin>
It can be made so, it seems: http://forums.codeblocks.org/index.php/topic,2253.0.html
02:37
<@gnolam>
But then again, I use MSVS these days.
02:38
<@McMartin>
MSVS and Notepad++ here, depending on what I need to be doing and who I'm targeting.
02:38
<@McMartin>
Mixing Qt and MSVS is a pain in the ass, though they're working on making that less gruelling.
02:38
<@McMartin>
Just in time for my company to go away from MSVS~
02:39
<@McMartin>
(You basically have to compile the thing from source yourself, and then hand-write custom build steps for the bits that qmake does for you)
02:41 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
02:48 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
02:50 * Bob_Work sighs
02:50
<@McMartin>
Anyway, DJP&c should be fine to start with at least as a text editor.
02:50
< Bob_Work>
So, downloaded and installed QT. Tried running creator, and got "Application failed to load because application configuration is incorrect"
02:51
<@McMartin>
Hmm.
02:51
<@McMartin>
XP or Vista?
02:52
< Bob_Work>
XP
02:52
<@McMartin>
OK. That error *usually* means that some DLLs are missing.
02:52
<@McMartin>
Let me see if I can find the MSDN download for that.
02:52
<@McMartin>
Actually, hrm.
02:52
<@McMartin>
First.
02:52
<@McMartin>
Go to Add/Remove programs, see if a MinGW entry is there.
02:52
<@McMartin>
It may be trying to load the *wrong* dll.
02:55
< Bob_Work>
Um, nope. Not seeing a MinGW.
02:55
< Bob_Work>
I know it was checked at the installation screen for QT
02:55
<@McMartin>
OK.
02:56
< Bob_Work>
Um, this may be the problem.
02:56
<@McMartin>
Oh?
02:56
< Bob_Work>
Running the installation again, I see that the check box for QT creator is greyed out (but still checked)
02:56
<@McMartin>
My first guess was that msvcr71.dll or whatnot was missing, and MS has a download for all of them at once.
02:56
<@McMartin>
Oh. That's fine; it means installing it is mandatory.
02:56
< Bob_Work>
ah, ok.
02:59
<@McMartin>
Hrm
02:59
<@McMartin>
ACtually, maybe I should just try installing it myself and seeing what it links against.
02:59
<@McMartin>
what happens if you start a Qt command prompt and then run "qtcreator" from there?
03:01
< Bob_Work>
qtcreator appears to not be there.
03:01
<@McMartin>
I may be misremembering the file name.
03:01
<@McMartin>
ONe moment while I try to install it myself~
03:01
< Bob_Work>
this could take a while.
03:02
< Bob_Work>
there is, however, a configuration.exe
03:03
< Bob_Work>
so I'm gonna run that
03:07 * Bob_Work thinks that might have done it.
03:07
< Bob_Work>
Considering it wanted me to tell it whether it was the commercial or free version, and whether I accepted the license or not.
03:12
<@McMartin>
Hm. That's for source builds.
03:12
<@McMartin>
I'll have finished the binary download in 3m or so
03:23
<@McMartin>
OK, so, it Just Runs here. Let's see what I have that you don't...
03:24
<@McMartin>
Do you have, in your Windows\System32 directory, MSVCP90.dll and MSVCR90.dll?
03:24 * Bob_Work checks
03:25
<@McMartin>
Though in my case it's actually C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f749 63e\MSVCP90.dll
03:25
<@McMartin>
(so if it's not there, check C:\WIndows\WinSxS\x86_Microsoft.VC90.CRT-garbage)
03:26
< Bob_Work>
nope. Got MSVCP70.dll and '71.dll
03:26
< Bob_Work>
err...71 on both.
03:26
<@McMartin>
Right then. That's what it is.
03:26
<@McMartin>
Install this. http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D -074B9F2BC1BF&displaylang=en
03:27
<@McMartin>
(Looks like Nokia built this with Visual Studio 2008 and didn't include the runtime libraries.)
03:28
< Bob_Work>
nice
03:28
<@McMartin>
As for "Where the Hell did you get that information", https://technet.microsoft.com/en-us/sysinternals/bb896653.aspx will show you every DLL loaded by any given executable that's running.
03:28
< Bob_Work>
Dammit.
03:29
<@McMartin>
Crud. No love?
03:29
< Bob_Work>
Nope. No admin privilages on this pc. So I can install QT, but not the ms dll(s)
03:29
<@McMartin>
Augh.
03:30 * Bob_Work gives up.
03:30
< Bob_Work>
I'll try code blocks, and failing that, I'll just beat the admin's head in with a brick.
03:30
< Bob_Work>
The last one won't help me code, but it'll make me feel better.
03:31
<@McMartin>
Or ask the admin to install it, I guess.
03:31
<@McMartin>
You could try to pull the dlls down from a less reputable source like http://www.dll-files.com/dllindex/dll-files.shtml?msvcr90 and put them in Qt\blah\bin, but I'm not thrilled at that prospect.
03:32
< Bob_Work>
me either.
06:02 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
07:01 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
07:22 AnnoDomini [AnnoDomini@Nightstar-29299.neoplus.adsl.tpnet.pl] has joined #Code
07:22 mode/#code [+o AnnoDomini] by ChanServ
07:47 Bob_Work [c6b3e33a@Nightstar-14595.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
08:04 Vornicus is now known as Vornicus-Latens
08:04 Derakon is now known as Derakon[AFK]
08:07 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
08:07 mode/#code [+o gnolam] by ChanServ
09:49 You're now known as TheWatcher
11:03 AnnoDomini [AnnoDomini@Nightstar-29299.neoplus.adsl.tpnet.pl] has quit [Operation timed out]
11:10 AnnoDomini [AnnoDomini@Nightstar-29748.neoplus.adsl.tpnet.pl] has joined #Code
11:45 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
11:45 mode/#code [+o Attilla] by ChanServ
12:09 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
14:19 You're now known as TheWatcher[afk]
14:32 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
14:32 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
14:32 mode/#code [+o Attilla] by ChanServ
15:13 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
15:14 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
15:14 mode/#code [+o Attilla] by ChanServ
15:20 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
15:57 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
15:57 mode/#code [+o Attilla] by ChanServ
16:06 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
16:07 Syloqs_AFH is now known as Syloqs-AFH
16:10 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
16:10 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
16:10 mode/#code [+o Attilla] by ChanServ
18:25 Vornicus-Latens is now known as Vornicus
18:26 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
18:26 mode/#code [+o ToxicFrog] by ChanServ
18:32 Derakon[AFK] is now known as Derakon
19:18 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
19:19 You're now known as TheWatcher
19:38 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
19:38 mode/#code [+o Attilla] by ChanServ
19:38 Namegduf [namegduf@86.6.85.ns-27218] has quit [Ping Timeout]
19:39 Namegduf [namegduf@82.25.200.ns-12231] has joined #code
19:59 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
19:59 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
19:59 mode/#code [+o Attilla] by ChanServ
20:39 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
21:22 Derakon is now known as Derakon[AFK]
21:35
<@gnolam>
Hmm. Am I the only one who thinks that "cognitive artifacts" sounds like some kind of powerup in a sci fi game? :)
21:37 crem [~moo@Nightstar-28703.adsl.mgts.by] has joined #code
22:13
< Namegduf>
Or the target of a quest.
22:40 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
22:40 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
22:40 mode/#code [+o Attilla] by ChanServ
22:51
<@TheWatcher>
emacs' "spell-check comments" feature = <3
23:41 AnnoDomini [AnnoDomini@Nightstar-29748.neoplus.adsl.tpnet.pl] has quit [Quit: Oh, I'm no end-table. I'm a nightstand.]
--- Log closed Tue May 26 00:00:53 2009
code logs -> 2009 -> Mon, 25 May 2009< code.20090524.log - code.20090526.log >