parameter passing
-
hi i m doing my proj in .net 2005. i m passing string to a fuction in c++ called funt() First the function is called from vb proj.. obj.funt(ByVal str As string). but i dont know how to accept it in c++ funt(). plz help me
-
hi i m doing my proj in .net 2005. i m passing string to a fuction in c++ called funt() First the function is called from vb proj.. obj.funt(ByVal str As string). but i dont know how to accept it in c++ funt(). plz help me
dalbhide bipin wrote:
i m passing string to a fuction in c++ called funt()
are you already doing it or is it what you want to do ? please show the code you've already tried if any
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
-
dalbhide bipin wrote:
i m passing string to a fuction in c++ called funt()
are you already doing it or is it what you want to do ? please show the code you've already tried if any
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
this is my form.vb file i calling function_1939 from vb obj.function_1939(ByVal str As string) this is my classlibrary.. function_1939 is my function... i want to accept the paramerters send thro VB void Parse_J1939:: J1939 :: function_1939() { }
-
this is my form.vb file i calling function_1939 from vb obj.function_1939(ByVal str As string) this is my classlibrary.. function_1939 is my function... i want to accept the paramerters send thro VB void Parse_J1939:: J1939 :: function_1939() { }
i understood that you already had some VB code. what i want you is to tell me what you have already done for the C++ part...
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
-
i understood that you already had some VB code. what i want you is to tell me what you have already done for the C++ part...
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
actually my library code is too big.. i cant paste it here this is my id.. dalbhidebipin@gmail.com we can chat with each other... if possible?
-
actually my library code is too big.. i cant paste it here this is my id.. dalbhidebipin@gmail.com we can chat with each other... if possible?
dalbhide bipin wrote:
actually my library code is too big..
thanksfully, i don't want it ALL, it want it RELEVANT ! and i don't want your email, we are on a forum, it is to sare knowledges and solutions. so i reiterate my question : will you please post a relevant piece of the C++ code that is about to get that parameter ? and PLEASE use
<pre></pre>
tags around your code sample ; don't paste it like that
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
-
hi i m doing my proj in .net 2005. i m passing string to a fuction in c++ called funt() First the function is called from vb proj.. obj.funt(ByVal str As string). but i dont know how to accept it in c++ funt(). plz help me
A little searching goes a long way... http://www.codeguru.com/forum/showthread.php?t=294616[^] http://www.flipcode.com/articles/article_vbdlls.shtml[^] http://www.dotnet247.com/247reference/msgs/14/73405.aspx[^] http://www.thescripts.com/forum/thread445333.html[^] http://www.codeproject.com/dll/XDllPt2.asp?df=100&forumid=34181&exp=0&select=1175197[^]
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
-
A little searching goes a long way... http://www.codeguru.com/forum/showthread.php?t=294616[^] http://www.flipcode.com/articles/article_vbdlls.shtml[^] http://www.dotnet247.com/247reference/msgs/14/73405.aspx[^] http://www.thescripts.com/forum/thread445333.html[^] http://www.codeproject.com/dll/XDllPt2.asp?df=100&forumid=34181&exp=0&select=1175197[^]
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
hi i watching ur first link its perfect 1 i hve question should i add any header file for BSTR?
-
A little searching goes a long way... http://www.codeguru.com/forum/showthread.php?t=294616[^] http://www.flipcode.com/articles/article_vbdlls.shtml[^] http://www.dotnet247.com/247reference/msgs/14/73405.aspx[^] http://www.thescripts.com/forum/thread445333.html[^] http://www.codeproject.com/dll/XDllPt2.asp?df=100&forumid=34181&exp=0&select=1175197[^]
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
hi i watching ur first link its perfect 1 i hve question should i add any header file for BSTR? thanks
-
hi i watching ur first link its perfect 1 i hve question should i add any header file for BSTR? thanks
dalbhide bipin wrote:
should i add any header file for BSTR?
Only if you want to be able to use a
BSTR
. Why would you unnecessarily add a header file?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb