🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2155

VB: format of strings

#2155
From: NevStan - B Murphy Nevstan A Tul...
Date: Fri, 20 Nov 1992 04:03
18 lines
1400 bytes
I'm writing a DLL which will be called by a visual basic program.
As part of its work, the DLL needs to modify a string which is owned
by the visual basic program.

For fairly intricate reasons, I cannot pass the string to the DLL as
a C-type (null terminated) string.  Instead I want to pass it as a standard
visual basic string.  That is, I do not want to pass the string with the 
ByVal keyword to my DLL.  Instead, I want to pass the string to my DLL in
the same way as I would pass it to a normal visual basic subroutine.
Unfortunately I need to know how visual basic stores its strings if I
am to do this.

I was wondering if anyone knows if there is a reference describing the format
of strings in visual basic.  Are there any ftp sites containing this info,
or do I have to buy the Visual Basic Control Development Kit?

Reply by eMail, and I'll summarise.  Thanks in advance,
Adrian.
Technical Details
Message-ID: <1eho2sINNdt4@uniwa.uwa.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!nevstan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!nevstan
From: nevstan@ec.uwa.oz.au (NevStan - B Murphy Nevstan A Tulloch - other)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: VB: format of strings
Date: 20 Nov 1992 04:03:40 GMT
Organization: The University of Western Australia
Lines: 18
Distribution: world
Message-ID: <1eho2sINNdt4@uniwa.uwa.edu.au>
NNTP-Posting-Host: decel.ecel.uwa.edu.au
Summary: How are strings stored in visual basic?
Keywords: visual basic windows