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

Search:

Type: Posts; User: michaelhsilva

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    6,132

    Re: Access Violation

    Thank you
  2. Replies
    6
    Views
    6,132

    Re: Access Violation

    ListaResultadoBusca is of type List<ResultadoBusca>

    I didn´t notice I was assign the session twice.
  3. Replies
    6
    Views
    6,132

    Re: Access Violation

    Follows the code:

    rotected void Button2_Click(object sender, EventArgs e)
    {
    Session["busca_texto"] = busca.Text;

    Session["DataSource"] = ListaResultadoBusca;
    ...
  4. Replies
    6
    Views
    6,132

    Access Violation

    Hello guys and girls! I´m facing the following problem: I´m making an asp.net application with a search function when I click the search button the application makes its job and after the end of...
  5. Re: C2712: Cannot use __try in functions that require object unwinding

    I understand now that it´s not the code inside __try / __except because only __try /] __except itself make the error appear without code inside. I´ve moved the __try / __except block to another...
  6. Re: C2712: Cannot use __try in functions that require object unwinding

    I need Help!

    http://msdn.microsoft.com/en-us/library/xwtb73ad(v=vs.80).aspx says that: C2712 can occur if you compile with /clr:pure and declare a static array of pointers-to-functions in a __try...
  7. Re: C2712: Cannot use __try in functions that require object unwinding

    I´ll do like you posted Paul.

    Regards,
    Michael
  8. Re: C2712: Cannot use __try in functions that require object unwinding

    A ha!!!

    i found



    #define RpcTryExcept \
    __try \
    {
  9. Re: C2712: Cannot use __try in functions that require object unwinding

    A ha!!!

    i found



    #define RpcTryExcept \
    __try \
    {
  10. Re: C2712: Cannot use __try in functions that require object unwinding

    I´ve commented the body of the function and put return 0, but the error run to another line a ´}´ too...
  11. Re: C2712: Cannot use __try in functions that require object unwinding

    I´ve seen, but does not help the code doesn´t mention __try...
  12. Re: C2712: Cannot use __try in functions that require object unwinding

    I´ll put here the entire code. The line that pops the error up is the last '}'



    LBSC_AppUserInfoList *
    LBSC_Session::GetUsersInfo( const LBSC_Ticket *pTicket )
    {...
  13. C2712: Cannot use __try in functions that require object unwinding

    Hello,

    I am migrating a software writen with VC++ 6.0 to VS 2010/VC++2010. and I have a project which does not compile in Debug mode. I have:



    LBSC_AppUserInfoList * ...
  14. Re: yntax error : missing ';' before identifier

    I´m having the same problem.


    #ifndef __COMCOLLECTION_H__
    #define __COMCOLLECTION_H__

    #pragma warning(disable:4530) //Template memory warning

    #include <vector>
    using namespace std;
  15. Replies
    18
    Views
    18,006

    Re: Not compiling typedef definition

    It worked when I altered the order of include afxwin.h to be the first. Strange but works. :wave:
  16. Replies
    18
    Views
    18,006

    Re: Not compiling typedef definition

    Yes, you have reason to doubt. The error persists, something is wrong. Any clue, if I change the WIndows SDK???
  17. Replies
    7
    Views
    4,099

    Re: Unresolved external symbol

    Sorry Paul I did not have the inttention.

    I am linking just the libs I´ve already built to VS 2010, something is not correct. I took this project and added just one cpp file to isolate the...
  18. Replies
    7
    Views
    4,099

    Re: Unresolved external symbol

    Humm, but yes both configrations are Release.
  19. Replies
    7
    Views
    4,099

    Re: Unresolved external symbol

    Yes, I put lbwparser.lib; in Additional Dependencies on the Input page of Linker on Project Properties.
  20. Replies
    7
    Views
    4,099

    Unresolved external symbol

    Hi, I´m migrating a VC++ 6.0 project to VC++ 2010.

    I am sure I am linking the right libraries but still getting this error:

    1>LBW_Base_Private.obj : error LNK2019: unresolved external symbol...
  21. Replies
    18
    Views
    18,006

    Re: Not compiling typedef definition

    There was not need to change oaidl.h, it&#180;s just need to add more cpp files in the project.

    Thanks :)
  22. Replies
    18
    Views
    18,006

    Re: Not compiling typedef definition

    Solution: changed for


    typedef CY; //CURRENCY;

    may be?
  23. Replies
    18
    Views
    18,006

    Re: Not compiling typedef definition

    but I´m still needing help on the main application... The error persists.
  24. Replies
    18
    Views
    18,006

    Re: Not compiling typedef definition

    I made a simple application with the code:




    #include "stdafx.h"

    typedef CY; *LPCY;
    typedef CY CURRENCY;
  25. Replies
    18
    Views
    18,006

    Re: Not compiling typedef definition

    Yes, I set but then pulled off.

    I have:


    typedef CY *LPCY; on wtypes.h:1053

    and:
Results 1 to 25 of 29
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured