| Mirage Source http://www.miragesource.net/forums/ |
|
| Ambigous name detected http://www.miragesource.net/forums/viewtopic.php?f=201&t=2623 |
Page 1 of 1 |
| Author: | Stomach Pulser [ Tue Sep 04, 2007 11:00 pm ] |
| Post subject: | Ambigous name detected |
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 |
|
| Author: | smchronos [ Tue Sep 04, 2007 11:09 pm ] |
| Post subject: | Re: Ambigous name detected |
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. |
|
| Author: | Stomach Pulser [ Tue Sep 04, 2007 11:14 pm ] |
| Post subject: | Re: Ambigous name detected |
Thank you! I found one in ModTypes and one in ModTCP, which one should I delete? |
|
| Author: | smchronos [ Wed Sep 05, 2007 12:35 am ] |
| Post subject: | Re: Ambigous name detected |
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. |
|
| Author: | Stomach Pulser [ Wed Sep 05, 2007 12:55 am ] |
| Post subject: | Re: Ambigous name detected |
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? |
|
| Author: | smchronos [ Wed Sep 05, 2007 1:04 am ] |
| Post subject: | Re: Ambigous name detected |
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. |
|
| Author: | Stomach Pulser [ Wed Sep 05, 2007 1:26 am ] |
| Post subject: | Re: Ambigous name detected |
Ok, that clears things up, thanks! |
|
| Author: | Matt [ Wed Sep 05, 2007 1:59 am ] |
| Post subject: | Re: Ambigous name detected |
I used 303 as a base for FPO and never had those files.. Or the one thing being defined twice.. O_o |
|
| Author: | funkynut [ Wed Sep 05, 2007 11:04 am ] |
| Post subject: | Re: Ambigous name detected |
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 |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|