As amazing as that is, it's basically just vector art. The same thing could be done using svg.
[Window Detective] - Windows UI spy utility
As amazing as that is, it's basically just vector art. The same thing could be done using svg.
[Window Detective] - Windows UI spy utility
I think what you are talking about here is a COM object, which is a little different to a C++ object. I don't know enough about it to explain further, however, so i will let someone else do that :). But as far as i know, the "object" is returned as the pADs pointer, you need to cast it from void*
[Window Detective] - Windows UI spy utility
"%C3%B6" is a two byte character, perhaps the issue has something to do with character encoding (UTF-8 vs UTF-16)? Edit: I see that 0xF6 (246 decimal) is ASCII character "ö".
[Window Detective] - Windows UI spy utility
TorstenH wrote:
try sharepod - works fine, faster than ITunes and just the tool one wants - without video, shop and lots of graphical overhead.
I have heard of sharepod when i googled for a way to transfer files from the iPod back to my computer. But i do not see any features for fetching metadata from the internet, only tag editing.
Maximilien wrote:
me think you will have to look for resources to look into the ipod filesystem (must be documentented somewhere); mount the ipod as a disk and look at it.
Yeah, i think jailbreaking the iPod allows drive letter access to it (for iPod Touch, that is). Once i do that then i could just operate on the files directly in the file system. Of course, i would still need a 3rd party tool to fetch the metadata.
For fetching the information, normally it starts with the CD and the CD id to get data from CDDB (now Gracenote, not free, i think, but you could use itunes for that) and match the tracks and get the metadata. Brute force searching on the web will have to be done for more detail info like composer and album art. anyway, one simpler way would be to transfer the data back to your computer and do the work there and sync back to your ipod.
I get most of my music from the internet, not CD. Obviously it would be easy to get metadata from a CD since the data already exists on the CD and it is just a matter of extracting it (i think iTunes can do that). And yes, "brute force" searching is what i want. Of course, the search engine would be most of that "force", but i want to be able to confirm that the search result is correct before i use that data. Windows Media Player does this. You select an album (or a group of songs) and it shows you the search results. You still have to manually confirm, but it's a whole lot faster that googling each song yourself.
[Window Detective] - Windows UI spy utility
I am looking for an application that can fetch and update metadata (i.e. album, artist, year, etc) of songs on iPod. I'm sure there are a lot of applications like this out there, but i want something more specific. Mainly, it needs to somehow work with iTunes using the music on my iPod rather than working on the files on disk and then having me sync with the iPod. This is because i don't keep all my songs on my local hard drive, i only keep them on the iPod (also, some are on an external HD). I'm not sure if it is possible to do this, however i imagine it could by possible using COM to interface with iTunes (as this article suggests). I want the metadata to be consistent throughout my library. The application should be able to find the required information for all songs (or at least, a vast majority) using some online database. At the very least, it should find the album name, artist name, year released and genre. It would also be good if it got other stuff like composers and album art. Since i at least have the title of the song, it should use this name to search for. The album and artist, if already available, should be used to narrow down the search. Obviously, what i have mentioned is fairly specific, but i am merely saying what i want. If anyone knows of an app that can do exactly that, that would be great. But otherwise, one that comes close would probably do.
[Window Detective] - Windows UI spy utility
modified on Wednesday, January 26, 2011 6:00 PM
Pretty handy functions, i did not know they existed. To OP, if you do use them you will need to #include and link with Shlwapi.
[Window Detective] - Windows UI spy utility
I imagine IE is fairly limiting when it comes to this sort of customisation. There may be an option somewhere to change the font (and/or colour) of the URL bar text, but it is highly unlikely. And IE probably uses DLLs for themes, so you can't easily change the background colour that the theme set. If you were using Firefox, however, you could easily open up the css file of the theme in your profile directory (<app_data>\Firefox\Profiles\<your_profile>\extensions\<the_theme_id>) and change the colour there. Or better yet, override it in your userChrome.css.
[Window Detective] - Windows UI spy utility
I have been using Windows 7 at work now for almost a year, but i have only just come across what seems to be an interesting feature. When an application hung today, i got the standard message box telling me so and giving me the option to kill the program or wait for it to respond. But a surprising third option was also available - "Try to restore the program". I selected that option and it actually worked, the application continued without crashing. Ok, the reason why it hung was most likely a network delay between the client (the app) and the server, and waiting would have fixed the problem. But it is still kind of cool. A quick google search found this article, but it does not explain what that option actually does or how it works. Does anyone know? I suppose it has something to do with the message queue, since most GUI applications do processing in the callback proc. But how does it know what bit of code to "cancel"?
[Window Detective] - Windows UI spy utility
fyi, i found the problem. I stupidly forgot to return a value from a function. I only just picked it up then when the compiler told me that "not all control paths return a value". I guess i missed that warning previously.
[Window Detective] - Windows UI spy utility
I have a project that is using Qt with Visual Studio 2008 Express Edition. Qt comes with it's own build tool (qmake) which outputs a makefile for VS to use. So i do not actually use any build settings in VS's project properties, i just set nmake to use the makefile. But i am having a few problems with this. Firstly, whenever i run the project (F5) it says that it's out if date and asks me to re-build. This always happens, even if i have just built it a second ago. I don't know if anyone knows how to use Qt's build tools but i suspect this is more to do with the makefile that it generates, and so would be VS's problem. How do i get VS to pick up that the files are up-to-date? And how does it work, anyway? The second problem (maybe not related to Qt) is to do with the resource (.rc) file. I define the application's version number in a header file and #include it in the resource file and used in the VS_VERSION_INFO. But when i change the header file, VS will re-compile every source file that includes it (most of the files in my project) but not the resource file. How can i force it to compile it either when it's changes or, failing that, all the time? Finally (this does seem Qt related), i put my executable and data files in a folder one level above my source files. Like this: app.exe other files src/ project file and others Release/ this is where the exe is output to Debug/ and here in debug I should just be able to change the output directory from $(SolutionDir)/src/Release to $(SolutionDir)/. But if do that, it also dumps intermediate .lib and .pdb files there too (which should stay in the Release or Debug folders. To get around this small yet annoying problem, i have had to use a custom build step which copies the file. If it helps, here is my Qt project file: # This is the project file for Qt. # It is used for the Qt pre-processor, qmake TEMPLATE = app CONFIG += windows uitools # Output exe to release or debug folder, then copy to project's root dir CONFIG(release, debug|release) { DESTDIR = Release } else { DESTDIR = Debug } QMAKE_POST_LINK += xcopy \"$${DESTDIR}\\$${TARGET}.exe\" \"$${DESTDIR}\\..\\..\" /Y HEADERS = header files here SOURCES = source files here FORMS = forms/*.ui UI_DIR = forms TRANSLATIONS = translation files here # Setting UI_DIR seems to change the compiler's working directory, me
Well, i was going to thank you once you clarified your previous post. But since you gave me the lmgtfy response, i don't think i will :). Just kidding.
[Window Detective] - Windows UI spy utility
Sorry, i still don't know what you are talking about. You seem to be saying that there is a way to find the function which that line of code is in. While i understand that it may technically be possible, i have no idea how to do it. btw, thanks to everyone else who replied.
[Window Detective] - Windows UI spy utility
How would i do that :) By the way, it is ecx that contains a rather large number, which is causing the expression to access invalid memory. So i imagine that ecx should normally contain a valid value.
[Window Detective] - Windows UI spy utility
Hi all, I am writing an app using C++, Visual Studio 2008 and Qt. I have been working on a certain section of code, and i have it working now without any problems. That is in debug mode. When i compiled it in release mode the other day, the app crashed (access violation) when i performed a certain action (selecting an item from a combo box). This did not happen in debug mode, and it happens consistently whenever i switch back to compiling in release. My app is similar to Spy++ or Winspector and it uses a hook to monitor other window's messages. It does this by injecting a DLL in other processes. When i first tried to debug the crash in VS, the stack trace included the hook procedure and it even showed me the code (which is strangle because the DLL should have been built without symbols too). It was indicating that the crash was around the call to CallNextHookEx. But i don't think it has anything to do with that because when i commented out the hook code, the crash still happened. I suspect it is due to memory corruption, but i don't know how to be sure. Basically, i am asking for any tips on how to debug such a situation. I cannot step through the code as there are no symbols in release mode, and the DLLs in other processes only makes debugging harder. Since i have no idea what could be causing the crash, i will not post any code. However, i will upload the entire source (to my SourceForge site) and post a link to it so that you can browse though it if you like. If it helps, the assembly where the crash happened is: 004320EE mov edx,dword ptr [eax+ecx*4+14h]
[Window Detective] - Windows UI spy utility
modified on Thursday, December 9, 2010 5:50 PM
Hi, i have been working on a visualization for WMP for a while now and a have almost finished it. There are a few small bugs that i still need to fix but i though i would post it here if anyone wants it. Download here[^] Here are some screenshots: image 1 image 2 image 3 Enjoy :) btw, is there an actual forum for posting applications to download?
-------------------------------- Customer in computer shop: "Can you copy the Internet onto this disk for me?"
I FIXED IT! These are the 3 lines directly before the code above:
if (bgType = BG_BLUR)
renderBlur(wf, 20, 0.2f);
else if (bgType = BG_WARP) {
// All of the above code is here
}
See something wrong? I didn't until just then. = instead of == !!! I can't believe i made such a simple mistake. I know everyone makes silly mistakes but i seem to be getting == confused with = a lot lately. Sorry if i'm rambling on, i just had to say this. That one bug has really been pissing me off :mad::confused::wtf::(:((
-------------------------------- Customer in computer shop: "Can you copy the Internet onto this disk for me?"
Firstly, what do the #include
s actually include. I assume they are unimportant and have either been left out or forgotten. But more to the point, you should have a look at PFD_DRAW_TO_WINDOW
in the variable pfd.dwFlags
. I too am using OpenGL for a small project I am making. I don't know that much about it but i think you might have to set it to draw to the DESKTOP
. I think the desktop is just a special kind of window. What you are trying to do sounds interesting. Let me know when you have it working
-------------------------------- Customer in computer shop: "Can you copy the Internet onto this disk for me?"
Hi, i am writing an app that copies the screen, warps/distorts the image, then draws it back. I already got the code working in a visualization i am making for Windows Media Player but for some reason it won't work now.
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
enableBlend();
glColor4f(1.0f, 1.0f, 1.0f, 0.9f);
renderBackground(wf); // Render warped background
enableTexture(image);
glBegin(GL_QUADS); // Draw image over background
glTexCoord2f(0, 1); glVertex2f(0, 0);
glTexCoord2f(0, 0); glVertex2f(0, 512);
glTexCoord2f(1, 0); glVertex2f(512, 512);
glTexCoord2f(1, 1); glVertex2f(512, 0);
glEnd();
glBindTexture(GL_TEXTURE_2D, backTexture);// Copy image to texture
glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 0, 0, 512, 512, 0);
disableTexture();
disableBlend();
That's basically it, renderBackground() draws the texture over a grid of warp points which is stored in a WarpFile object. The enable/disable methods are just wrappers for the OpenGL commands. Is there anything i am doing wrong? I tried pbuffers do copy/render to but it was too hard. If you need me to post more code (like the renderBackground method) just ask thanks
-------------------------------- Customer in computer shop: "Can you copy the Internet onto this disk for me?"
El Corazon wrote:
are you blending these via vertex coloring or via alpha textures?
I am blending via vertex colouring. And you're right, i don't really care about all of the High Dynamic events. I do a Computer Science degree at uni but graphics is not one of my courses. I am just doing this as a hobby because i like graphics. So i really shouldn't waste my time learning about OpenGL lighting effects (i might read up on it on the holidays). I guess i will just use GL_SRC_ALPHA, GL_ONE for now, as long as i don't blend many colours at once and end up with a white screen! :) thanks for your help anyway
-------------------------------- Customer in computer shop: "Can you copy the Internet onto this disk for me?"
I really don't know anything about OpenGL. I just want to create transparent areas (among other things) so could you please just tell me how to make an area transparent. It must be possible since many games do it (like car windows). See this picture: http://img187.imageshack.us/my.php?image=alphale2.png[^] which shows what i am getting when i use the blend functions. The edges of the wave (which is from Windows Media Player) should fade to transparent. The edges are (0,0,0,0) and the inside is (r,g,b,1). If you can't help me then i guess the second image (GL_SRC_ALPHA, GL_ONE) look good enough. thanks
-------------------------------- Customer in computer shop: "Can you copy the Internet onto this disk for me?"