Cards.dll in Windows 7 - api

In older windows we had a library called cards.dll that MS used for UI in card games. It looks like they are now using something different for it. Do anyone know how Microsoft paint cards in new Windows?
Thank you.

I opened the cards.dll from 32-bit Windows XP and the file contains bitmap resources with the cards. This DLL is not present on Windows 7 (64-bit). I opened the .exe in a resource editor and did not find any bitmap references which is something I'd normally have expected.
I then opened the executable with Dependency Walker to find out if there were any additional references to the equivalent of cards.dll and there were none. There was a reference to DirectX so I suspect that the cards are being drawn using that API, and are perhaps encoded in something other than a bitmap. Process Explorer's thread view also suggest DirectX is being used.

Related

Microsoft Access - Missing Reference to acrobat.tlb

I am working with a Microsoft Access database that was mostly completed in Access 2010, and now I am opening it on a new computer that has Access 2013.
Upon opening the program, it tells me,
"Microsoft Access database or project contains a missing or broken reference to the file 'acrobat.tlb' version 1.1."
I have done some research, and I know that I need to go into the VB code and go under tools->references. Now under here it lists the working references then says,
"MISSING: Adobe Acrobat 10.0 Type Library"
So now I understand, that I need to give it the reference to that .tlb file. I am good up to here, but whenever I try to browse I can never find this file. I just downloaded Adobe, so I know I have the most recent version.
I saw a couple places in my research that you can just uncheck the box and try compiling again. This however does not work for me. it needs this reference for several things I am doing.
Has anyone ever had this problem or have any guidance for me?
Thank you!
I'm not 100% on this, but loading Adobe by itself may not give you the library you are looking for. You could need the file which is located in the SDK (which happens to be free) adobe site. Try installing this, and see if you can navigate to the tlb.
SQL hound was right. To expand on what he suggested and be more specific for this issue for those with this problem in the future, you need to download the Acrobat DC SDK (not the air one). In InterappCommunicationSupport/Headers you will find acrobat.tlb.
I am using Access 2013 and Acrobat Pro version 11.0.
I have looked for the file "acrobat.tlb" on my drives.
Found it under: "C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat"
In the Visual Basic Code "tools/references", I clicked "Browse" and went to the location I have found, selected the file and clicked OK.
Returning back to "tools/references", the "Adobe Acrobat 10.0 Type Library" is now available and selected.
I have run minimal code to open and show the number of pages of the opened "pdf" document and it returned the proper number of pages.
Just so you know:
I now remember that there was a selection called only "acrobat", it is now gone. Must have been caused by selecting manually the desired file.
Maybe that selection was pointing to the "acrobat.tlb" file.
You can see the full path and name of the file corresponding to the selected library name at the bottom of the reference window.
I had the same problem but I had a Missing reference to "...Adobe 9...Type Library..." I unchecked that and tryed with, "Acrobat Access 3.0 Type Library" futher down. Then it worked.

how to display PDF file in webBrowser contron in 64-bit winforms application

I have WebBrowser control in my Winforms application which is displaying the PDF file using the ceTe.DynamicPDF.20 to merge the PDF document into WebBrowser. When I run my application on 64-bit version the WebBrowser control is not displaying the PDF.
Is anyone know how to display the PDF file into 64-bit version?
It's hard to tell without more details, but according to this forum topic (scroll to the bottom for the useful part), you may need a different dll for the different architectures indeed. As for how to refer to the correct dll in both cases, you may wish to take a look at this question.

How to make a GUI in QT using visual studio?

I have c++ code which uses GDAL libraries to do some operations in an image (like slope, aspect, hill shade etc). Now, I want to make a GUI in which I want to fetch an image from the directory. After that I want to apply operation on the image (assume as slope - c++ code) and then I should get the output.
Many people have suggested me to use Qt. I have built and installed Qt in my visual studio 2010 successfully.
Please help me how to proceed with the GUI. I have intermediate skills in C++ programing and new for GUI applications.
This is hard to put in an answer. There are a lot of tutorials out there including, for example, My First Qt GUI Application as well as other general Qt4 and Qt5 tutorials. Even on YouTube you will find a lot of videos such as Introduction to Qt C++ framework for Visual Studio (which uses Microsoft Visual Studios and Qt 5.4) and Qt Calculator GUI Tutorial Part 1 (which uses Apple's Xcode and Qt 5.7).
The main idea is that you use this software to create in a What You See Is What You Get (WYSIWYG) mode the GUI. Then you must play with the created file and classes.
I have solve the Issue. Thanks everyone who helped me. This is how i have done.
After successfully installing Qt with visual studio , create a new the Qt project and there you will find three files (.ui, .h, and .cpp ).
click on ui file , new window will be create where you can see the buttons and boxes .
make use of that as per the requirement and read a tutorial of QT for setting and using object names.
click on .h file , where you will create a call the functions by clicking the button class.
click on .cpp file , write your code in the class called in .h file.
compile and enjoy the solution :)

Is OpenLaszlo supported in custom browsers that are created through adobe air?

Recently i am seeing a number of issues that are happening in our custom based browser but its not happening in the browsers like mozilla or chrome.
One example is mouse cursor i have given a custom cursor to it onmouseover of a window. This is working fine in Mozilla, chrome and in IE but not in the Adobe Air browser we created. I can see the custom cursor but there is lot of flickering between the custom cursor and the normal mouse pointer.
Is this an issue or there is an work around for this to support the adobe air browser? I am using Adobe AIR 3.4.
I haven't heard anything about Laszlo testing Adobe AIR apps, especially with the AIR releases in the past two years. The AIR browser has never been supported officially.
I'm assuming that you are still embedding an SWF into a HTML page for your AIR app. When using AIR with OpenLaszlo, I'd always generate an ActionScript 3 based AIR app (not embedding an app SOLO compiled to an SWF into an HTML container). That way, I can use Flash Builder to debug any problems, which makes things a lot easier than debugging embedded SWFs. If you plan to deploy a DHTML runtime app, there's of course no way around embedding the OpenLaszlo app into an HTML container.
Update: Flash 10.2 and higher support native cursor integration (native here means operating system), which provides MUCH better performance. Here's a general description of the API in an Adobe blog post: http://www.adobe.com/devnet/flashplayer/articles/native-mouse-cursors.html
It's technically possible to use the native cursor with OpenLaszlo, I've created a proof-of-concept - but it only works with a heavily modified version of the LzMouseKernel.as class (from the SWF9 kernel files in the LFC), since the kernel will always reset the cursor for various mouse events. And since native cursors require at least Flash 10.2, this is only possible with the SWF11 branch of OpenLaszlo.
I suspect that the problems you are seeing are connected to the way OpenLaszlo enables custom cursors (which is done by hiding the native mouse cursor and moving an sprite around following the invisible mouse cursor position).

DirectShow interpolation (pixelization) problem with VMR9 windowless

For a .net project, I use DirectShow (through DirectShow.net) with the VMR9 in windowless mode for video display.
On Windows 7, I noticed a pixelization problem when the video is resized (magnified).
I can’t find how to tell the VMR9 to use a specific interpolation algorithm (i.e. bicubic).
It looks like, by default, it uses none.
I would like to avoid using my own allocator-presenter for this task.
Thank you for your help.
You should use the EVR rendered on window7 to avoid pixelated video.
See this question:
WMV media streams appear more pixelated on Windows 7 than on XP
Evr comes with it's own set of problems, I've found that resizing an EVR rendered stream is slow / jerky. And EVR is only available on vista and later operating systems. Stick with vmr9 for xp.