|
Haim
|
 |
« Reply #100 on: July 31, 2008, 07:28:12 AM » |
|
Sapero,
I installed the last version of your header files, and encountered a problem with sqldescribecol function. The program compiled OK but the values returned from tje function are null. It works correctly with the original version of "sql.inc" that comes with the aurora RC2 installation package. I did not check other functions.
Haim
|
|
|
|
|
Logged
|
|
|
|
|
sapero
|
 |
« Reply #101 on: July 31, 2008, 09:27:18 AM » |
|
It works for me, maybe show your source? (attached demo that connects via dsn)
|
|
|
|
|
Logged
|
|
|
|
|
Haim
|
 |
« Reply #102 on: August 02, 2008, 06:33:13 AM » |
|
Sapero, thanks for the example code. I got my program to work with your current include files by changing the the type of the handle in my program from UINT to POINTER. It now works correctly on both the original include files and yours, but I do not understand why.  Haim
|
|
|
|
|
Logged
|
|
|
|
|
sapero
|
 |
« Reply #103 on: August 02, 2008, 07:24:51 AM » |
|
Because of the conversion from original headers: typedef void * SQLHANDLE; // c++ #typedef SQLHANDLE pointer // aurora When you do not use the predefined types and define your sql handle as UINT, then it will cause problems when you pass this variable to a function or structure. The compiler will pass the address of your variable instead value. example: #typedef SQLHANDLE pointer
sub main() { pointer p = 1; UINT u = 1; SQLHANDLE h = 1; show(p); show(u); show(h); }
sub show(SQLHANDLE x) { print(0+x); }
|
|
|
|
« Last Edit: August 02, 2008, 07:31:29 AM by sapero »
|
Logged
|
|
|
|
|
Haim
|
 |
« Reply #104 on: August 02, 2008, 08:16:59 AM » |
|
Sapero, Thank you for explaining this. I would'nt have figured it out by myself. Haim
|
|
|
|
|
Logged
|
|
|
|
|
sapero
|
 |
« Reply #105 on: October 19, 2008, 08:24:21 PM » |
|
This update fixes the problem with D3DCAPS structure ( link) - added a underscore to RasterCaps and LineCaps in d3d8caps.inc, d3d9caps.inc. Bass header has been renamed to bass24.inc to make versioning possible. Sendspace links can expire fast if nobody will download. Links expired.
|
|
|
|
« Last Edit: June 09, 2009, 08:05:03 AM by sapero »
|
Logged
|
|
|
|
|
Ionic Wind Support Team
|
 |
« Reply #106 on: October 19, 2008, 09:12:16 PM » |
|
|
|
|
|
« Last Edit: October 19, 2008, 09:36:19 PM by Paul Turley »
|
Logged
|
Ionic Wind Support Team
|
|
|
|
Ionic Wind Support Team
|
 |
« Reply #107 on: October 19, 2008, 09:36:36 PM » |
|
Links updated. Initial uploads were corrupted.
|
|
|
|
|
Logged
|
Ionic Wind Support Team
|
|
|
|
Ionic Wind Support Team
|
 |
« Reply #108 on: October 21, 2008, 01:09:59 AM » |
|
Just a warning to Emergence users. If your using the original "windows.inc" that comes with Emergence then be sure to install Sapero's headers to a different directory, or rename the windows.inc file before installing.
Thanks, Paul.
|
|
|
|
|
Logged
|
Ionic Wind Support Team
|
|
|
|
sapero
|
 |
« Reply #109 on: October 21, 2008, 08:52:47 AM » |
|
Update for Emergence - the header windows.inc is now renamed to windowssdk.inc. The windows.inc file that comes with emergence isn't compatible with sdk header. Previous versions of this instaler did overwrite this file, which has caused some problems with a few users.
Links expired.
|
|
|
|
« Last Edit: June 09, 2009, 08:05:24 AM by sapero »
|
Logged
|
|
|
|
|
Ionic Wind Support Team
|
 |
« Reply #110 on: October 21, 2008, 10:12:57 AM » |
|
download on the site updated. Thanks Sapero.
|
|
|
|
|
Logged
|
Ionic Wind Support Team
|
|
|
|
Rock Ridge Farm (Larry)
|
 |
« Reply #111 on: November 14, 2008, 07:06:07 PM » |
|
Downloaded both from both sites just to make sure you get a vote.
|
|
|
|
|
Logged
|
|
|
|
|
sapero
|
 |
« Reply #112 on: November 16, 2008, 09:43:05 AM » |
|
Thanks Larry.
Here is important update for Emergence - fixes invalid types in gdiplus headers. Updated files are also available in attachment from "Office Menu" thread.
Links expired.
|
|
|
|
« Last Edit: June 09, 2009, 08:05:50 AM by sapero »
|
Logged
|
|
|
|
|
Hootie
|
 |
« Reply #113 on: November 16, 2008, 02:21:12 PM » |
|
Sapero,
Prevxcsi reports a worm in glaux.dll that is in your headers package.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Hootie
|
 |
« Reply #115 on: November 16, 2008, 02:52:30 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
sapero
|
 |
« Reply #116 on: November 16, 2008, 03:40:36 PM » |
|
glaux.dll was created by me long time ago, with Visual Studio 6. Because the file was very big - 1MB I have compressed it with UPX. You can use upx to unpack it.
Here's the source code: (Links expired)
I have recompilled it right now using vs2005 - the size of dll is 1.05 MB.
|
|
|
|
« Last Edit: June 09, 2009, 08:06:24 AM by sapero »
|
Logged
|
|
|
|
|
sapero
|
 |
