Oxygen Basic
Programming => Example Code => Topic started by: Peter on April 12, 2013, 11:00:17 AM
-
Deleted
-
1) short question peter: what happened with your "gl.dll" where you have had some problems some days ago? do you have solved this loading library problem of find another "gl.dll"?
2) isn't there your usual "sw.inc" missing for your last game example above? I've got an execution error ("gxo2.exe") cannot run that game, sorry.
frank
-
Hi Peter,
I'm getting blank white screens on your last few demos, something wrong with swapping buffers?
No problem with your earlier libraries. I am a fan of bird shoot. (Much to be preferred than doing it to real birds.)
-
I use latest oxygen.dll from Charles update
both programs compile okay...but when i run programs it simply crush ::)
-
Peter...
i download your Gamedemo.zip
i see that you use oxygen.dll (416kB) and latest dll is 455kB ,so it is not same dll ,right'
sorry but still just crush when i run program...maybe is really problem in dll ???
-
Hi Peter, Still no joy I'm afraid, both compiled demos have white screens. Which Windows are you using?. Mine is Vista.
-
I'm still willing to look at your source code in private, Peter. If there problems arising from your binding techniques, I might be able to fix them on the compiler side, or at least trap errors more effectively.
-
Sure.
You can use single name format as well. To test for binding failures at run-time, error returns at list of errors and clears itself.
li=LoadLibrary "kernel32.dll"
bind li
{
Sleep
GetCommandLineA
}
sleep 1000
print error
But bugs are usually subtle and well hidden, as we all know :)
-
@peter: yellow card (from soccer) for you!
http://www.oxygenbasic.org/forum/index.php?topic=673.0
what happened with your "gl.dll" where you have had some problems some days ago?
I never had problems. What do you want !
first thing peter, I don't like your bad tongue! ;(
if I am friendly with asking so I wanted to have a same-level friendly answer. You are not "JRS", who has every day bad mood or nearly every day...
next time I won't ask you anything. you have had any problems with "DLL Allergy" and myself I wanted only to help.
so the question was quite correct.
If this forum isn't able to respect every (few) person they are active at the board and wanted to push oxygen to a good basic language here on the forum and give more shelter and respect for persons I am quit here very soon. I think you are an adult person so you have no problem with that one, isnt it?
I have studied too and I hope you can see that here are different people at the board and they like oxygen (I hope so) and are working on it. I need not to help you. If you get some critics so you must handle it like a "profi" and don't be upset and unpolite. that's the right way for another guy here ;)
best regards, frank
-
I don't think so, he says the truth and this sounds like impolite.
Thank you Peter.
You may not like what I have to say but I'm not going to lie to you either. If I'm wrong, I'm the first to admit it and will apologize for the error.
-
Hi Peter,
Yes those declaration should be okay, though strictly speeking, glViewport uses ints.
Here are the standard primitives used in Opengl
typedef unsigned int GLenum;
typedef unsigned char GLboolean;
typedef unsigned int GLbitfield;
typedef signed char GLbyte;
typedef short GLshort;
typedef int GLint;
typedef int GLsizei;
typedef unsigned char GLubyte;
typedef unsigned short GLushort;
typedef unsigned int GLuint;
typedef float GLfloat;
typedef float GLclampf;
typedef double GLdouble;
typedef double GLclampd;
typedef void GLvoid;
GLbyte and GLubyte can cause problems, so we have to override them to be byte, when not dealing with char strings.
Oxygen bytes are currently unsigned.