IonicWind Software
February 04, 2012, 10:41:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: CBasic Client/Server Library 1.01 released!
 
   Home   Help Login Register  
Pages: [1] 2 3 ... 9
  Print  
Author Topic: Sapero's Windows include files  (Read 38148 times)
0 Members and 2 Guests are viewing this topic.
Ionic Wind Support Team
Team Member
Hero Member
*****
Offline Offline

Posts: 5774


WWW
« on: May 23, 2006, 04:09:22 PM »

Sapero has done a bang up job converting the windows header files for Aurora.  I've uploaded them to this server for easier access.

http://www.ionicwind.com/downloads/aurora.include.21.11.2006.zip

I'll update them when he does Wink
« Last Edit: April 11, 2011, 09:40:00 AM by LarryMc » Logged

Ionic Wind Support Team
mrainey
Paid Subscriber
Sr. Member
*****
Offline Offline

Posts: 369



WWW
« Reply #1 on: May 23, 2006, 05:10:22 PM »

Sapero, your efforts and talents are greatly appreciated.
Logged

Software For Metalworking
http://closetolerancesoftware.com
Parker
Partner Developer
Hero Member
*****
Offline Offline

Posts: 1332


« Reply #2 on: May 23, 2006, 05:34:48 PM »

Thank you, these are very useful for people like me who don't like to look up and convert all the declares Wink
Logged
Mike Stefanik
Partner Developer
Hero Member
*****
Offline Offline

Posts: 602


WWW
« Reply #3 on: May 23, 2006, 06:17:14 PM »

Any chance these could be folded into the actual distribution (with acknowledgement, of course)?
Logged

Mike Stefanik
www.catalyst.com
Catalyst Development Corporation
srvaldez
Newbie
*
Offline Offline

Posts: 5


« Reply #4 on: May 23, 2006, 11:03:51 PM »

thank you Sapero.  Smiley
Logged
Zen
Partner Developer
Hero Member
*****
Offline Offline

Posts: 1137


I will think of something to put here later...


« Reply #5 on: May 24, 2006, 04:10:39 AM »

3 Cheers for Sapero Wink

Lewis
Logged
peaslee
Partner Developer
Hero Member
*****
Offline Offline

Posts: 886


Location: Site Y


WWW
« Reply #6 on: May 24, 2006, 12:13:09 PM »

Yes, very useful.

You could get the files by following the link in his signature, but the site was hard to figure out.
Logged

Bruce Peaslee
"I have long been of the opinion that if work were such a splendid thing the rich would have kept more of it for themselves."
Bruce Grocott
Ionic Wind Support Team
Team Member
Hero Member
*****
Offline Offline

Posts: 5774


WWW
« Reply #7 on: May 24, 2006, 12:14:46 PM »

And it makes you wait like 40 seconds before the download begins, that is what I meant by 'easier' access Wink
Logged

Ionic Wind Support Team
sapero
Senior Developer
Hero Member
*****
Offline Offline

Posts: 1292



« Reply #8 on: June 03, 2006, 05:07:21 PM »

Uploaded new build 3 june 2006 (8MB zip)
[expired]
Scroll down, click FREE.

Added SDL (+mixer +image -net) and Opengl includes.
Added converted OGL examples from http://www.codesampler.com/oglsrc.htm (pages 1-4).
Created a vector3f class wrapper that allows adding, multiplying... 3float-vectors.
Here is a other class wrapper - matrix4x4f - with fewer implemented methods: identity, rotate, transformVector, invertMatrix and transformPoint.
The vector3f class is in two versions: standard aurora code and nasm language (default for release, disabled for debug build-linker crash).

Finished ShlDisp.inc Smiley see in BrowseFolder_shell.src for small demo.

Added easier unicode api access (80% done):
Code:
extern int wvsprintfA(LPSTR *q, pointer arglist);
extern int wvsprintfW(LPWSTR *q, pointer arglist);
#ifdef UNICODE
extern int wvsprintf alias wvsprintfW(LPWSTR *q, pointer arglist);
#else
extern int wvsprintf alias wvsprintfA(LPSTR *q, pointer arglist);
#endif
So just define UNICODE before #include

Just a note about opengl programming with aux* functions:
In Microsoft SDK was a glaux static library that had references to C-library symbols like __security_cookie or _api@number.
Have created a glaux.dll that exports all the symbols defined in GLAux.inc Grin
If you like to use opengl - copy the dll from \include\gl\glaux dll.zip\ to program or system directory,
and create a import library for: glaux.dll, glu32.dll and opengl32.dll

