Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Vb6: Compile Error User-Defined Type Not Identified. (server) [RESOLVED]


Ganjika
 Share

Recommended Posts

I get the following error when trying to compile the Server (client compilse fine).

Although the picture below doesn't show it - it usually highlights where it says CAMERA AS RECT.

The code im trying to add is to make 9999 the max map limit.

![](http://i1127.photobucket.com/albums/l632/EsoGuildPB/error-2.png)
Link to comment
Share on other sites

> Public _Camera as RECT ._
>
> This happened after trying to compile after adding :
>
> Public Const MAX_MAPS As Long = 100

Its in modGlobals. This error occurs when attemping to compile and is preventing me from creating the .exe for server (client works fine).

I looked on google and some folks who got this error in unrelated code for unrelated to eclipse projects said that

setting a reference or component fixed it.
Link to comment
Share on other sites

> there is no Public Camera as RECT in server and i can find a reason why it should be what changes have you make to the source?

[http://www.touchofde…gon-eclipse-20/](http://www.touchofdeathforums.com/community/index.php?/topic/127573-dragon-eclipse-20/)

[Dragon Eclipse thread posted above]

This is a copy of dragon eclipse so none other than how dragon eclipse comes out of the

download (the most recent one that i know of). It is in modglobal, I think i saw it in the source for modglobal online too.
Link to comment
Share on other sites

> RECT is a DirectX thing and unless the server uses DirectX it should not be there
>
> anyway in vb6 go to project reference find```
> DirectX7 for Visual Basic Type Library
> ```and check the box
>
> this should fix it

I did that but now I am recieving the error "compile error: variable not defined' and highlights (in modDatabase)

_frmMain_.optMOff.Value = True
Link to comment
Share on other sites

downloaded a new install and moved all the files over to it, it works and i'm able to compile as of the new install, if i cant compile after i put files in i will psot back, thanks everyone. =] (not sure what it was, maybe my install was bad :shrug:, i hadn't done anything to it yet up until that point… od).
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...