« Reply #117 on: December 05, 2008, 07:30:41 PM » |
|
Next release (1.9.1.9) fixes missing BYVAL keyword in VARIANT parameters. I overlooked about 20 variants, but today a quick search with regex found all bugs.
Links expired.
|
|
|
|
« Last Edit: June 09, 2009, 08:07:03 AM by sapero »
|
Logged
|
|
|
|
|
Hootie
|
 |
« Reply #118 on: December 15, 2008, 10:41:04 PM » |
|
Hi Sapero,
Just wanted to let you know that including d3dx9math.inc gives 3 unknown datatype errors in d3dx9anim.inc.
|
|
|
|
|
Logged
|
|
|
|
|
sapero
|
 |
« Reply #119 on: December 16, 2008, 03:09:11 AM » |
|
This is not a problem if you include d3dx9.inc before 
|
|
|
|
|
Logged
|
|
|
|
|
Hootie
|
 |
« Reply #120 on: December 16, 2008, 11:17:03 AM » |
|
Great, Thanks! 
|
|
|
|
|
Logged
|
|
|
|
|
Hootie
|
 |
« Reply #121 on: December 16, 2008, 11:43:21 PM » |
|
Ok, so I tested the d3dxmath functions a bit and it appears to be returning a wrong answer. Or I am confused. Anyway, I tried this: D3DXMATRIX matrix3
D3DXMatrixRotationX(&matrix3, 22.0) amLogMessage(USING("Matrix 11 = %f####.#### Matrix 12 = %f####.#### Matrix 13 = %f####.#### Matrix 14 = %f####.####", matrix3.m[0,0], matrix3.m[0,1], matrix3.m[0,2], matrix3.m[0,3])) amLogMessage(USING("Matrix 21 = %f####.#### Matrix 22 = %f####.#### Matrix 23 = %f####.#### Matrix 24 = %f####.####", matrix3.m[1,0], matrix3.m[1,1], matrix3.m[1,2], matrix3.m[1,3])) amLogMessage(USING("Matrix 31 = %f####.#### Matrix 32 = %f####.#### Matrix 33 = %f####.#### Matrix 34 = %f####.####", matrix3.m[2,0], matrix3.m[2,1], matrix3.m[2,2], matrix3.m[2,3])) amLogMessage(USING("Matrix 41 = %f####.#### Matrix 42 = %f####.#### Matrix 43 = %f####.#### Matrix 44 = %f####.####", matrix3.m[3,0], matrix3.m[3,1], matrix3.m[3,2], matrix3.m[3,3]))
Which returned the following: INFO: Matrix 11 = 1.0000 Matrix 12 = 0.0000 Matrix 13 = 0.0000 Matrix 14 = 0.0000 INFO: Matrix 21 = 0.0000 Matrix 22 = -1.0000 Matrix 23 = 0.0089 Matrix 24 = 0.0000 INFO: Matrix 31 = 0.0000 Matrix 32 = -0.0089 Matrix 33 = -1.0000 Matrix 34 = 0.0000 INFO: Matrix 41 = 0.0000 Matrix 42 = 0.0000 Matrix 43 = 0.0000 Matrix 44 = 1.0000
Given that a 4x4 X rotation matrix is defined as follows: 1 0 0 0 0 cos(a) sin(a) 0 0 -sin(a) cos(a) 0 0 0 0 1 Shouldn't the value of Matrix 32 be positive 0.0089 and the value of Matrix 23 be -0.0089 since sin(22.0) = -0.0089? Am I missing something?
|
|
|
|
|
Logged
|
|
|
|
|
Ionic Wind Support Team
|
 |
« Reply #122 on: December 17, 2008, 12:09:47 AM » |
|
I remember getting caught up with this when writing the 3D engine for Emergence, which was written in C++. C++ uses row major ordering for arrays, Emergence/Aurora and many other languages use column major ordering for arrays. Which effects how an array is stored in memory. The D3DX library was written in C++. Just reverse your indexes and you'll have correct results. D3DXMatrixRotationX(&matrix3, 22.0) amLogMessage(USING("Matrix 11 = %f####.#### Matrix 12 = %f####.#### Matrix 13 = %f####.#### Matrix 14 = %f####.####", matrix3.m[0,0], matrix3.m[1,0], matrix3.m[2,0], matrix3.m[3,0])) amLogMessage(USING("Matrix 21 = %f####.#### Matrix 22 = %f####.#### Matrix 23 = %f####.#### Matrix 24 = %f####.####", matrix3.m[0,1], matrix3.m[1,1], matrix3.m[2,1], matrix3.m[3,1])) amLogMessage(USING("Matrix 31 = %f####.#### Matrix 32 = %f####.#### Matrix 33 = %f####.#### Matrix 34 = %f####.####", matrix3.m[0,2], matrix3.m[1,2], matrix3.m[2,2], matrix3.m[3,2])) amLogMessage(USING("Matrix 41 = %f####.#### Matrix 42 = %f####.#### Matrix 43 = %f####.#### Matrix 44 = %f####.####", matrix3.m[0,3], matrix3.m[1,3], matrix3.m[2,3], matrix3.m[3,3]))
Later, Paul.
|
|
|
|
|
Logged
|
Ionic Wind Support Team
|
|
|
|
Hootie
|
 |
« Reply #123 on: December 17, 2008, 12:18:55 AM » |
|
Thanks Paul! I thought I was losing my mind there for a bit. 
|
|
|
|
|
Logged
|
|
|
|
|
Ionic Wind Support Team
|
 |
« Reply #124 on: December 17, 2008, 12:26:45 AM » |
|
You are welcome. Always glad to help.
|
|
|
|
|
Logged
|
Ionic Wind Support Team
|
|
|
|