CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: crisdeveloper

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: [RESOLVED] Windows Form - Create Method with parameters

    moved to this thread




    http://forums.codeguru.com/showthread.php?537041-RESOLVED-Creating-Method-with-parameters
  2. Re: Creating Method with parameters

    Resolved!

    i spelled wrong the name of class

    before: ProgressBar

    now the right form

    Progress_bar p;
    p.set_Progress(ProgressBar1,LabelBar1 ,timer1);
  3. Re: Creating Method with parameters

    i fixed this errors, for now i need to know how i can call the class ProgressBar to access the method set_Progress() in Person.h.

    i tried

    ProgressBar p;
    ProgressBar* p;

    still wrong...
  4. Re: Creating Method with parameters

    and i have only 3 errors




    Error 1 error C3265: cannot declare a managed 'ProgressBar1' in an unmanaged 'Progress_bar'
    Error 2 error C3265: cannot declare a managed 'LabelBar1' in an...
  5. Re: Creating Method with parameters

    my code now is this:





    class Progress_bar{

    public:
  6. Re: Creating Method with parameters

    i forget to call this way:



    ProgressBar increment;
    increment.set_Progress(toolStripProgressBar1,toolStripStatusLabel1 ,timer1);



    and include the header:
  7. Re: Windows Form - Create Method with parameters

    thanks for advice me. this thread will be close or something like this?
  8. [RESOLVED] Creating Method with parameters

    I am wanting to separate the logic from the visual, but I'm having problems when calling the method that controls the actions of the progress bar timer.




    ifndef PROGRESS_BAR
    define...
  9. [RESOLVED] Windows Form - Create Method with parameters

    I am wanting to separate the logic from the visual, but I'm having problems when calling the method that controls the actions of the progress bar timer.




    ifndef PROGRESS_BAR
    define...
  10. Replies
    58
    Views
    7,257

    Re: [RESOLVED] Unresolved external symbol

    i found more errors in this project for example: the data was overwriting the last information typed, but i fitted this errors.


    i´ve made a lot of modifications in this project before i leave...
  11. Replies
    58
    Views
    7,257

    Re: [RESOLVED] Unresolved external symbol

    thanks for these links, both are very helpfull for me!
  12. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    you can close this topic, because i´m newbie in this forum and i don´t know how i can do it.
  13. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    in the reality i took this code from a forum to study c++, maybe it seems not a good idea but i´ve learned a lot is these 2 days trying to solve the code from another person.

    give me a good...
  14. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    the program works well, saves, edit, and display the data.

    but i would like to know how i can optmize my code.
  15. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    when i retire the namespace from .h it no works!
  16. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    obs.: namespace are in cpp and .h
  17. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    finally we make this program works well!! thanks for every one that spend time to help me.

    the program works fine with namespace in Person.h, but if i try

    std::string getName ()const {...
  18. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    if i don´t put namespace in Person.h it not works because the strings types. what the best way to do it?
  19. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    no errors on output
    but i think the logic is wrong because the program is not saving data, and neither displaying.

    :|
  20. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    code updated:

    Person.H



    #ifndef PERSON_H
    #define PERSON_H

    using namespace std;
  21. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    ok, i´ll do it!
  22. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    the problem now is:

    one or more multiply defined symbols found!
  23. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    i can´t understand this message

    this is the central problem

    'one or more multiply defined symbols found'
  24. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    okay, also complete the erros is ess then before




    Error 1 error LNK2005: "public: void __thiscall Person::createPerson(void)" (?createPerson@Person@@QAEXXZ) already defined in...
  25. Replies
    58
    Views
    7,257

    Re: Unresolved external symbol

    i forget to put namespace std, then i fix the error with 'cout´s'. i also should to put stdafx.h in Person.h? or not?
Results 1 to 25 of 52
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured