Click here to Skip to main content
15,915,163 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Functions Pin
Eytukan22-Feb-09 19:55
Eytukan22-Feb-09 19:55 
AnswerRe: Functions Pin
Gary R. Wheeler23-Feb-09 11:53
Gary R. Wheeler23-Feb-09 11:53 
GeneralRe: Functions Pin
Luc Pattyn23-Feb-09 12:30
sitebuilderLuc Pattyn23-Feb-09 12:30 
QuestionTwo problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
regnwald16-Feb-09 18:19
regnwald16-Feb-09 18:19 
AnswerRe: Two problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
N a v a n e e t h16-Feb-09 19:43
N a v a n e e t h16-Feb-09 19:43 
GeneralRe: Two problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
regnwald17-Feb-09 13:10
regnwald17-Feb-09 13:10 
GeneralRe: Two problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
N a v a n e e t h17-Feb-09 14:45
N a v a n e e t h17-Feb-09 14:45 
GeneralRe: Two problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
regnwald17-Feb-09 19:00
regnwald17-Feb-09 19:00 
"Strange"? Oh dear, I must be way off.

Early in the project I instanced a type:
cdVersionInfo cdVI;

I first cleared it with:
memset(&cdVI,0,sizeof(cdVersionInfo));

After including "memory.h" this gave no errors.

memset() accepts &cdVI but VC++ 2005 does not. Yet I need a pointer to cdVI for a function RCStartSDK in a .dll. Using &cdVI in memset and my project compiles with no errors (I must check data in cdVI tonight) but using &cdVI in calling RCStartSDK gives a compiler error that using & is an anachronism.

The memset line comes from a VC++6 example of how to use the SDK. Imported and converted for VC+++2005 does not alter either code using of &cdVI and the exaple still works with both. But the same code in my project does not work. Even including the example's H file into my project does not help.

If I was at "AT HOME" I would say cdVIptr=VarPtr(cdVI). I have a (slightly) horrid feeling I need to change the first instance f cdVI to your suggestion. I still need to be able to clear the type and cdVIptr has to be global and I assume I set values:

cdVIptr^.SIZE = sizeof(cdVersionInfo);

or

cdVIptr*.SIZE = sizeof(cdVersionInfo);

depending on circumstances.

Am I struggling in the right direction or am I unable to see the jungle for the vines?

One day perhaps...
But its really hard going back to school at 72. I speak a litthe Italian, French and German, but the dialects always confuse.

Regards
Ron
QuestionMysql Remote login Pin
Thilek16-Feb-09 1:57
Thilek16-Feb-09 1:57 
AnswerRe: Mysql Remote login Pin
ky_rerun24-Feb-09 15:06
ky_rerun24-Feb-09 15:06 
QuestionToUpper and ToLower part of a string in .net C++? Pin
TabascoSauce14-Feb-09 15:28
TabascoSauce14-Feb-09 15:28 
AnswerRe: ToUpper and ToLower part of a string in .net C++? Pin
N a v a n e e t h14-Feb-09 18:18
N a v a n e e t h14-Feb-09 18:18 
GeneralRe: ToUpper and ToLower part of a string in .net C++? [modified] Pin
TabascoSauce15-Feb-09 11:41
TabascoSauce15-Feb-09 11:41 
GeneralRe: ToUpper and ToLower part of a string in .net C++? Pin
N a v a n e e t h15-Feb-09 16:32
N a v a n e e t h15-Feb-09 16:32 
GeneralRe: ToUpper and ToLower part of a string in .net C++? Pin
TabascoSauce16-Feb-09 12:25
TabascoSauce16-Feb-09 12:25 
QuestionFinding and mapping audio devices in windows Pin
gurindersm12-Feb-09 18:15
gurindersm12-Feb-09 18:15 
QuestionExposing a property of a nested class to .Net VB, C# etc. Pin
stempsoft12-Feb-09 12:23
stempsoft12-Feb-09 12:23 
AnswerRe: Exposing a property of a nested class to .Net VB, C# etc. Pin
N a v a n e e t h12-Feb-09 14:03
N a v a n e e t h12-Feb-09 14:03 
GeneralRe: Exposing a property of a nested class to .Net VB, C# etc. Pin
stempsoft12-Feb-09 15:20
stempsoft12-Feb-09 15:20 
GeneralRe: Exposing a property of a nested class to .Net VB, C# etc. Pin
N a v a n e e t h12-Feb-09 16:27
N a v a n e e t h12-Feb-09 16:27 
Questionwhich is the best method to send data to clients, without a request from client Pin
naveen_bij11-Feb-09 22:36
naveen_bij11-Feb-09 22:36 
AnswerRe: which is the best method to send data to clients, without a request from client Pin
led mike12-Feb-09 4:41
led mike12-Feb-09 4:41 
GeneralRe: which is the best method to send data to clients, without a request from client Pin
naveen_bij12-Feb-09 18:05
naveen_bij12-Feb-09 18:05 
GeneralRe: which is the best method to send data to clients, without a request from client Pin
Luc Pattyn12-Feb-09 4:47
sitebuilderLuc Pattyn12-Feb-09 4:47 
GeneralRe: which is the best method to send data to clients, without a request from client Pin
naveen_bij12-Feb-09 18:31
naveen_bij12-Feb-09 18:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.