integration issue for suggestion

This is a discussion on integration issue for suggestion within the Windows Programming forums, part of the Platform Specific Boards category; I was designing a COM in-process server. Previously it works with C++ client and works fine. But now some other ...

  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    27

    integration issue for suggestion

    I was designing a COM in-process server. Previously it works with C++ client and works fine. But now some other guys have ideas to expand the coverage to VB and JScript clients. I am short of knowledge of VB and Jscript, actually...

    My questions are,

    A. Could VB client and JScript use TLB file?
    B. If the input parameter or return value contains non-automation compatible data types, could VB client and JScipt client use them?

    Thank you!

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Well... This is neither a VB forum nor a JScript forum. Of course the TLB file question is ponderous when you consider that JScript is an interpretted language. I doubt you can use it with a VB program, but I do not know a whole lot about trying to do as much. I am not fully following your second scenario. VB and JScript natively use their own internal data typing that is not necessarily language independant.

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    27
    Thanks. So bad to see we can not use some customized data type. In order to make parameter list shorted, I wrap all parameters of some function into a single struct, and define the struct also into IDL file, along with the functions using its as input parameter type for C++ consumer before.

    One point I disagree is Visual Basic looks like support importing TLB file when I did some search, but I have not found any information about whether script like J/VBscript could support TLB file.

    Quote Originally Posted by master5001 View Post
    Well... This is neither a VB forum nor a JScript forum. Of course the TLB file question is ponderous when you consider that JScript is an interpretted language. I doubt you can use it with a VB program, but I do not know a whole lot about trying to do as much. I am not fully following your second scenario. VB and JScript natively use their own internal data typing that is not necessarily language independant.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. float calculation issue
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-26-2008, 05:56 AM
  2. type safe issue
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 02-12-2008, 09:32 PM
  3. Replies: 14
    Last Post: 06-28-2006, 02:58 AM
  4. C# and C++ static library integration?
    By gotclout in forum C# Programming
    Replies: 5
    Last Post: 06-07-2006, 07:10 AM
  5. my first issue of GDM
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-12-2002, 05:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21