Let me know if I'd forgot a .lib Cheesy
Happy opengl'ing!
« Last Edit: May 19, 2007, 01:42:02 PM by sapero » Logged

Barney
Paid Subscriber
Sr. Member
*****
Offline Offline

Posts: 360


« Reply #9 on: June 03, 2006, 06:06:00 PM »

I knew Premium membership at Rapidshare will come in handy one day. Downloaded at full speed in less than a minute. Waiting time 0.1 seconds. Smiley

Thank you for the updated files, sapero.

Barney
Logged
sapero
Senior Developer
Hero Member
*****
Offline Offline

Posts: 1292



« Reply #10 on: June 03, 2006, 06:23:30 PM »

Found this bug, forgot to set up esi in vector3f@mulvf.
new download link: http://rapidshare.de/files/22138662/aurora.include.3.june.2006b.zip.html

On rapishare download is always good, but upload on my dsl is only 16KB/s (this zip 8 minutes)
Logged

Ionic Wind Support Team
Team Member
Hero Member
*****
Offline Offline

Posts: 5774


WWW
« Reply #11 on: June 03, 2006, 06:38:17 PM »

Updated on this server as well Wink
Logged

Ionic Wind Support Team
sapero
Senior Developer
Hero Member
*****
Offline Offline

Posts: 1292



« Reply #12 on: June 06, 2006, 04:47:55 PM »

added some converted opengl examples, check Particle system (wow) Grin
http://rapidshare.de/files/22390839/aurora.opengl.update.6.june.zip.html
this download includes only opengl examples and new or changed includes.

Added Intel CG-Toolkit includes, changed RAND_MAX type to double (stdlib.inc), and added some methods to vertex3f class
Code:
vertex3f_a -= vertex3f_b * float
is now coded as
Code:
vertex3f_a.sub_mulvf(vertex3f_b, float)

ogl_particle_system - will not work on machine with intel 82845 graphics card (no extension or after driver update - no particles).
The CG version works ok (ogl_optimized_billboards)
If you install the cg-toolkit - copy binaries from Program Files\NVIDIA Corporation\Cg\bin\ to system dirsctory, and create import libraries for cg.dll and cggl.dll

Added fullscreen toggler - alt+enter  for all examples with animation, and if possible - mouse wheel handling
« Last Edit: June 06, 2006, 04:50:21 PM by sapero » Logged

Rock Ridge Farm (Larry)
Administrator
Hero Member
*****
Offline Offline

Posts: 1143


Plowing the net


WWW
« Reply #13 on: June 06, 2006, 05:13:16 PM »

I downloaded it. Had issues compiling - all the projects reference the 'D' dirve.
Is there a simple way to update the project files to another drive short of manually re-doing them?
Logged

Larry Sikes
Rock Ridge Farm
http://rockridgefarm.com
Forum:http://rockridgefarm.com/forum
mailto:larry@rockridgefarm.com
Ionic Wind Support Team
Team Member
Hero Member
*****
Offline Offline

Posts: 5774


WWW
« Reply #14 on: June 06, 2006, 07:05:23 PM »

When you first load a project the IDE gives you a chance to update the paths.  If you selected 'no' then you hosed Wink

Actually just unzip the archive again, open the project from the IDE and whan it gives you the chance chose 'yes'
Logged

Ionic Wind Support Team
John S
Partner Developer
Hero Member
*****
Offline Offline

Posts: 597



WWW
« Reply #15 on: June 06, 2006, 10:25:24 PM »

I got the following error for line:  extern _hinstance as HINSTANCE;   in  3dtest.src

Compiling Resources
Error compiling resources
Compiling...
3dtest.src
File: J:\Program Files\Aurora\examples\bass\3dtest\3dtest.src (12) duplicate definition of variable or label
Error(s) in compiling "J:\Program Files\Aurora\examples\bass\3dtest\3dtest.src"
Logged

John Siino, Advanced Engineering Services and Software
Parker
Partner Developer
Hero Member
*****
Offline Offline

Posts: 1332


« Reply #16 on: June 07, 2006, 05:07:46 PM »

Try searching through that file and the includes (tools->find in files) for _hinstance, because that means it was defined twice.
Logged
John S
Partner Developer
Hero Member
*****
Offline Offline

Posts: 597



WWW
« Reply #17 on: June 07, 2006, 05:34:09 PM »

I know that it was defined twice.
in 3dtest.src it is defined as:
    extern _hinstance as HINSTANCE;

