Search:
Type: Posts; User: amara.fortheworld@gmail.com
Search:
Search took 0.01 seconds.
-
December 7th, 2010, 02:55 PM
Hello Keang, could you please verify this:
My Cpp Code:
std::string xxxxx::GetActiveProjectNameForJava()
{
CComBSTR projectName(L"\\Default\\");
-
December 7th, 2010, 02:04 PM
Ok let me understand this!! Are you talking about the Cpp functions, so if i have a Cpp method(implemented for the COM server lets say GetProjectNameForJava) which can return a string value, then i...
-
December 7th, 2010, 12:24 PM
Ok i understood what you meant!! But i am new to Java!!
""You will either have to return the new value from the method or pass in an object that can be changed""
""or pass in a object that...
-
December 7th, 2010, 11:21 AM
private void PerformOp() throws JIException
{
JIString InputStr= new JIString("Project2");
dispatch.callMethod("SetActiveProjectName", new Object[]{outStr});
System.out.println("Out String =...
-
December 6th, 2010, 06:02 PM
Forget about the code, my aim is to implement the same function in Java too. In the JI is J-Interop "http://j-interop.org/".
JISession session = null;
IJIComObject sysInfoObject = null;...
-
December 6th, 2010, 01:27 PM
I am having a ComServer, and its outlined functions are implemneted in C++. Below is the Cpp function.
HRESULT cIntuneServer::GetActiveProjectName(/*([out]*/ BSTR* nameOfProject)
{
...
-
December 3rd, 2010, 12:22 PM
Cool, created a directory like you said, compiled a produced the class file and now i was able to execute it.
If i need any more help will ask you here.
Thanks alot for the information.
-
December 3rd, 2010, 11:50 AM
Thanks for the quick response, you were right the directory structure
org/jinterop/dcom/test/MSWord.class is present in j-Interop.jar which is present in the classpath.
Now how do i get my new...
-
December 3rd, 2010, 11:12 AM
I have a file by name MSWord.java:
Class name MSWord
package org.jinterop.dcom.test;
This file is located at C:\Documents and Settings\xxxx\Desktop\Java Files New
Environment Variable: ...
-
October 13th, 2010, 11:54 AM
continued.........
trendpoint[pen][i]* = &m_TrendPoints.GetPrev(pos ); (where the point is start of 1st hour)
trendpoint[pen][i]* = &m_TrendPoints.GetPrev(pos ); (where the point is start of...
-
October 13th, 2010, 11:49 AM
i just gave that to shiw the looping logic i am going through:
pos = m_TrendItems[pen].GetTrendPoints().GetTailPosition();
if(pos)
trendpoint =...
-
October 13th, 2010, 11:15 AM
@CDEFG and @ Philip Nicoletti
Thinks this should help,
CTrendItems m_TrendItems;
typedef CArray<CTrendItem, CTrendItem&> CTrendItems;
CCsTrendPoints& GetTrendPoints(){
...
-
October 13th, 2010, 10:42 AM
do you have any suggestions GCDEF?
-
October 13th, 2010, 10:15 AM
@Lindley,
the array is sorted according to timestamps of the data points.
-
October 13th, 2010, 10:12 AM
@GCDEF, is this what you are asking for?
typedef CArray<CTrendItem, CTrendItem&> CTrendItems;
CTrendItems m_TrendItems;
@Lindley, sure will check now.
-
October 13th, 2010, 10:05 AM
@Linley,
can you explain me how to use a map in my case.
-
October 13th, 2010, 10:02 AM
I am sorry it is a list.
i meant not to store a single point, i just want to know how to get a pointer, so that i can store as many as i want.
I have 10 hours of data points in my list, if i...
-
October 13th, 2010, 09:37 AM
position = m_TrendItems[pen].GetTrendPoints().GetHeadPosition();
while(trendpoint .m_time < requiredtime)
trendpoint = m_TrendItems[pen].GetTrendPoints().GetPrev(position);
m_TrendItems is the...
|
Click Here to Expand Forum to Full Width
|