Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ambigous name detected
#1
I recently switched to version 3.0.3 and after Moving the forms and modules of Mirage.vbp to a folder called Src,
I re-added them by right clicking on the project explorer, selected add, and clicked on every form and module.

Then, when I try to run Mirage (f5)
I get this error, and the debugger shows Sub TcpInit() under modClientTCP

Code:
Compile error:

Ambigous name detected: SEP_CHAR

I know SEP_CHAR is defined because I found where it is defined in a module
Reply
#2
This usually means something is declared more than once. Check to see if sep_char isn't defined anywhere else besides where you found it.
Reply
#3
Thank you!

I found one in ModTypes and one in ModTCP, which one should I delete?
Reply
#4
It doesn't really matter. Pick whichever one you want. I'd keep it in TCP as that's just where I picture it being used. I think in MSE 1 & 2, it's in the Globals.bas, but I've never used 3.03 or 3.07, so I don't think it has that module.

Pick whichever module you want as long as you remember where you put it. Wink
Reply
#5
Woah! In 3.0.3 the following forms and modules are not used anywhere, they just exist in the folder for the client...

frmInventory.frm
frmInventrory.frx
frmGetData.frm
frmGetData.frx
modBitmap.bas
modCatalyst.bas
modTCP.bas

and the server...
modCatalyst.bas
modTCP.bas

is there any reason these are there?
Reply
#6
This is getting offtopic, but you mean that those files are in the source folder, but not in the actual VB6 project? I know catalyst was a useless speed modification. Why the TCP module is not included, I don't know (I've never used 3.03 and 3.07). But you don't need to really worry about them. If they aren't included, they aren't needed. If you want to know about the other modules and other Visual Studio files, ask other members as I don't know much about them.
Reply
#7
Ok, that clears things up, thanks!
Reply
#8
I used 303 as a base for FPO and never had those files.. Or the one thing being defined twice.. O_o
Reply
#9
I remember having them files when I touched 303 a while ago, They were totally useless, I think they were just there ready for an update or something, You could safely delete them since vb doesn't need them
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)