in Windows.inc it is defined as:
    extern _hinstance as unsigned int;

Which one should I comment out?
Logged

John Siino, Advanced Engineering Services and Software
Parker
Partner Developer
Hero Member
*****
Offline Offline

Posts: 1332


« Reply #18 on: June 07, 2006, 06:09:59 PM »

Probably the one in 3dtest.src, in case anything else uses that value from windows.inc.
Logged
sapero
Senior Developer
Hero Member
*****
Offline Offline

Posts: 1292



« Reply #19 on: June 08, 2006, 03:41:15 AM »

Comment the one in 3dtest.src, it was defined here before I added it to windows.inc.
_hinstance is exported somewhere in aurora library, so GetModuleHandle(null) can be replaced with. One api less Smiley

In 3dtest.rc is a reference to icon from bass\netradio\icon.ico, try to fix the path manually from IDE or editing the rc script
Logged

Wijnand
Guest
« Reply #20 on: July 07, 2006, 05:39:38 AM »

I've just installed the Windows include files. When compiling an example I get an error:

Quote
Compiling...
IPicture.src
No Errors

Linking...
Aurora Linker v1.0 Copyright ©2005,2006 Ionic Wind Software
Error: Unable to open file C:\PROGRA~1\Aurora\libs\custom\comlib.lib
Error(s) in linking E:\aurora.exe

Does anyone know where I can get comlib.lib I've searched my own computer but I can't find it anywhere.

Thanks in advance

Wijnand


Logged
Wijnand
Guest
« Reply #21 on: July 07, 2006, 06:05:38 AM »

Seems I'm missing more libs

Code:
Compiling...
Icon Viewer.src
File: E:\aurora.include.3.june.2006b\examples\Icon Viewer.src (36) Warning: Temporary string assigned to POINTER, possible memory loss
File: E:\aurora.include.3.june.2006b\examples\Icon Viewer.src (43) Warning: Temporary string assigned to POINTER, possible memory loss
File: E:\aurora.include.3.june.2006b\examples\Icon Viewer.src (102) Warning: Temporary string assigned to POINTER, possible memory loss
File: E:\aurora.include.3.june.2006b\examples\Icon Viewer.src (108) Warning: Temporary string assigned to POINTER, possible memory loss
File: E:\aurora.include.3.june.2006b\examples\Icon Viewer.src (118) Warning: Temporary string assigned to POINTER, possible memory loss
No Errors

Linking...
Aurora Linker v1.0 Copyright ©2005,2006 Ionic Wind Software
Unresolved external _ListRemoveAll@8
Error: Unable to open file C:\PROGRA~1\Aurora\libs\custom\comlib.lib
Error: Unable to open file C:\PROGRA~1\Aurora\libs\LinkedList.lib
Error: Unresolved extern _ListRemoveAll@8
Error: Unresolved extern _ListEnumFromStart@12
Error: Unresolved extern _ListAddHead@8
Error: Unresolved extern _ListCreate@4
Error(s) in linking E:\aurora.exe

Anyone who knows how to resolve this.
Logged
sapero
Senior Developer
Hero Member
*****
Offline Offline

Posts: 1292



« Reply #22 on: July 07, 2006, 10:11:33 AM »

just post Smiley
the linked list has been created before the aurora's class, and is no more active project.
The comlib has only IIF and farcall functions, I don't know why the name is comlib Grin

The IIF can be extended to any 4-byte types:
Code:
extern float IIFF alias IIF(bool expression, float ifTrue, float ifFalse);
extern pointer IIFP alias IIF(bool expression, pointer ifTrue, pointer ifFalse);
...
with string it works too but sometimes raises INVALID_HEAP exception in ntdll.
Logged

Parker
Partner Developer
Hero Member
*****
Offline Offline

Posts: 1332


« Reply #23 on: July 07, 2006, 03:54:48 PM »

I released linked list functions with those names (except I don't remember ListEnumFromStart), but they shouldn't be in C format (e.g., ListCreate instead of _ListCreate@4).

You can use mine which the code is here on the forums (good idea if you're scared of classes), or you can use the CList derived classes.
Logged
KrYpT
Partner Developer
Sr. Member
*****
Offline Offline

Posts: 410



WWW
« Reply #24 on: July 20, 2006, 07:19:23 PM »

Thanx Sapero,
Awesome works Wink
Logged
Pages: [1] 2 3 ... 9
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page February 01, 2012, 09:38:01 AM