PDA

View Full Version : OT: download this



V-man
07-11-2002, 11:56 PM
Hello,

Could some people download my little app and give feedback. I don't want to make an official announcement on the main page just yet.

It's a control panel application for GL... the web page gives the details with screenshots.
http://www.geocities.com/vmelkon/openglcpa.html

Enjoy!
V-man

knackered
07-12-2002, 01:27 AM
Doesn't appear in Control Panel in Windows 2000.
Looks good from the screenshots, so you've succeeded in irritating me! http://www.opengl.org/discussion_boards/ubb/smile.gif

Julien Cayzac
07-12-2002, 01:57 AM
Sorry, this site is temporarily unavailable!

Hmm... couldn't you get a real web server? http://www.opengl.org/discussion_boards/ubb/smile.gif

Julien.

opla
07-12-2002, 02:35 AM
Doesn't have any control panel icon either.
Got a error while intalling (MessageBox saying that "uninstaller setup failed to initialize. You may not be able to uninstall this product").
My system is now soiled with unused files...

But your project looks cool anyway, I would like to test it.

Lev
07-12-2002, 02:49 AM
Originally posted by deepmind:
Sorry, this site is temporarily unavailable!

Hmm... couldn't you get a real web server? http://www.opengl.org/discussion_boards/ubb/smile.gif

Julien.

The same here. Geocities sucks.

-Lev

[This message has been edited by Lev (edited 07-12-2002).]

V-man
07-12-2002, 06:34 AM
fudge! This is exactly why I decided to have a little test.

Try this: when you get that "not found window", press your back button in your browser.

V-man

Adrian
07-12-2002, 06:44 AM
The back button is disabled.

V-man
07-12-2002, 06:46 AM
Originally posted by opla:
Doesn't have any control panel icon either.
Got a error while intalling (MessageBox saying that "uninstaller setup failed to initialize. You may not be able to uninstall this product").
My system is now soiled with unused files...

But your project looks cool anyway, I would like to test it.


I know, I mentioned that on the web page. I will fix it in the future.

Free advice : don't uninstall!

V-man

knackered
07-12-2002, 08:30 AM
Just produce an exe, for heavens sake! Trying to be too clever, if you ask me...

V-man
07-12-2002, 08:06 PM
OK, version 1.01 is up at the same site.

Microsoft doesn't give clear explanations about their OSs so I have to guess (trial and error)!

Can a couple of people with XP and 2000 download and test. knackered?

When you download and run setup, post a message here saying what your OS is and service pack.Also, pay attention to a message box that says "Path 2 is to be taken"

This version will not clean up the previous installs on 2000 and XP. I was hurrying and I forgot http://www.opengl.org/discussion_boards/ubb/smile.gif

V-man

Lev
07-13-2002, 12:32 AM
v1.01 still doesn't work for me (WinXP pro german (many hotfixes installed)).

and there was a "Path 2 is to be taken" msgbox.

even launching the .cpl file by hand doesn't work. As knackered said, provide an .exe!

-Lev

knackered
07-13-2002, 04:34 AM
I can't connect to your site, because you're using free webspace, and there must be someone with it open in their browser somewhere in the world!
Just a thought, but I seem to remember your .cpl does appear in the system32 directory on win2k, but doesn't appear in the control panel itself, therefore you must have misplaced your registry settings.
I wonder if I do this, will it work? :-
"control C:\winnt\system32\glcp.cpl"

(or whatever your cpl is called)

Will this work?

V-man
07-13-2002, 06:43 AM
>>>Just a thought, but I seem to remember your .cpl does appear in the system32 directory on win2k, but doesn't appear in the control panel itself, therefore you must have misplaced your registry settings.
I wonder if I do this, will it work? :-
"control C:\winnt\system32\glcp.cpl"

(or whatever your cpl is called)

Will this work?<<<

Let me explain. The previous install was a mistake on win2k and XP. It is not suppose to be in \system32\
You should have a folder C:\Program Files\OpenGLCPA
You can thinker around if you wish. Try
ShellExecute(NULL, NULL, "control", "OpenGL32CPA.cpl", NULL, SW_SHOWNORMAL);

without deleting anything in \system32\
No one with other OSs are complaining, so that's good news!
And I can't help it if a whole bunch of people decide to download at the same time.

V-man

V-man
07-13-2002, 10:08 AM
New Installer is up. version number is still v1.01, but you will notice differences in the installer.

This version will clean files and registry keys before installing.

#1 you have to be Admin
#2 close control panel, if open
Only need a couple of people with win 2000 and XP for this test!

thanks for the help! It should work!
V-man

Lev
07-13-2002, 12:58 PM
Still doesn't work for me. No new item is shown up in the control panel and launching the .cpl file by hand does not work (nothing happens)

WinXP pro.

-Lev

V-man
07-13-2002, 02:39 PM
OK, thanks for trying Lev.

I might decide to make a test program so that download and testing will be simpler.

V-man

guju
07-14-2002, 09:33 PM
I tried your progy on my Win XP prof.(no service pack) german and it did not work. Two warnings:
- MessageBox saying that "uninstaller setup failed to initialize. You may not be able to uninstall this product"
-Path 2 is to be taken
No Icon in the control panel

knackered
07-14-2002, 11:06 PM
Originally posted by V-man:
No one with other OSs are complaining, so that's good news!

Vman, you're not still using windows 98 are you?! http://www.opengl.org/discussion_boards/ubb/wink.gif Win2k is defacto standard now, y'know.

