| Author |
Message |
Topic: list of dll functions for use with DllCall() |
holomind
Replies: 1
Views: 202
|
Forum: Ask for Help Posted: Fri May 30, 2008 8:03 pm Subject: list of dll functions for use with DllCall() |
| Hi, like the functionname already says, you call a function inside a dll. Normally you call functions in common dlls, for example gdi32.dll for drawing. you need to look up the funktions and more impo ... |
Topic: real expose clone |
holomind
Replies: 242
Views: 18351
|
Forum: Scripts & Functions Posted: Tue May 27, 2008 12:06 pm Subject: real expose clone |
| Hi, really nice to see the script evolves. somehow i lost my forum notifications and did not check for a while. but the good thing is, that the script was changed in meantime... I didnt think about th ... |
Topic: real expose clone |
holomind
Replies: 242
Views: 18351
|
Forum: Scripts & Functions Posted: Fri May 09, 2008 9:24 pm Subject: real expose clone |
hi, i also noticed the crashes, perhaps this comes from invalidate-rect or some stackoverflow due to recursive gosubs ??
here is now a much improved version which shows tooltip of the current windo ... |
Topic: real expose clone |
holomind
Replies: 242
Views: 18351
|
Forum: Scripts & Functions Posted: Fri May 09, 2008 12:15 pm Subject: real expose clone |
Hi,
Here is an updated "experimental" version with zoom of hovered windows, and tooltip for the windowtitle. also some experiments with InvalidateRect to repair some artefacts of Printwi ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Thu May 01, 2008 8:34 am Subject: OpenGL DllCalls |
I think tinkering with the source code just to parse wrappers in scripts is taking it to the extreme a little
i like to think in extremes and scratch the edge of the possible. now we have opengl i ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Wed Apr 30, 2008 9:24 am Subject: OpenGL DllCalls |
| @zippo: thanks for your speed-test and explanaition. on my pc i get a difference of about 40% which is not too small. but perhaps its not too realisitic, as gettick is very fast compared to the time t ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Tue Apr 29, 2008 6:43 pm Subject: OpenGL DllCalls |
Whatever floats your boat though.
have you done some speed-tests to see if it actually got slower ? |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Tue Apr 29, 2008 12:37 pm Subject: OpenGL DllCalls |
@zippo: the code now looks much better Did you convert the Wrapper-Functions automatically or manually? Which tool did you use for it. (Replace-Function of Editor?)
I'd like to read the hdc from ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Mon Apr 28, 2008 10:32 pm Subject: OpenGL DllCalls |
In these examples, opengl binds a new window to himself.
Here is an example how to do it with a Child-Window. As the OpenGL is a normal window (or a control ...) it can be embeded into another wind ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Mon Apr 28, 2008 10:56 am Subject: OpenGL DllCalls |
| @zippo: thanks for the explanaition, i will try CopyMemory. i guess this should be enough to port the Window2BMP from thinbasic to ahk, and do some experiments with textures. (like copying window-cont ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Sun Apr 27, 2008 11:55 pm Subject: OpenGL DllCalls |
@zippo: you seem to understand ahk + gdi/mfc + opengl very good.
do you have an idea how to port the Window2BMP -Function to AHK,
http://community.thinbasic.com/index.php?topic=1690.msg12291#msg ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Sun Apr 27, 2008 11:14 pm Subject: OpenGL DllCalls |
| I'm pretty sure I got all of the constants from gl.h and glu.h. The Gdi constants are needed but I'm currently trying to collect the ones I see mentioned in tutorials. When I get a decent list I'll up ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Sat Apr 26, 2008 6:04 pm Subject: OpenGL DllCalls |
Thx holomind. I think too, we should wrap the functions. If we have a example of ataching textures I'll become really happy
However, I have a next Question:
In these examples, opengl binds a ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Sat Apr 26, 2008 11:16 am Subject: OpenGL DllCalls |
so a litte variation with color and animation..
DrawGLScene()
{
Global ;hDC, fRotation
;-----------------------------------------
;mod to rotate - IsNulll
SetF ... |
Topic: OpenGL DllCalls |
holomind
Replies: 53
Views: 2636
|
Forum: Scripts & Functions Posted: Sat Apr 26, 2008 10:36 am Subject: OpenGL DllCalls |
Hi, the redbook looks good, interesting introduction.
i have ported the first example to ahk.
you can download (
;////////////////////////////////////////////////////////////////////////////// ... |
| |