Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: onlyshiza
  • Content: Threads
  • Order by date
  1. onlyshiza

    Passing an argument of type Byte from C++

    HI everyone, I am calling a VB COM dll server method from a C++ client. The VB method takes an argument of type Byte. It's defined as such: Public sub myAverage(ByVal rate as Byte) Now how I have to call this function from C++. After importing the dll into the C++ project the function is...
  2. onlyshiza

    Extracting a 2D-array from a COM server via SAFEARRAY

    Hi everyone, I am trying to extract 2 two-dimensinal arrays out of a COM server (a COM dll created in VB). The two dimensional array is the pixel information(1 byte info) of a 640 * 480 image. The tlb info shown in the MSVC++ object viewer tool is : HRESULT GetImages( [in, out]...
  3. onlyshiza

    Changing the resolution of a laptop attached to a monitor

    Hi everyone, Maybe it's a dum question but when it comes to the hardware I am an absolute dummy :-) I have a sony laptop with "ATI Rage Mobility P/M AGP 2X(A21/2)" video card, the default lcd screen is broken(can't afford to fix it:-( ) so I use my laptop as a desktop and attach it...
  4. onlyshiza

    Passing a variant of type VT_INT as a function argument

    Hi everyone, I am calling a method in a COM dll that as the first parameter takes a VARIANT of type VT_INT (actually it has to be like a VARIANT array of (1,0,0), see the following code for more clarification). I am trying to make it work in C++. I have the equivalent working VB code which is...
  5. onlyshiza

    Passing a variant of type VT_INT as a function argument

    Hi everyone, I am calling a method in a COM dll that as the first parameter takes a VARIANT of type VT_INT (actually it has to be like a VARIANT array of (1,0,0), see the following code for more clarification). I am trying to make it work in C++. I have the equivalent working VB code which is...
  6. onlyshiza

    'calling convention' conflict in calling fucntions from a com dll

    Hi everyone, I am writing a VC++6.0 client for a com dll(developed in VB6.0). I have a problem calling some functions of the dll, the error message I get is: "The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one...
  7. onlyshiza

    'calling convention' conflict in calling fucntions from a com dll

    Hi everyone, I am writing a VC++6.0 client for a com dll(developed in VB6.0). I have a problem calling some functions of the dll, the error message I get is: "The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one...
  8. onlyshiza

    'calling convention' conflict in calling fucntions from a com dll

    Hi everyone, I am writing a VC++6.0 client for a com dll(developed in VB6.0). I have a runtime problem calling some functions of the dll, the error message I get is: "The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared...
  9. onlyshiza

    Availablity of pointer to interface via importlib in IDL

    Hi everyone, It's a few days now that I have searched this site as well as lots of other sites, couldn't resolve my problem yet. I try to make it brief: -Background: I am creating a C++ client for a COM component written in VB. The COM developer has provided me with the dll and the IDL file. I...

Part and Inventory Search

Back
Top