Questions tagged as 'instanciar-objeto'

0
answers

Create instance of an object by Activator.CreateInstanceFrom C #

I need to instantiate the PaisMapper class with the following scenario. DLL running: Projeto.ERP.Desktop In Form I run the _repositorioPais.MapperEntity.ToEntityForToEntityGrid(paises).ToList(); method Within the MapperEnti...
asked by 05.10.2017 / 16:56
2
answers

error: use of deleted function 'Fight: Fight ()'

Good afternoon, I'm trying several problems compiling the code below in code :: blocks with g ++ and I'd like to get help, thanks in advance. Main.cpp content: #include "Lutador.cpp" #include <iostream> #include <string> int ma...
asked by 23.09.2017 / 22:08
2
answers

Error instantiating two or more PDOs in different classes

I'll start with the displayed error:    Fatal error: Uncaught PDOException: You can not serialize or   unserialize PDO instances in [no active file] on line 0 In the project I have the Carts class and the Tags class, both are subcla...
asked by 15.08.2016 / 18:31
0
answers

Instances Slow C #

I'm creating an instance of a certain class, and it's taking too long to instantiate. Anyone know how I can solve this? The applications were slow to instantiate class code that is taking a while to start public class Email {...
asked by 16.03.2016 / 14:51
1
answer

Allow only one instance

How do I make my application run only 1 instance at a time? void Main(string[] s){ //faz algo }     
asked by 12.12.2015 / 18:54