V-man
07-15-2002, 09:19 AM
I run NT 4 on my machine. Very stable except for IE related junk like the explorer.
The nvidia drivers are top notch.
Uses 47MB at boot up.
In one word, it's a man's OS, not like that sissy 2K stuff.

I'll be testing things myself in a couple of days. Busy with school work for now.

V-man

knackered
07-15-2002, 09:40 AM
Win2k is NT5 by another name, mate!
And guess what? You can use DirectX8.1 on it too! And all future versions of DirectX!
One word - 'useful'.
So there!

ChrisBond
07-15-2002, 12:55 PM
Running on a Win2K machine also - did not display, but you knew that.

Looked up where you stuck your registry entry - seems right to me, but control panel doesn't like it. When I run manually with

>c:\winnt\system32\control.exe "c:\program files\OpenGLCPA\OpenGL32CPA.cpl"

control.exe starts, hangs around for a few seconds, then dissapears w/out ever starting your dialog.

Looking at your dependencies, I notice something called "GLU_130.dll" that I don't have. The funtions being called are mangled (i.e., "_gluBuild2DMipmaps@28, _gluGetString@4, etc.) as though they aren't being exported correctly...?

I note you also have a dependency on the "regular" GLU32.dll.

My guess (and only a guess!): in the depths of control.exe there's something that walks each .cpl's dependencies, and it's failing because this dll can't be found. But control.exe isn't putting up a dialog to let us know - instead, it just doesn't run that app. Probably so you can never open up control panel and get hit with lot's of "a needed .dll can't be found" messages if third-party .cpls don't remove their registry entries when uninstalled.

If that's the case, then it's interesting that it runs on NT but not Win2K... Maybe you specified that .dll in your import list, but never call any of it's functions? So simply running the app wouldn't cause the (non-existant) .dll to be loaded, thus a less strict control.exe would allow the app to run, and nothing would blow up.

Incidentally, regarding the WinNT vs. Win2K argument: Isn't the fight *supposed* to break out between Linux and Windows? Or at least Mac OS and Windows? If we keep drawing these lines, I won't be able to remember whose side I'm on!!! http://www.opengl.org/discussion_boards/ubb/smile.gif

-Chris Bond

Mezz
07-16-2002, 12:29 AM
I used to run NT4 and Win98 on a dual boot so I could actually use DirectX if I rebooted into 98.
After 6 months I got incredibly sick of that setup and went to Win2K (but now I have no excuse to ignore DX coding.... damn) http://www.opengl.org/discussion_boards/ubb/wink.gif

-Mezz

V-man
07-16-2002, 11:29 AM
Nice catch Chris Bond. Kind of a mismanagement with my backup files, I think.

It's kind of weird but some of the time, the icon is displayed. Try making a copy of glu32.dll, rename to glu32_130.dll, and put it in system32 folder. If all else is fine, it should run.

Knackered, I don't use DX in any way, even thought I have DX8 wrapper., so check mate. http://www.opengl.org/discussion_boards/ubb/smile.gif

//edit// I meant the icon is displayed on my system when I tried removing a DLL.

V-man

[This message has been edited by V-man (edited 07-16-2002).]

knackered
07-16-2002, 11:30 AM
So why d'ya download the wrapper? http://www.opengl.org/discussion_boards/ubb/wink.gif

V-man
07-16-2002, 11:39 AM
Because I have a folder called junk, in which I place DX related stuff, and it needed some files in there. I should change the folder icon to a hazardous waster symbol. http://www.opengl.org/discussion_boards/ubb/smile.gif

V-man

knackered
07-16-2002, 10:48 PM
Indeed your argument is strong, vman. OpenGL forever!

V-man
07-17-2002, 08:35 AM
So is it working with my suggestion there or no dice?

Try to experiment with the registry there also.

Put C:\Program Files\OpenGLCPA\OpenGL32CPA.cpl

as the string.
Hopefully, I will test things for myself soon.

V-man

ChrisBond
07-18-2002, 07:29 AM
V-Man,

Nope doesn't work... because the names the .cpl is looking for are mangled ("_gluPickMatrix@36", for example) so they don't exist in the regular GLU32.dll :

more clearly:

Functions that the .cpl is looking for in GLU32.dll:
gluDeleteTess
gluNewTess
gluTessBeginContour
.
.
.
gluTessVertex

All of these do, in fact, exist in GLU32.dll, and are being resolved correctly.

Functions the .cpl is looking for in GLU32_130.dll:

_gluBuild2DMipmaps@28
_gluGetString@4
_gluLookAt@72
_gluPerspective@32
_gluPickMatrix@36

These functions do *not* exist (at least, not by these names) in GLU32.dll, therefore simply renaming it to GLU32_130.dll doesn't help - sorry!

You pretty much need to either distribute the GLU32_130.dll or recompile your .cpl without the above dependencies.

Again, I'm only ~25% sure this is the actual problem... control.exe would have to be pretty savy to notice this before the .cpl was actually running. But since it runs on Win98/NT that's the only thing I can think of.

-Chris Bond

V-man
07-18-2002, 05:59 PM
Thanks again ChrisBond,

I didn't realize the upper right window showed the functions being used. What's odd is that I'm not using the GLU tesselator.
If you open opengl32.dll, you will see it has a DEPENDENCY on glu????????

The font functions must be using the tesselator!

So I fixed up the installer and the dll problem.

Lock and load and fire away.

V-man