|
What is it then???
A builder question??
It is a programming question and it is not the place for it
|
|
|
|
|
asking for general topic around programming is not considered as if the guy was asking for some help writing code...
|
|
|
|
|
This is a skeletal msbuild project build task I use to start off my builds. It assumes that the build file is located in a build directory at the project root.
<ItemGroup>
<Project
Include="..\**\*.csproj"
Exclude="$(MSBuildProjectFile)" />
</ItemGroup>
<Target Name="Build">
<MSBuild
Projects="@(Project)"
Targets="Build">
<Output TaskParameter="TargetOutputs" ItemName="BuiltAssemblies"/>
</MSBuild>
<Message Text="Built: @(BuiltAssemblies)"/>
</Target>
That builtassemblies variable is super useful, you use it to feed the other tasks in your build file with a list of assemblies to process.
Its always a good idea to develop your build file outside of ccnet. Only wire it up for CI once you have it working standalone.
Dont know if there is a forum for build / test automation, so the lounge seems fine to me.
Ryan
|
|
|
|
|
I would have asked in general discussions.
Kevin
|
|
|
|
|
if mouse moves too fast, there is a big gap between every 2 points recorded on WM_MOSEMOVE.
Q: how to get more points or reduce distance between 2 points?
|
|
|
|
|
I don't think you can. If the mouse moves fast, it will not be a "path" but a "line" between the starting and ending mouse positions. You can extrapolate the points, using y = mx + b. Not sure why you'd need that though.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
i am using this code for inserting the data...and iam using oledb consumer wizard to make connection....can any body point out what is the problem here...it always get user define run time error..."Error inserting the record"...after calling dll function...any help
typedef int (CALLBACK* Set_Quote_DB)(unsigned short**,short*,unsigned short**,unsigned short**,unsigned short**,short*);
void CArielProjectVer2Dlg::OnPriceChangeArielapictrl1(LPCTSTR SessionId, LPCTSTR RequestId, short MarketNo, LPCTSTR Market, LPCTSTR Bid, short BidDirection, LPCTSTR Ask, short AskDirection, LPCTSTR High, LPCTSTR Low, short MarketState, LPCTSTR Timestamp)
{
HINSTANCE hInstance=LoadLibrary("WartzODLCOM.dll");
Set_Quote_DB SetQuote;
SetQuote = (Set_Quote_DB)GetProcAddress(hInstance,"setQuoteToDb");
SessID=SessionId;
CurrentRequestId=RequestId;
txtMarket = Market;
marketno.Format("%d",MarketNo);
bid_d.Format("%c",BidDirection);
ask_d.Format("%c",AskDirection);
marketstate.Format("%d",MarketState);
m_MainEdit=m_MainEdit + "<Price Change>" SessionId + RequestId + marketno ;
m_MainEdit=m_MainEdit + Market + Bid + bid_d + Ask + ask_d High ;
m_MainEdit=m_MainEdit + Low + marketstate + Timestamp ;
UpdateData(FALSE);
iLineCount=m_EditCtrl.GetLineCount();
m_EditCtrl.LineScroll(iLineCount);
USES_CONVERSION;
BSTR bsTimeStamp = A2BSTR(Timestamp);
BSTR bsMarket = A2BSTR(Market);
BSTR bsBid = A2BSTR(Bid);
BSTR bsAsk = A2BSTR(Ask);
HRESULT hResult = SetQuote(&bsTimeStamp,&MarketNo,&bsMarket,&bsAsk,&bsBid,&MarketState);
if(FAILED(hResult))
{
AfxMessageBox(_T("Error inserting record"));
return;
}
else
{
MessageBox(_T("data entered" ));
}
SysFreeString(bsTimeStamp);
SysFreeString(bsMarket);
SysFreeString(bsBid);
SysFreeString(bsAsk);
FreeLibrary( hInstance );
UpdateData(FALSE);
}
|
|
|
|
|
please edit your message, and change the <code> tags with <pre>.
thanks
|
|
|
|
|
toxcct wrote: posting police
LOL
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
|
toxcct wrote: nobody respect them
except professional members
|
|
|
|
|
I think the main reason for this behaviour is this (in general):
The obvious choice (without reading the guide lines) is to surround source code with the code tags. Which is wrong(!)
It's not easy (still, for someone who hasn't read the posting guide lines) to realize that the correct choice is to use the pre tags. The name isn't very descriptive...
IMO, a change in the names in the formatting options should make it easier for the posters to do the correct choice.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
kakan wrote: IMO, a change in the names in the formatting options should make it easier for the posters to do the correct choice
i think this will need a big big change in the CP engine.
a better/simpler solution would be to provide a more explicit picture on the buttons which allow to surround a text with one or other html tags...
|
|
|
|
|
I'm sure it would help up the situation.
Any difference from today must be an improvement...
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
toxcct wrote:
posting police
What about Posting Police Gang
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
ThatsAlok wrote: What about Posting Police Gang
so you think advising people to follow CP rules is that bad ?
what about Posting Crap Gang, which is very influent thoses days ?
|
|
|
|
|
toxcct wrote: what about Posting Crap Gang, which is very influent thoses days ?
I think you're right. There's a real crappy gang set out these days who don't follow the rules.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
toxcct wrote:
so you think advising people to follow CP rules is that bad ?
i am not teasing you buddy... just want to from Posting Police Gang(Group).. what you say?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
ThatsAlok wrote: what you say?
i don't get you...
|
|
|
|
|
I think you misunderstood him !
:Gong: 歡迎光臨 吐 西批 :Gong:
|
|
|
|
|
i think so, because i know Alok is a good guy, wanting the best for CP, but still i can't get what he meant
|
|
|
|
|
Hi all,
i have a DLL named as "AxInterop.ECLActiveX.dll" but i dont know is it "activex control" or "simple com DLL".
I have to use this DLL in my application which is console base application in managed code.
this DLL export some function like "compreesFile" etc.
can anybody tell me how can call function from that DLL.
please reply me.
thanks
bankey
|
|
|
|
|
|
Hi we are running on application on port .Here it is required to display the some
message when the port is already bind.kindely help me.
#sanroop#
|
|
|
|
|
Are you talking about a communication port used by sockets?
If so, then bind() should fail if the port is in use. Note that even if a port is in use by
another protocol, it's still possible to use the port. For example you can have tcp listen on
a port and use the same port number for UDP.
|
|
|
|