Intrafoundation Software
Making Atomic Warfare Fun Again
 

Need a shoulder to cry on while trying to convince Windows to properly work with our software? Just want to chat about something related to the site? Feel free to use the forums slash news slash blog.

(Unsolicited commercial spam will be deleted, obviously.)

[Looking for something?]
Looking for something?
This is thread 185. The complete list of threads is available on the main forums page.
Subject: CFX byReference
Author: Andy Schwartz
Date/Time: 5/28/2003 4:53:02 PM (185.0)
Is it possible to supply values to a CFX by Reference, rather than by value?
Subject: RE:CFX byReference
Author: Lewis Sellers
Date/Time: 5/29/2003 10:19:39 PM (186.185)
It`s been a few years since I`ve written a CFX... As I recall all the strings were LPCSTR, i.e., const char *. That is, passed as a pointer to the memory address of the string. I think the CFX interface assumed you were using Microsoft`s CString class.

Now as to whether or not the CFX class functions themselves used the pointer as is or made an internal copy of the string first I can`t say.

What are you trying to do?

--min


REPLY
Author:
Subject:
Your
Message:
Email: (optional)
(Note: For safety all HTML in your message text may be printed exactly as you typed it.)
top