Jump to content
  • Advertisement
Sign in to follow this  
Plasmarobo

CLI Configuration Issues

This topic is 3883 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm not a CLI expert and generally avoid code that I don't understand, but the Form Designer seemed like a nice simple way to create development tools (and it is, compared to what I would have to do otherwise). However, I am getting a Linker Error that I cannot quite identify.
LINK : error LNK2001: unresolved external symbol _Form1
The thing is, I can see the function Form1(void) in my code. I can't figure out why it's not being recognized.
#pragma once
#include "Chronicles Definition.h"
#include <string>
#include <iostream>
#include <fstream>
#include <vcclr.h>


namespace Editor {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;
	bool ToSTDstring( String^ source, std::string &target )
    {
    pin_ptr<const wchar_t> wch = PtrToStringChars( source );
    int len = (( source->Length+1) * 2);
    char *ch = new char[ len ];
    bool result = wcstombs( ch, wch, len ) != -1;
    target = ch;
    delete ch;
    return result;
	}
	void MarshalString ( String ^ s, std::string& os ) {
   using namespace Runtime::InteropServices;
   const char* chars = 
      (const char*)(Marshal::StringToHGlobalAnsi(s)).ToPointer();
   os = chars;
   Marshal::FreeHGlobal(IntPtr((void*)chars));
   
}
	CORE::Chronicles::Collection collect;
	/// <summary>
	/// Summary for Form1
	///
	/// WARNING: If you change the name of this class, you will need to change the
	///          'Resource File Name' property for the managed resource compiler tool
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)	{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}
		

	protected:

		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::TabControl^  tabControl1;
	protected: 
	private: System::Windows::Forms::TabPage^  tabPage1;















	private: System::Windows::Forms::TabPage^  tabPage2;
	private: System::Windows::Forms::Button^  LoadItems;
	private: System::Windows::Forms::Button^  SaveItems;
	private: System::Windows::Forms::Button^  LoadMagic;
	private: System::Windows::Forms::Button^  SaveMagic;




	private: System::Windows::Forms::Button^  button5;
	private: System::Windows::Forms::Button^  button6;
	private: System::Windows::Forms::Button^  button7;
	private: System::Windows::Forms::Button^  button8;
	private: System::Windows::Forms::Button^  button9;
	private: System::Windows::Forms::Button^  button10;

	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::ComboBox^  ItemIdBox;
	private: System::Windows::Forms::ComboBox^  ItemTypeBox;
	private: System::Windows::Forms::TextBox^  ItemValue;



	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::TextBox^  ItemName;

	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::Button^  ItemActRem;

	private: System::Windows::Forms::Button^  ItemActAdd;

	private: System::Windows::Forms::ComboBox^  ItemActCode;

	private: System::Windows::Forms::ComboBox^  ItemActIndex;

	private: System::Windows::Forms::ComboBox^  ItemActBox;

	private: System::Windows::Forms::TextBox^  ItemDescription;

	private: System::Windows::Forms::Label^  label5;
	private: System::Windows::Forms::TextBox^  ItemActValue;

	private: System::Windows::Forms::Label^  label10;
	private: System::Windows::Forms::ComboBox^  ItemActFormat;

	private: System::Windows::Forms::Label^  label9;
	private: System::Windows::Forms::Label^  label8;


	private: System::Windows::Forms::Label^  label7;
	private: System::Windows::Forms::Label^  label6;
	private: System::Windows::Forms::TextBox^  MagicDescription;

	private: System::Windows::Forms::Label^  label13;
	private: System::Windows::Forms::TextBox^  MagicName;

	private: System::Windows::Forms::Label^  label12;
	private: System::Windows::Forms::ComboBox^  MagicIdBox;

	private: System::Windows::Forms::Label^  label11;
	private: System::Windows::Forms::Label^  label15;
private: System::Windows::Forms::ComboBox^  MagicActCode;

	private: System::Windows::Forms::Button^  MagicActRem;

	private: System::Windows::Forms::Button^  MagicActAdd;

	private: System::Windows::Forms::Label^  label14;
private: System::Windows::Forms::ComboBox^  MagicActIndex;

private: System::Windows::Forms::Label^  label17;
private: System::Windows::Forms::TextBox^  MagicActValue;

private: System::Windows::Forms::ComboBox^  MagicActFormat;

