Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

raforaez

@raforaez
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • performance in VS 2005
    R raforaez

    thanks, thanks , thanks friend :-D ;)

    ASP.NET csharp c++ visual-studio performance question

  • performance in VS 2005
    R raforaez

    Hi : I listen that in VS.Net 2005 exists a new tool (that compiles all an web application) ... and to avoid delays during the conversion of MSIL to native CPU code can you orient or give me some links to me on this subject? Thanks :-D

    ASP.NET csharp c++ visual-studio performance question

  • Optional parameter in C#!
    R raforaez

    no friend !!!!!! .Net framework 1.1 doesn´t support optional parameters in VB.Net is never recommendable you can use flags in the methods... or overload

    ASP.NET csharp question

  • COM+ & .NEt parameters by reference
    R raforaez

    this is the Signature of the method in VB 6.0 : Public Function b_GenerarTck(ByVal cAgencia As String, _ ByVal cSector As String, _ ByVal cTicketera As String, _ ByVal cTTckBase As String, _ ByRef OUT_cTicket As Variant, _ ByRef OUT_dTicket As Variant, _ ByRef OUT_fGenerado As Variant, _ ByRef OUT_hGenerada As Variant, _ ByRef OUT_nEsperaMinima As Variant, _ ByRef OUT_dTTicket As Variant, _ ByRef OUT_dTVentanilla As Variant, _ Optional ByVal nNumCliente As Variant, _ Optional ByVal dNomCliente As Variant) As Long The following code is the solution for a method with 1 parameter .... but doesn´t work with several parameters -------------------------------------------------------------------- using MyMFCLibrary; using System.Reflection; public class MyClass { MyMFCAutomationServer objTest = new MyMFCAutomationServerDoc(); object [] arglist = { "Hello World!" }; ParameterModifier pm = new ParameterModifier(1); //Set the VT_BYREF flag on the first parameter. p[0] = true; //Create an array of ParameterModifier objects, and then put in your element. ParameterModifier [] pmArray = { pm }; //Use late binding and call the method. objTest.GetType().InvokeMember("VariantByRef", BindingFlags.InvokeMethod, null, objTest, arglist, pmArray, null, null); } ------------------ Please helpme guys =)

    C# csharp com help

  • COM+ & .NEt parameters by reference
    R raforaez

    Hi friends: I want send parameters by reference in my .Net application. but i am using a COM+ object's method :( My code is: ----------------------------------------------------------------------- Object[] args = new Object[12]; args[0] = Agencia; args[1] = Sector; args[2] = Ticketera; string[] argNames = {"cAgencia", "cSector", "cTicketera"}; res=atype.InvokeMember("b_GenerarTck",BindingFlags.InvokeMethod,null,objTicket, args,null,null,argNames); ----------------------------------------------------------------------- BUT IT CAN'T GET THE REFERENCES I HOPE THAT YOU CAN HELP ME Thanks :)

    C# csharp com help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups