Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Unresolved External Symbol Error - Old Project Collapse All
Subject Author Date
Aaron Ellery Nov 25, 2003 - 9:32 PM

Hi Guys,

I have just finished go through all the code on an old visual C++ project so that it compiles on .Net. I have added the code for a MDITAB type interface and get the following error when linking:

Tfp95frm.obj : error LNK2001: unresolved external symbol "class CExtCmdManager::CExtCmdManagerAutoPtr g_CmdManager" (?g_CmdManager@@3VCExtCmdManagerAutoPtr@CExtCmdManager@@A)

I have included the appropriate header files and set up the additonal libraries in the project settings, but I just can’t get it to work.

Also when adding ProfUIS’s MDITAB function to a project, do I only need to place it on the OnCreate method, or are there other places I need to modify?

Thanks again for all the help.

Aaron.

Sergiy Lavrynenko Nov 26, 2003 - 3:37 AM

Dear Aaron,

To use MDI tabs you just need to define CExtTabMdiWnd property in your frame window and invoke its Create() method near the end of the CMainFrame::OnCreate() method.

The unresolved link to g_CmdManager global variable means you did not added Prof-UIS support to your project correctly. You don’t have to include all the library headers. It is enough to include only the Prof-UIS.h file to your StdAfx.h.

Best regards, Sergiy.

Aaron Ellery Nov 26, 2003 - 4:12 AM

Sergiy,

Have added "C:\Program Files\FOSS Software Inc\Prof-UIS (trial)\Bin_710" to the additional library directory under ’linker’ settings and have added "C:\Program Files\FOSS Software Inc\Prof-UIS (trial)\Include" to the additional include directory under ’C++\General’ settings. These were both accessed via the ’Project|Settings’ menu command in the Visual C++ .NET 2003 IDE.

Is there anything else I need to do? Still get the ’unresolved external symbol’ error.

Sorry about all the questions, but my supervisor won’t let me purchase the commercial version until he knows for sure that it will work with this app.

Thanks again,

Aaron.

Sergiy Lavrynenko Nov 26, 2003 - 4:56 AM

Dear Aaron,

I sent you e-mail with the suggestion how to kill the "unresolved symbol" liker error.

Best regards, Sergiy.

Aaron Ellery Nov 26, 2003 - 5:38 AM

Sergiy,

Have not recieved the email. Please email to:
mystfull@iinet.net.au

Cheers,

Aaron.

Sergiy Lavrynenko Nov 26, 2003 - 7:13 AM

Dear Aaron,

I just sent you my letter second time.
I did not receive any "undelivered" reports from any mail servers.
Your e-mail address was OK.

Regards, Sergiy.