|
George_George wrote: the C# Programming Language
This one?
kind regards.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Yes, good book.
regards,
George
|
|
|
|
|
hi friends
i need a very simple compiler that created by visual c++ for my undergraduate compiler course project and i also need a source of that compiler!!!! please help me!
tanx alot
|
|
|
|
|
faradgi wrote: please help me!
Hi faradgi,
What kind of help are you expecting? Are you expecting the people over here to write a compiler for you? Sorry, that won't happen. You must do your own assignment and you may ask questions here, if you run into trouble.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
I suggest you to read the book of Wirth, Compiler Construction.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
|
Hi all,
i m new in VC++2005, now i m working on audio-video related software.
i have a problem in reading and writing of video file.
i want to read video file of any format and write selected part of it in any other file.
but i dont know how can it possible.
so please anyone can help me.
thanks in advance
|
|
|
|
|
v.j wrote: i want to read video file of any format and write selected part of it in any other file.
Cut Assistant[^] does that, and is open source. (This one is on delphi, but do a little search there for something similar).
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
thnks for help, yes it is same like my application .
i m working on VC++2005,an my application is a SDI type.
now please help me for souce code also.
thanks.
|
|
|
|
|
v.j wrote: now please help me for souce code also.
Are you joking? I provided you a sourceforge[^]link.
You'll find the source code right there.
Additional links:
LiVES[^]
avidemux[^] (This one must suit you good)
[added]
dvbcut[^] (This too is on C++)
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
modified on Saturday, March 8, 2008 3:03 AM
|
|
|
|
|
Sorry sir ,
but i m new in this field.
i checked all links those are r sending me.
but i n not able to get the source code because they use different-2 langages and platforms.
please help me
|
|
|
|
|
Did you see articles on the codeproject?(for avi files).
|
|
|
|
|
hi everyone,
good morning to all, i am savitri here. i am facing one problem in printing/reading the values from the card. please help me out.i used like this:
dStr="";
for(Ctr=0;Ctr<15;Ctr++)
{
dStr=dStr + CHAR(dataRead[Ctr]);
}
m_MemId=dStr;
in this m_MemId is a CString type and it is text box variable so the value of dStr is to print in that text box.
please help me out.
i am thankful u all.really i learnt many new things from u experts.
thanku,
savitri.
|
|
|
|
|
Call UpdateData(false); after m_MemId=dStr; . And then, there are real good reasons for you to Avoid UpdateData[^].
savitri wrote: i am savitri here.
You need not introduce yourself every time you post a question. You've made quite a few posts and people know you.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hello All,
I have a question.
Why every object of a class which contains virtual functions, should have a hidden VPtr in it? This VPtr will increase the size of object by 4 bytes. That VPtr will only point to the base address of VTable. Why an object requires this VPtr in it? Instead it can be put at class level like VTable.
Regards
Kishore
|
|
|
|
|
Kishore JP wrote: Why an object requires this VPtr in it? Instead it can be put at class level like VTable.
class level VTable, object level VPtr which points to VTable.
And why VPtr in objects, if not how the binding to the function happens if the object is typecasted to different Class types in its inheritance hierarchy.
|
|
|
|
|
I've tried:
1. ShowScrollBar(SB_HORZ)
It works, but when a item is added or removed, the scrollbar is automatically adjust (hide when not necessary).
There is another problem with this solution, though I've used xptheme.xml , it'll show non-xp style when first called.
2. WS_HSCROLL
Not work.
|
|
|
|
|
Compiling...
MocaTest.cpp
d:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h(1198) : error C2059: syntax error : ';'
d:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(919) : error C2275: '_Iter' : illegal use of this type as an expression
d:\Program Files\Microsoft Visual Studio 8\VC\include\xlocale(629) : error C2143: syntax error : missing ')' before ';'
d:\Program Files\Microsoft Visual Studio 8\VC\include\xiosbase(463) : error C2143: syntax error : missing ')' before ';'
for
c1xx : fatal error C1083: Cannot open source file: 'for': No such file or directory
Generating Code...
Build log was saved at "file://j:\Human Movement Detection\Human\ImagProcessing\msvc\libmoca\MocaTest\Debug\BuildLog.htm"
MocaTest - 103 error(s), 19 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
although we installed vcpp_40904_install.exe
plz reply as soon as possible
|
|
|
|
|
How to use CDaoDatabase to open SQL server database?
the database is remote on the internet or local-area-network.
I need sample of connect string, eg. how to use ip-address etc in function:
CDaoDatabase::Open(LPCTSTR lpszName, BOOL bExclusive = FALSE,
BOOL bReadOnly = FALSE, LPCTSTR lpszConnect = _T(""));
any actual C++ code is help.
thx.
|
|
|
|
|
|
|
I have an EXE that has a hidden window.
Is it possible to obtain a handle to this window and post a WM_QUIT message.
The basic requirement that I have is that I need to un-install an application and before the process of un-install , I need to kill the process .
|
|
|
|
|
Something like this would work.
VOID YourClass::EnumerateWindows()
{
EnumWindows(EnumWindowsProc,0);
}
BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
{
DWORD dwPID = 0;
GetWindowThreadProcessId(hWnd,&dwPID);
if(dwTargetPID == dwPID)
{
if (!(GetWindowLong(hWnd,GWL_STYLE) & WS_VISIBLE))
{
::PostMessage(hWnd,WM_CLOSE,0,0);
}
}
return(TRUE);
}
|
|
|
|
|
act_x wrote: before the process of un-install , I need to kill the process .
cruel programming.
|
|
|
|
|
Hi,
I am re-posting this because I am still having this problem and I am desperate to figure it out. I am trying to create a tray icon. I downloaded Chris Maunder's project and it works for me in my test dialog which is modal. Now I am trying to get it to work in a modeless dialog that ultimately I want to be hidden. I cannot get the tray icon create logic to work. The call to ::Shell_NotifyIcon() fails but I have no idea why. The NOTIFYICONDATA struct seems to be filled in correctly and GetLastError() returns 0. I have tried it with and without a visible modeless dialog. I need the tray icon only to let my user know that my service is running. My code is below.
I call the logic to create the icon below:
m_iconTray.Create( this, <br />
WM_ICON_NOTIFY,
_T("AutoFileHandler is running"),
::LoadIcon( NULL, IDI_ASTERISK ),
IDR_TRAYICON );
The Icon Create() logic:
m_tnd.cbSize = sizeof(NOTIFYICONDATA);<br />
m_tnd.hWnd = pParent->GetSafeHwnd()? pParent->GetSafeHwnd() : m_hWnd;<br />
m_tnd.uID = uID;<br />
m_tnd.hIcon = icon;<br />
m_tnd.uFlags = NIF_ICON | NIF_TIP;
m_tnd.uCallbackMessage = uCallbackMessage;<br />
_tcscpy(m_tnd.szTip, szToolTip);<br />
<br />
VERIFY(m_bEnabled = ::Shell_NotifyIcon(NIM_ADD, &m_tnd));
Any help appreciated
|
|
|
|