FAQ

Q: what to do if I find a bug?
A:
Please first make sure that you’re on the latest version, because most likely the
bug has been fixed in the latest release.
To help us better investigate into the problem, please follow instructions below:
Compile on your specific platform using the server component source code
Use the --debug optionto start the serverin debug mode. For more information about options please refer to the installation guide.Execute the operation that invokes error messages, and send us the dup/dup.log file
Send us the output of View/Output/Debug in the Magic C++ IDE as well
Provide us with the type and version of the following items: server OS, complier, debugger and client OS
Send us the above information and we’ll try to fix the bug for you as soon as we can

Q: Is Magic C++ SHAREWARE or COMMERCIAL SOFTWARE?
A:
Magic C++ for linux/freeBSD is SHAREWARE. If you find it useful and continue to use it after 45 days, you are obligated to register it with us. For more information please check the "Purchase" web page of our website. Magic C++ for Unix is COMMERCIAL SOFTWARE only for enterprise users, you can contact us to get trial version for the platform mensioned above.

Q: Can Magic C++ work with Unix OS other than Linux/FreeBSD?
A:
Yes.
Magic C++ for Linux/FreeBSD which you can download freely can only work with Linux/FreeBSD. Magic C++ for Unix supports IBM AIX, Sun Solaris, HP-UX and SCO Unix. If you would like some further information on this product please contact us. We can also extend Magic C++ to support any other platforms to satisfy your requirement.

Q: After re-installing Magic C++, I lost all my server configurations. Why?
A:
That’s because you performed uninstall and then reinstall of Magic C++, which erases all the configurations.
To save your server configuration, please choose “repair” when promotedby the setup wizard for modify, repair or remove. You can reinstall the current version, or upgrade to a newer version with the “repair” option.

Q:How is remote server login’s user name and password set in Magic C++?
A:
There’re two methods:
To adopt the authentication mechanism of the server operation system please directly set the user name/password of the server’s telnet function. This requires the root user to startupthe server.
To adopt the authentication mechanism of Magic C++ please set user name and password yourself by typing
./magicd –a <username>, <password>

Q: When initiating server service process got the error message “ can’t bind local address”, what to do?
A:change the port to initiate your server service process, for example, changing to port 2005by typing
./magicd –p 2005
***Pease note that the server configuration in Magic C++ IDE need to be updated at the same time to work properly

Q: How to make sure the service process is working normally?
A:
Please make sure first that the client machine can communicate wit the server via Ftp and Telnet normally
Then you can do either of the following:
via Magic C++ IDE
Start Magic C++ IDE, make and configure server settings,
Set the user name/password of remote login and useRemote Development Authentication->Test to test.
Set the user name/password for ftp, and useFTP Authentication->Test to test
via command line interface
Connect via telnet to the port of Magic C++ service process with the command
telnet <ip address> <port number>, follow the prompt to enter user name/password to test.
Connect via ftp to the server using the command
ftp<ip address>, and follow the prompt to enter user name/password to test

Q: I have downloaded Magic C++ and the editor works well, but it always fails when I tryto start debugger, it tells me "start debugger error" after I choose the menu item
"Compile->Debug->Go".

A:
There are several reasons for the situation:
(1)The telnet port which you specify is not correspond to the remote server.Please check it at the advanced property sheet of the remote server, and verify the telnet port of redirection terminal is correspond to the telnet server( default is 23 ).
But there is one exception.If you have installed the server component(RDA) without superuser privilege and active the authentication ability provides by Magic C++, at this situation you must specify the telnet port of redirection terminal corresponding to the server component(RDA)(default is 2004).
(2)the remote telnet server works abnormally
(3)the maximum number of telnet connections for the user acount has reached
(4)the network is too busy to establish a connection before timeout
(5)some user account such as root maybe not allow to login remotely

Q: Connection to server failed because the SHADOW password verification wasn’t turned on in Linux, what to do?
A:
Magic C++ requires SHADOW password verification. Connection would fail if SHADOW isn’t turned on.
To solve the problem, download the latest server component source code and re-compile follow the instructions below:
./configure
check the src/Makefile File, see if HAVE_SHADOW_H macro is defined in DEFS, if yes, comment it out.
make
make install
Follow the source code installation guide to proceed from here.

Q: Connection to server failed because root remote login was forbidden by server, what to do?
A:
If you have a Linux server: Open /etc/pam.d/login file and comment out the first line
If you have a FreeBSD server: Open /etc/ttys file, and locate the #Pseudo Terminals line, the default is ttyp0 none network, change all pseudo terminals to ttyp0 none network off secure

