User Profile

Collapse

Profile Sidebar

Collapse
FariborzNouri
FariborzNouri
Last Activity: Dec 30 '09, 04:34 PM
Joined: Feb 12 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • FariborzNouri
    replied to Need Help with COM object HEC-RAS
    in C
    Unfortunately that didn't work either. The source code of the function in the header file was
    Code:
       BOOL Compute_CurrentPlan(long * nmsg, SAFEARRAY **msg)
       {
          BOOL result;
          static BYTE parms[] = VTS_PI4 VTS_UNKNOWN ;
          InvokeHelper(0x6003000b, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, nmsg, msg);
          return result;
       }
    I noticed that parms[]...
    See more | Go to post

    Leave a comment:


  • FariborzNouri
    started a topic Need Help with COM object HEC-RAS
    in C

    Need Help with COM object HEC-RAS

    Need help with HEC-RAS
    Hello
    I am trying to run a COM application known as HEC-RAS from an unmanaged C++ program in Visual Studio. Classes have been added to the project by adding new MFC classes from a TypeLib. CoInitialize() has been called and interface has been created successfully. One particular method in one of the classes CHECRASControll er has the following signature in C++.
    Code:
    BOOL Compute_CurrentPlan(long * nmsg,
    ...
    See more | Go to post
    Last edited by pbmods; Feb 13 '09, 12:48 AM. Reason: Added CODE tags.

  • Hello
    I Am trying to call the same COM object in unmanaged C++. Have either of you two gens done that ?
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...