private: System::Windows::Forms::Label^  label16;
private: System::Windows::Forms::OpenFileDialog^  ItemOpen;
private: System::Windows::Forms::SaveFileDialog^  ItemSave;
private: System::Windows::Forms::OpenFileDialog^  MagicOpen;
private: System::Windows::Forms::SaveFileDialog^  MagicSave;








	protected: 









	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
			this->ItemActValue = (gcnew System::Windows::Forms::TextBox());
			this->label10 = (gcnew System::Windows::Forms::Label());
			this->ItemActFormat = (gcnew System::Windows::Forms::ComboBox());
			this->label9 = (gcnew System::Windows::Forms::Label());
			this->label8 = (gcnew System::Windows::Forms::Label());
			this->label7 = (gcnew System::Windows::Forms::Label());
			this->label6 = (gcnew System::Windows::Forms::Label());
			this->ItemActRem = (gcnew System::Windows::Forms::Button());
			this->ItemActAdd = (gcnew System::Windows::Forms::Button());
			this->ItemActCode = (gcnew System::Windows::Forms::ComboBox());
			this->ItemActIndex = (gcnew System::Windows::Forms::ComboBox());
			this->ItemActBox = (gcnew System::Windows::Forms::ComboBox());
			this->ItemDescription = (gcnew System::Windows::Forms::TextBox());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->ItemValue = (gcnew System::Windows::Forms::TextBox());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->ItemName = (gcnew System::Windows::Forms::TextBox());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->ItemTypeBox = (gcnew System::Windows::Forms::ComboBox());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->ItemIdBox = (gcnew System::Windows::Forms::ComboBox());
			this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
			this->label17 = (gcnew System::Windows::Forms::Label());
			this->MagicActValue = (gcnew System::Windows::Forms::TextBox());
			this->MagicActFormat = (gcnew System::Windows::Forms::ComboBox());
			this->label16 = (gcnew System::Windows::Forms::Label());
			this->label15 = (gcnew System::Windows::Forms::Label());
			this->MagicActCode = (gcnew System::Windows::Forms::ComboBox());
			this->MagicActRem = (gcnew System::Windows::Forms::Button());
			this->MagicActAdd = (gcnew System::Windows::Forms::Button());
			this->label14 = (gcnew System::Windows::Forms::Label());
			this->MagicActIndex = (gcnew System::Windows::Forms::ComboBox());
			this->MagicDescription = (gcnew System::Windows::Forms::TextBox());
			this->label13 = (gcnew System::Windows::Forms::Label());
			this->MagicName = (gcnew System::Windows::Forms::TextBox());
			this->label12 = (gcnew System::Windows::Forms::Label());
			this->MagicIdBox = (gcnew System::Windows::Forms::ComboBox());
			this->label11 = (gcnew System::Windows::Forms::Label());
			this->LoadItems = (gcnew System::Windows::Forms::Button());
			this->SaveItems = (gcnew System::Windows::Forms::Button());
			this->LoadMagic = (gcnew System::Windows::Forms::Button());
			this->SaveMagic = (gcnew System::Windows::Forms::Button());
			this->button5 = (gcnew System::Windows::Forms::Button());
			this->button6 = (gcnew System::Windows::Forms::Button());
			this->button7 = (gcnew System::Windows::Forms::Button());
			this->button8 = (gcnew System::Windows::Forms::Button());
			this->button9 = (gcnew System::Windows::Forms::Button());
			this->button10 = (gcnew System::Windows::Forms::Button());
			this->ItemOpen = (gcnew System::Windows::Forms::OpenFileDialog());
			this->ItemSave = (gcnew System::Windows::Forms::SaveFileDialog());
			this->MagicOpen = (gcnew System::Windows::Forms::OpenFileDialog());
			this->MagicSave = (gcnew System::Windows::Forms::SaveFileDialog());
			this->tabControl1->SuspendLayout();
			this->tabPage1->SuspendLayout();
			this->tabPage2->SuspendLayout();
			this->SuspendLayout();
			// 
			// tabControl1
			// 
			this->tabControl1->Controls->Add(this->tabPage1);
			this->tabControl1->Controls->Add(this->tabPage2);
			this->tabControl1->Location = System::Drawing::Point(-1, 62);
			this->tabControl1->Name = L"tabControl1";
			this->tabControl1->SelectedIndex = 0;
			this->tabControl1->Size = System::Drawing::Size(458, 328);
			this->tabControl1->TabIndex = 0;
			// 
			// tabPage1
			// 
			this->tabPage1->Controls->Add(this->ItemActValue);
			this->tabPage1->Controls->Add(this->label10);
			this->tabPage1->Controls->Add(this->ItemActFormat);
			this->tabPage1->Controls->Add(this->label9);
			this->tabPage1->Controls->Add(this->label8);
			this->tabPage1->Controls->Add(this->label7);
			this->tabPage1->Controls->Add(this->label6);
			this->tabPage1->Controls->Add(this->ItemActRem);
			this->tabPage1->Controls->Add(this->ItemActAdd);
			this->tabPage1->Controls->Add(this->ItemActCode);
			this->tabPage1->Controls->Add(this->ItemActIndex);
			this->tabPage1->Controls->Add(this->ItemActBox);
			this->tabPage1->Controls->Add(this->ItemDescription);
			this->tabPage1->Controls->Add(this->label5);
			this->tabPage1->Controls->Add(this->ItemValue);
			this->tabPage1->Controls->Add(this->label4);
			this->tabPage1->Controls->Add(this->ItemName);
			this->tabPage1->Controls->Add(this->label3);
			this->tabPage1->Controls->Add(this->ItemTypeBox);
			this->tabPage1->Controls->Add(this->label2);
			this->tabPage1->Controls->Add(this->label1);
			this->tabPage1->Controls->Add(this->ItemIdBox);
			this->tabPage1->Location = System::Drawing::Point(4, 22);
			this->tabPage1->Name = L"tabPage1";
			this->tabPage1->Padding = System::Windows::Forms::Padding(3);
			this->tabPage1->Size = System::Drawing::Size(450, 302);
			this->tabPage1->TabIndex = 0;
			this->tabPage1->Text = L"Items";
			this->tabPage1->UseVisualStyleBackColor = true;
			// 
			// ItemActValue
			// 
			this->ItemActValue->Location = System::Drawing::Point(164, 108);
			this->ItemActValue->Name = L"ItemActValue";
			this->ItemActValue->Size = System::Drawing::Size(100, 20);
			this->ItemActValue->TabIndex = 21;
			// 
			// label10
			// 
			this->label10->AutoSize = true;
			this->label10->Location = System::Drawing::Point(164, 92);
			this->label10->Name = L"label10";
			this->label10->Size = System::Drawing::Size(34, 13);
			this->label10->TabIndex = 20;
			this->label10->Text = L"Value";
			// 
			// ItemActFormat
			// 
			this->ItemActFormat->FormattingEnabled = true;
			this->ItemActFormat->Location = System::Drawing::Point(164, 64);
			this->ItemActFormat->Name = L"ItemActFormat";
			this->ItemActFormat->Size = System::Drawing::Size(75, 21);
			this->ItemActFormat->TabIndex = 19;
			// 
			// label9
			// 
			this->label9->AutoSize = true;
			this->label9->Location = System::Drawing::Point(328, 6);
			this->label9->Name = L"label9";
			this->label9->Size = System::Drawing::Size(32, 13);
			this->label9->TabIndex = 18;
			this->label9->Text = L"Code";
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->Location = System::Drawing::Point(246, 6);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(33, 13);
			this->label8->TabIndex = 17;
			this->label8->Text = L"Index";
			// 
			// label7
			// 
			this->label7->AutoSize = true;
			this->label7->Location = System::Drawing::Point(164, 7);
			this->label7->Name = L"label7";
			this->label7->Size = System::Drawing::Size(37, 13);
			this->label7->TabIndex = 16;
			this->label7->Text = L"Action";
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->Location = System::Drawing::Point(164, 48);
			this->label6->Name = L"label6";
			this->label6->Size = System::Drawing::Size(39, 13);
			this->label6->TabIndex = 15;
			this->label6->Text = L"Format";
			// 
			// ItemActRem
			// 
			this->ItemActRem->Location = System::Drawing::Point(246, 77);
			this->ItemActRem->Name = L"ItemActRem";
			this->ItemActRem->Size = System::Drawing::Size(75, 23);
			this->ItemActRem->TabIndex = 14;
			this->ItemActRem->Text = L"Remove";
			this->ItemActRem->UseVisualStyleBackColor = true;
			// 
			// ItemActAdd
			// 
			this->ItemActAdd->Location = System::Drawing::Point(246, 48);
			this->ItemActAdd->Name = L"ItemActAdd";
			this->ItemActAdd->Size = System::Drawing::Size(75, 23);
			this->ItemActAdd->TabIndex = 13;
			this->ItemActAdd->Text = L"Add";
			this->ItemActAdd->UseVisualStyleBackColor = true;
			// 
			// ItemActCode
			// 
			this->ItemActCode->FormattingEnabled = true;
			this->ItemActCode->Location = System::Drawing::Point(328, 22);
			this->ItemActCode->Name = L"ItemActCode";
			this->ItemActCode->Size = System::Drawing::Size(75, 21);
			this->ItemActCode->TabIndex = 12;
			// 
			// ItemActIndex
			// 
			this->ItemActIndex->FormattingEnabled = true;
			this->ItemActIndex->Location = System::Drawing::Point(246, 22);
			this->ItemActIndex->Name = L"ItemActIndex";
			this->ItemActIndex->Size = System::Drawing::Size(75, 21);
			this->ItemActIndex->TabIndex = 11;
			// 
			// ItemActBox
			// 
			this->ItemActBox->FormattingEnabled = true;
			this->ItemActBox->Location = System::Drawing::Point(164, 23);
			this->ItemActBox->Name = L"ItemActBox";
			this->ItemActBox->Size = System::Drawing::Size(75, 21);
			this->ItemActBox->TabIndex = 10;
			// 
			// ItemDescription
			// 
			this->ItemDescription->Location = System::Drawing::Point(9, 197);
			this->ItemDescription->Name = L"ItemDescription";
			this->ItemDescription->Size = System::Drawing::Size(100, 20);
			this->ItemDescription->TabIndex = 9;
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->Location = System::Drawing::Point(13, 180);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(60, 13);
			this->label5->TabIndex = 8;
			this->label5->Text = L"Description";
			// 
			// ItemValue
			// 
			this->ItemValue->Location = System::Drawing::Point(9, 153);
			this->ItemValue->Name = L"ItemValue";
			this->ItemValue->Size = System::Drawing::Size(47, 20);
			this->ItemValue->TabIndex = 7;
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Location = System::Drawing::Point(13, 136);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(34, 13);
			this->label4->TabIndex = 6;
			this->label4->Text = L"Value";
			// 
			// ItemName
			// 
			this->ItemName->Location = System::Drawing::Point(9, 109);
			this->ItemName->Name = L"ItemName";
			this->ItemName->Size = System::Drawing::Size(100, 20);
			this->ItemName->TabIndex = 5;
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Location = System::Drawing::Point(10, 92);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(35, 13);
			this->label3->TabIndex = 4;
			this->label3->Text = L"Name";
			// 
			// ItemTypeBox
			// 
			this->ItemTypeBox->FormattingEnabled = true;
			this->ItemTypeBox->Location = System::Drawing::Point(9, 64);
			this->ItemTypeBox->Name = L"ItemTypeBox";
			this->ItemTypeBox->Size = System::Drawing::Size(121, 21);
			this->ItemTypeBox->TabIndex = 3;
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(10, 48);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(31, 13);
			this->label2->TabIndex = 2;
			this->label2->Text = L"Type";
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Location = System::Drawing::Point(10, 7);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(16, 13);
			this->label1->TabIndex = 1;
			this->label1->Text = L"Id";
			// 
			// ItemIdBox
			// 
			this->ItemIdBox->FormattingEnabled = true;
			this->ItemIdBox->Location = System::Drawing::Point(9, 23);
			this->ItemIdBox->Name = L"ItemIdBox";
			this->ItemIdBox->Size = System::Drawing::Size(80, 21);
			this->ItemIdBox->TabIndex = 0;
			// 
			// tabPage2
			// 
			this->tabPage2->Controls->Add(this->label17);
			this->tabPage2->Controls->Add(this->MagicActValue);
			this->tabPage2->Controls->Add(this->MagicActFormat);
			this->tabPage2->Controls->Add(this->label16);
			this->tabPage2->Controls->Add(this->label15);
			this->tabPage2->Controls->Add(this->MagicActCode);
			this->tabPage2->Controls->Add(this->MagicActRem);
			this->tabPage2->Controls->Add(this->MagicActAdd);
			this->tabPage2->Controls->Add(this->label14);
			this->tabPage2->Controls->Add(this->MagicActIndex);
			this->tabPage2->Controls->Add(this->MagicDescription);
			this->tabPage2->Controls->Add(this->label13);
			this->tabPage2->Controls->Add(this->MagicName);
			this->tabPage2->Controls->Add(this->label12);
			this->tabPage2->Controls->Add(this->MagicIdBox);
			this->tabPage2->Controls->Add(this->label11);
			this->tabPage2->Location = System::Drawing::Point(4, 22);
			this->tabPage2->Name = L"tabPage2";
			this->tabPage2->Padding = System::Windows::Forms::Padding(3);
			this->tabPage2->Size = System::Drawing::Size(450, 302);
			this->tabPage2->TabIndex = 1;
			this->tabPage2->Text = L"Magic";
			this->tabPage2->UseVisualStyleBackColor = true;
			// 
			// label17
			// 
			this->label17->AutoSize = true;
			this->label17->Location = System::Drawing::Point(244, 87);
			this->label17->Name = L"label17";
			this->label17->Size = System::Drawing::Size(34, 13);
			this->label17->TabIndex = 15;
			this->label17->Text = L"Value";
			// 
			// MagicActValue
			// 
			this->MagicActValue->Location = System::Drawing::Point(247, 103);
			this->MagicActValue->Name = L"MagicActValue";
			this->MagicActValue->Size = System::Drawing::Size(99, 20);
			this->MagicActValue->TabIndex = 14;
			// 
			// MagicActFormat
			// 
			this->MagicActFormat->FormattingEnabled = true;
			this->MagicActFormat->Location = System::Drawing::Point(164, 102);
			this->MagicActFormat->Name = L"MagicActFormat";
			this->MagicActFormat->Size = System::Drawing::Size(76, 21);
			this->MagicActFormat->TabIndex = 13;
			// 
			// label16
			// 
			this->label16->AutoSize = true;
			this->label16->Location = System::Drawing::Point(164, 88);
			this->label16->Name = L"label16";
			this->label16->Size = System::Drawing::Size(39, 13);
			this->label16->TabIndex = 12;
			this->label16->Text = L"Format";
			// 
			// label15
			// 
			this->label15->AutoSize = true;
			this->label15->Location = System::Drawing::Point(164, 48);
			this->label15->Name = L"label15";
			this->label15->Size = System::Drawing::Size(32, 13);
			this->label15->TabIndex = 11;
			this->label15->Text = L"Code";
			// 
			// MagicActCode
			// 
			this->MagicActCode->FormattingEnabled = true;
			this->MagicActCode->Location = System::Drawing::Point(164, 64);
			this->MagicActCode->Name = L"MagicActCode";
			this->MagicActCode->Size = System::Drawing::Size(76, 21);
			this->MagicActCode->TabIndex = 10;
			// 
			// MagicActRem
			// 
			this->MagicActRem->Location = System::Drawing::Point(327, 21);
			this->MagicActRem->Name = L"MagicActRem";
			this->MagicActRem->Size = System::Drawing::Size(75, 23);
			this->MagicActRem->TabIndex = 9;
			this->MagicActRem->Text = L"Remove";
			this->MagicActRem->UseVisualStyleBackColor = true;
			// 
			// MagicActAdd
			// 
			this->MagicActAdd->Location = System::Drawing::Point(246, 21);
			this->MagicActAdd->Name = L"MagicActAdd";
			this->MagicActAdd->Size = System::Drawing::Size(75, 23);
			this->MagicActAdd->TabIndex = 8;
			this->MagicActAdd->Text = L"Add";
			this->MagicActAdd->UseVisualStyleBackColor = true;
			// 
			// label14
			// 
			this->label14->AutoSize = true;
			this->label14->Location = System::Drawing::Point(164, 7);
			this->label14->Name = L"label14";
			this->label14->Size = System::Drawing::Size(33, 13);
			this->label14->TabIndex = 7;
			this->label14->Text = L"Index";
			// 
			// MagicActIndex
			// 
			this->MagicActIndex->FormattingEnabled = true;
			this->MagicActIndex->Location = System::Drawing::Point(164, 24);
			this->MagicActIndex->Name = L"MagicActIndex";
			this->MagicActIndex->Size = System::Drawing::Size(75, 21);
			this->MagicActIndex->TabIndex = 6;
			// 
			// MagicDescription
			// 
			this->MagicDescription->Location = System::Drawing::Point(10, 104);
			this->MagicDescription->Name = L"MagicDescription";
			this->MagicDescription->Size = System::Drawing::Size(100, 20);
			this->MagicDescription->TabIndex = 5;
			// 
			// label13
			// 
			this->label13->AutoSize = true;
			this->label13->Location = System::Drawing::Point(10, 87);
			this->label13->Name = L"label13";
			this->label13->Size = System::Drawing::Size(60, 13);
			this->label13->TabIndex = 4;
			this->label13->Text = L"Description";
			// 
			// MagicName
			// 
			this->MagicName->Location = System::Drawing::Point(10, 64);
			this->MagicName->Name = L"MagicName";
			this->MagicName->Size = System::Drawing::Size(100, 20);
			this->MagicName->TabIndex = 3;
			// 
			// label12
			// 
			this->label12->AutoSize = true;
			this->label12->Location = System::Drawing::Point(10, 48);
			this->label12->Name = L"label12";
			this->label12->Size = System::Drawing::Size(35, 13);
			this->label12->TabIndex = 2;
			this->label12->Text = L"Name";
			// 
			// MagicIdBox
			// 
			this->MagicIdBox->FormattingEnabled = true;
			this->MagicIdBox->Location = System::Drawing::Point(10, 24);
			this->MagicIdBox->Name = L"MagicIdBox";
			this->MagicIdBox->Size = System::Drawing::Size(101, 21);
			this->MagicIdBox->TabIndex = 1;
			// 
			// label11
			// 
			this->label11->AutoSize = true;
			this->label11->Location = System::Drawing::Point(10, 7);
			this->label11->Name = L"label11";
			this->label11->Size = System::Drawing::Size(16, 13);
			this->label11->TabIndex = 0;
			this->label11->Text = L"Id";
			// 
			// LoadItems
			// 
			this->LoadItems->Location = System::Drawing::Point(3, 3);
			this->LoadItems->Name = L"LoadItems";
			this->LoadItems->Size = System::Drawing::Size(75, 23);
			this->LoadItems->TabIndex = 1;
			this->LoadItems->Text = L"LoadItems";
			this->LoadItems->UseVisualStyleBackColor = true;
			this->LoadItems->Click += gcnew System::EventHandler(this, &Form1::LoadItems_Click);
			// 
			// SaveItems
			// 
			this->SaveItems->Location = System::Drawing::Point(3, 32);
			this->SaveItems->Name = L"SaveItems";
			this->SaveItems->Size = System::Drawing::Size(75, 23);
			this->SaveItems->TabIndex = 2;
			this->SaveItems->Text = L"SaveItems";
			this->SaveItems->UseVisualStyleBackColor = true;
			// 
			// LoadMagic
			// 
			this->LoadMagic->Location = System::Drawing::Point(85, 3);
			this->LoadMagic->Name = L"LoadMagic";
			this->LoadMagic->Size = System::Drawing::Size(75, 23);
			this->LoadMagic->TabIndex = 3;
			this->LoadMagic->Text = L"LoadMagic";
			this->LoadMagic->UseVisualStyleBackColor = true;
			// 
			// SaveMagic
			// 
			this->SaveMagic->Location = System::Drawing::Point(85, 32);
			this->SaveMagic->Name = L"SaveMagic";
			this->SaveMagic->Size = System::Drawing::Size(75, 23);
			this->SaveMagic->TabIndex = 4;
			this->SaveMagic->Text = L"SaveMagic";
			this->SaveMagic->UseVisualStyleBackColor = true;
			// 
			// button5
			// 
			this->button5->Location = System::Drawing::Point(167, 3);
			this->button5->Name = L"button5";
			this->button5->Size = System::Drawing::Size(75, 23);
			this->button5->TabIndex = 5;
			this->button5->Text = L"button5";
			this->button5->UseVisualStyleBackColor = true;
			// 
			// button6
			// 
			this->button6->Location = System::Drawing::Point(167, 32);
			this->button6->Name = L"button6";
			this->button6->Size = System::Drawing::Size(75, 23);
			this->button6->TabIndex = 6;
			this->button6->Text = L"button6";
			this->button6->UseVisualStyleBackColor = true;
			// 
			// button7
			// 
			this->button7->Location = System::Drawing::Point(249, 3);
			this->button7->Name = L"button7";
			this->button7->Size = System::Drawing::Size(75, 23);
			this->button7->TabIndex = 7;
			this->button7->Text = L"button7";
			this->button7->UseVisualStyleBackColor = true;
			// 
			// button8
			// 
			this->button8->Location = System::Drawing::Point(249, 32);
			this->button8->Name = L"button8";
			this->button8->Size = System::Drawing::Size(75, 23);
			this->button8->TabIndex = 8;
			this->button8->Text = L"button8";
			this->button8->UseVisualStyleBackColor = true;
			// 
			// button9
			// 
			this->button9->Location = System::Drawing::Point(331, 3);
			this->button9->Name = L"button9";
			this->button9->Size = System::Drawing::Size(75, 23);
			this->button9->TabIndex = 9;
			this->button9->Text = L"button9";
			this->button9->UseVisualStyleBackColor = true;
			// 
			// button10
			// 
			this->button10->Location = System::Drawing::Point(331, 32);
			this->button10->Name = L"button10";
			this->button10->Size = System::Drawing::Size(75, 23);
			this->button10->TabIndex = 10;
			this->button10->Text = L"button10";
			this->button10->UseVisualStyleBackColor = true;
			// 
			// ItemOpen
			// 
			this->ItemOpen->DefaultExt = L"idb";
			this->ItemOpen->Filter = L"Item Database|*.idb|Legacy IDB|*.dat|All Files|*.*";
			this->ItemOpen->FileOk += gcnew System::ComponentModel::CancelEventHandler(this, &Form1::ItemOpen_FileOk);
			// 
			// ItemSave
			// 
			this->ItemSave->DefaultExt = L"*.idb";
			this->ItemSave->Filter = L"Item Database|*.idb";
			// 
			// MagicOpen
			// 
			this->MagicOpen->DefaultExt = L"*.mdb";
			this->MagicOpen->Filter = L"Magic Database|*.mbd|Legacy Database|*.dat|All Files|*.*";
			// 
			// MagicSave
			// 
			this->MagicSave->DefaultExt = L"*.mdb";
			this->MagicSave->Filter = L"Magic Database|*.mdb";
			// 
			// Form1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(455, 387);
			this->Controls->Add(this->button10);
			this->Controls->Add(this->button9);
			this->Controls->Add(this->button8);
			this->Controls->Add(this->button7);
			this->Controls->Add(this->button6);
			this->Controls->Add(this->button5);
			this->Controls->Add(this->SaveMagic);
			this->Controls->Add(this->LoadMagic);
			this->Controls->Add(this->SaveItems);
			this->Controls->Add(this->LoadItems);
			this->Controls->Add(this->tabControl1);
			this->Name = L"Form1";
			this->Text = L"Core Development Utility";
			this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);  
			this->tabControl1->ResumeLayout(false);
			this->tabPage1->ResumeLayout(false);
			this->tabPage1->PerformLayout();
			this->tabPage2->ResumeLayout(false);
			this->tabPage2->PerformLayout();
			this->ResumeLayout(false);

		}
#pragma endregion
	
private: System::Void Form1_Load(System::Object^  sender,  System::EventArgs^  e) {  
  
}  

private: System::Void LoadItems_Click(System::Object^  sender, System::EventArgs^  e) {
			 this->ItemOpen->ShowDialog();
		 }
private: System::Void ItemOpen_FileOk(System::Object^  sender, System::ComponentModel::CancelEventArgs^  e) {
			 //Load in the collection and set the index to zero
			 
		 }

};
}


Well, this is the incredibly long file that we're dealing with, but I could use some help before I decide to start over. ___________________________________________________ Undeniable CORE is waiting

Share this post


Link to post
Share on other sites
Advertisement
Is there a reason you are using C++/CLI instead of C#? C++/CLI is really only intended for advanced users who need to provide managed wrappers for unmanaged API's. For new projects, you should generally use C#, because you won't run into issues like this one.

As for this particular case, I would guess that either A) the name is a clue, and it is looking for _Form1, not Form1, or B) that you have included a header somewhere defining Form1, but haven't actually linked in the implementation file, so the linker can't find the body of the class. It's hard to tell with that file. C++/CLI is really a very ugly language and has all kinds of esoteric issues.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!