ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Creating a Windows DLL with Visual Basic
Subject:   How can I return Strings?
Date:   2006-04-14 08:58:40
From:   darkoverlordofdata
Response to: How can I return Strings?

You don't need the overhead from strconv.
Create an IDL or ODL file to define your API calls, and for your strings , specify LPWSTR instead of the usual LPSTR - after all, you've created a unicode format dll.
This rids 2 perfromance hits: first - interpreting the Declare statment, 2nd - using strconv.


Bruce


1 to 1 of 1
  1. How can I return Strings?
    2008-10-28 03:57:31  CEStudio [View]

1 to 1 of 1