Diablicolic
Well-known member
**URGENT** Multiple Projects 1 DLL Problem!! AAHH!!
This program game is due the 26th, and Ive come across a crazy problem!
Ok Ill try to give enough information so you guys can help me out. Ok this is the overview of whats going on:
Overview: Ok Ive got 2 projects. One is a DLL and the other is like the main menu and the place where the character moves. The DLL project is for the Battle, Game Over, and Battle Over.
DLL Project:
-Battle Form --when youre battling
-Game Over Form --when you die you go here
-Battle Over Form --where you receive your experience PROBLEM
Main Project:
-Main Menu --where you choose to go to a new game, load game, or exit
-WORLD --this is where you walk around with your character
PROBLEM
Ok first go to Main Menu, so you click on New Game, there you go to the WORLD. Then Bam! You go into a battle! So I hide the WORLD form and send all of the stuff I need to the Battle form on the DLL. So you kill the demon! Then all of the information goes to the Battle Over form. Now, heres the problem:
How am I suppose to send all of the data from Battle Over to a class in the WORLD if I cant reference to it?! (because I cant create a reference to a project that is not a DLL)
This program game is due the 26th, and Ive come across a crazy problem!
Ok Ill try to give enough information so you guys can help me out. Ok this is the overview of whats going on:
Overview: Ok Ive got 2 projects. One is a DLL and the other is like the main menu and the place where the character moves. The DLL project is for the Battle, Game Over, and Battle Over.
DLL Project:
-Battle Form --when youre battling
-Game Over Form --when you die you go here
-Battle Over Form --where you receive your experience PROBLEM
Main Project:
-Main Menu --where you choose to go to a new game, load game, or exit
-WORLD --this is where you walk around with your character
PROBLEM
Ok first go to Main Menu, so you click on New Game, there you go to the WORLD. Then Bam! You go into a battle! So I hide the WORLD form and send all of the stuff I need to the Battle form on the DLL. So you kill the demon! Then all of the information goes to the Battle Over form. Now, heres the problem:
How am I suppose to send all of the data from Battle Over to a class in the WORLD if I cant reference to it?! (because I cant create a reference to a project that is not a DLL)