Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

New controls on GUI windows (Buttons, Statics, HMTL, RTF...)


  • Please log in to reply
132 replies to this topic
BoBo
  • Guests
  • Last active:
  • Joined: --
Micha wrote:

You can play Avi's or MPegs

Moin Micha, ... do you see a chance to get other video formats included eg. swf/wmv ?
My request is based on this thread: [How to put an .SWF in a GUI????] where Unknown has pointed back to your thread (this one) ...

btw: zwischenzeitlich werd ich schon ebbes neidisch auf euch DllGeeks :wink:

i3egohan
  • Members
  • 403 posts
  • Last active: Feb 15 2012 12:07 PM
  • Joined: 18 Jul 2006
very usefull thanks for psot hope to see update (if needed)

Micha
  • Members
  • 539 posts
  • Last active: Dec 31 2011 01:43 PM
  • Joined: 15 Nov 2005

Afterwards I downloaded your mfcdlls.zip and started a second run. Now the script says it's missing MSVCP80.dll. Well msvcr80.dll is inside your zip but no MSVCP80.dll

Hi,
MSVCP80.dll is a new dependency which was introduced with the HTML-control.
I've updated the mfc_dll.zip and included that file.
Thank you for reporting!
Ciao
Micha

Micha
  • Members
  • 539 posts
  • Last active: Dec 31 2011 01:43 PM
  • Joined: 15 Nov 2005

Moin Micha, ... do you see a chance to get other video formats included eg. swf/wmv ?

Hi BoBo,
well, I'm not playing AVI or MPG by myself. I'm using windows-functions.
To play SWF-files I need an installed Macromedia-Plugin. I think (do not know) it can only play inside a browser.
The easiest way is to use the HTML-control and load a tiny html-text which displays a swf.
<p>
<object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" width="600" height="400">
 <param name="movie" VALUE="nibbles.swf">
 <param name="quality" value="high">
 <param name="scale" value="exactfit">
 <param name="menu" value="true">
 <param name="bgcolor" value="#000040">
 <embed src="nibbles.swf" quality="high" scale="exactfit" menu="false"
        bgcolor="#000000" width="600" height="400" swLiveConnect="false"
        type="application/x-shockwave-flash"
        pluginspage="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
</object>
</p>
So you can display SWF-Files on a AHK-Gui with a little detour.

deefault
  • Members
  • 18 posts
  • Last active: Mar 07 2007 11:04 PM
  • Joined: 03 Aug 2006
I've downloaded the test script but I am getting the following error when I try to run any of the scripts...any thoughts on the problem?

error while calling GetResourceList Error Level: -3 - RC:

Micha
  • Members
  • 539 posts
  • Last active: Dec 31 2011 01:43 PM
  • Joined: 15 Nov 2005

I've downloaded the test script but I am getting the following error when I try to run any of the scripts...any thoughts on the problem?
error while calling GetResourceList Error Level: -3 - RC:


Hi,
are you sure, that you have extracted all files in one folder? You need the files AHKCtrlSupport.dll + Resource.dll + AHK-Files and the files of the mfc_dlls.zip.
Perhaps it helps to read all/most of the posts here. Most people who had problems have not copied all needed dlls.
Ciao
Micha

deefault
  • Members
  • 18 posts
  • Last active: Mar 07 2007 11:04 PM
  • Joined: 03 Aug 2006
Thanks for the fast reply Micha,

Yes, I have skimmed through most of the posts but I haven't been able to figure this one out. I have tried putting all the resources in one folder, but when I do that, I get the original error I posted, plus another error:

The application or DLL G:\...\AHKCtrlSupport\MSVCP80.dll is not a valid windows image. Please check against your installation.

But that only occurs if all the files are in the same folder and I open one of the AHK test scripts from within that folder. If I put the AHK script in a different folder then I only get the original error I spoke of... :(

Micha
  • Members
  • 539 posts
  • Last active: Dec 31 2011 01:43 PM
  • Joined: 15 Nov 2005
Hi,
the "save" solution is to start the Microsoft redist setup which installs all files correctly. Please download the two files, extract them and start the Microsoft setup. I hope the problems are solved then:
https://ahknet.autoh...6.sfx.part1.exe
https://ahknet.autoh...6.sfx.part2.rar

Ciao
Micha

deefault
  • Members
  • 18 posts
  • Last active: Mar 07 2007 11:04 PM
  • Joined: 03 Aug 2006
That did the trick! Thanks for your help!

Feeling Stupid
  • Guests
  • Last active:
  • Joined: --
Hi

I need to rotate a stip of text to dispaly up the side of the page.

I have been trying to work my way through:
http://www.autohotke...opic.php?t=8365

but I keep getting the message:

MSVCP80.dll is not a valid Window image
Follwed by:
error while calling CreatRotStatic Errorlevel: -3-RC:

My programming skills are not good, and I'm not sure what a "dll" is - but I've downloaded all the files on the page, unzipped them into the same folder as the script, and copied them into the windows 32 directory as well.

Just so you know - I've got these files:
https://ahknet.autoh...ha/mfc_dlls.zip
https://ahknet.autoh... ... upport.zip
PLUS I've used the "EXAMPLE" SCRIPT FROM:
https://ahknet.autoh... ... tatic.html

Am I supposed to install the dll some how?
Also - is RotStatic is the answer to my problem?

Cheers

Micha
  • Members
  • 539 posts
  • Last active: Dec 31 2011 01:43 PM
  • Joined: 15 Nov 2005
Hi Feeling Stupid,
you've done everything correct.
Do you have Windows 98/ME?
Ciao
Micha

Feeling Stupid
  • Guests
  • Last active:
  • Joined: --
No
I'm using Windows XP

Micha
  • Members
  • 539 posts
  • Last active: Dec 31 2011 01:43 PM
  • Joined: 15 Nov 2005
Hi Feeling Stupid,
please try this version:
https://ahknet.autoh...cha/msvcp80.dll

If this also doesn't work, please download the Microsoft VCRedist mentioned in this post:
http://www.autohotke...p?p=72716#72716Ciao
Micha