Q: Magic C++ doesn’t work under IBM AIX platform, what to do?
A:
Open the src/config.h file in the server component source code package and comment out the #define SHORT_IAC line, re-compile, and it should be working properly.

Q: Does Magic C++ support multi-thread and multi-process debugging?
A:
Yes, Magic C++ supports multi-thread and multi-process debugging. Multi-thread debugging can be achieved via a single Magic C++ IDE, while multi-process debugging needs to initiate several Magic C++ IDE instances and in combination with the Attach command. Please note too that debuggers under unix/linux ( i.e. gdb, dbx) don’t offer powerful support for multi-thread debugging.

Q: Where is the template for generating Makefile, and can I manually modify it?
A :
It’s under Magic C++’s installed directory\templates\make\makefile, you can directly modified this templateto suit your own needs.

Q: How does Magic C++ do compiling and debugging?
A:
Magic C++ provides remote compiling and debugging functions, but doesn’t provide compileror debugger itself.Rather, through RDP( Remote Development Protocol), Magic C++ seamlessly integrates with all major unix/linux server compilers and debuggers to accomplish these tasks.

Q: I’m concerned about the performance of remote compiling and debugging over telnet/ftp, how is the speed of Magic C++?
A:
Over all Magic C++ provides superb performance even when working remotely.
Please note that if you’re connecting via telnet for the first time, because of the delay in logging into the remote server, it would appear to be slow, however all remote operations thereafter will be at decent speeds.
To reduce the delay of opening files, when you first open your remote project, mirror files will be built locally. When you open the same project again, Magic C++ will check for updates first. If the file hasn’t been modified, Magic C++ will read from the local mirror and thus reducing delays in file opening.

Q: Sometimes code aware such as auto completion, members list can't work.
A:
(1) The declaration is incorrect.
for example:
class CTest
{
// ...
};
class CMain
{
int funcA();
};
int CMain::funcB()
{
CTest a;
a.
// Auto completion and member list can't work because funcB has no declaration.
}
(2) There are errors in your codes.
for example:
int CMain::funcA()
{
CTest a
....
a.
// Auto completion and member list can't work due to fatal error, there's no semicolon after statement "CTest a".
}


 

 

 

 

 

 

 



 


 


 

 

Q: Can Magic C++ work with Unix OS other than Linux/FreeBSD?
A: Yes.
Magic C++ for Linux/FreeBSD which you can download freely can only work with Linux/FreeBSD. Magic C++ for Unix supports IBM AIX, Sun Solaris, HP-UX and SCO Unix. If you would like some further information on this product please contact us. We can also extend Magic C++ to support any other platforms to satisfy your requirement.

Q: Is Magic C++ SHAREWARE or COMMERCIAL SOFTWARE?
A: Magic C++ for linux/freeBSD is SHAREWARE. If you find it useful and continue to use it after 45 days, you are obligated to register it with us. For more information please check the "Purchase" web page of our website. Magic C++ for Unix is COMMERCIAL SOFTWARE only for enterprise users, you can contact us to get trial version for the platform mensioned above.

Q: I have downloaded Magic C++ and the editor works well, but it always fails when I try
to start debugger, it tells me "start debugger error" after I choose the menu item
"Compile->Debug->Go".

A:
There are several reasons for the situation:
(1)The telnet port which you specify is not correspond to the remote server.Please check it at the advanced property sheet of the remote server, and verify the telnet port of redirection terminal is correspond to the telnet server( default is 23 ).
But there is one exception.If you have installed the server component(RDA) without superuser privilege and active the authentication ability provides by Magic C++, at this situation you must specify the telnet port of redirection terminal corresponding to the server component(RDA)(default is 2004).
(2)the remote telnet server works abnormally
(3)the maximum number of telnet connections for the user acount has reached
(4)the network is too busy to establish a connection before timeout
(5)some user account such as root maybe not allow to login remotely

Q: Sometimes code aware such as auto completion, members list can't work.
A:
(1) The declaration is incorrect.
for example:
class CTest
{
// ...
};

class CMain
{
int funcA();
};

int CMain::funcB()
{
CTest a;
a.
// Auto completion and member list can't work because funcB has no declaration.
}

(2) There are errors in your codes.
for example:
int CMain::funcA()
{
CTest a
....

a.
// Auto completion and member list can't work due to fatal error, there's no semicolon after statement "CTest a".
}

Back to Top