|
Isn't that a redundant name? Component Based Object Oriented
8bc7c0ec02c0e404c0cc0680f7018827ebee
|
|
|
|
|
It is - and at the time I signaled that to its original poster.
I also told him that his so called CBOOP deepens a lot the old, classic OOP, so it is a new quality that emerged from his work; I sugested him to call it simply "COP" - Component Oriented Programming. But he is so modest, that he told me something like: "let's get this job done first; then we'll have a plenty of time to change it's name".
And it is preciselly his atitude that made me provide help both to design the OS and the compiler (not to mention the qualities of his ideeas).
For details about CBOOP I suggest you to follow the hyperlink:
http://www.programmersheaven.com
Then go to the board called "New programming languages"
I am sorry that for the moment I can't provide many details about this project's stage - perhaps when you will join us as a member of our group... !?
Thancks for feed-back, but right now I have to leave - I am CBOOP-ing you know
|
|
|
|
|
This is an Operating System? I'm actually under strict NDA that prevents me from contributing directly to the development any Operating System.
Sorry.
8bc7c0ec02c0e404c0cc0680f7018827ebee
|
|
|
|
|
What's an NDA?
And if that NDA thing prevents you from contributing to any OS development... why did youu replied to my postage then - since there is "OS" right in its title isn't it. I am literally puzzled. Please explain that to me.
Thancks anyway.
|
|
|
|
|
Non-Disclousure Agreement. Replying to a post is not contributing to the OS. My reply was on the redundant naming of the OS.
8bc7c0ec02c0e404c0cc0680f7018827ebee
|
|
|
|
|
Hi all,
I have came across a problem & is behind it for somedays,but in vein.
Thought that you would be the right person to ask..
Iam working under windows ,using vc++.
My problem comes up when I use zooming & doublebuffering(for preventing flickering).
It makes sense to understand my problem only if I attach a sample application also.(Please tell me how I can attach it or forward it)
Have isolated the problem & had put in a small test application.
my problem is when the "Zoomfactor" is made to 10,I dont see anything in my view.(The problem is not that,it is too small to be seen.I have checked that in my actual project 100%).
If one makes the zoom to 10% & start reducing the size of the window using the mouse,then we can see the text.
Iam attaching a small test application along with this.
One has to look at only the "ex03aView.cpp" file
In "ex03aView.cpp::OnPrepareDC" one can set different Zoom values to the "m_iZoomFactor" variable.(It is set to "10" now)
TemporaryDc is created locally in "ex03aView.cpp::OnDraw"
Also,if there need to be any improvements to be made in the "memdc" class,Please tell me.
some one pointed out that,When I use the following statement in my Memdc.h,before creating the compatible Dc,the bitmap created is too large & that may cause a problem.
But If I comment this one out in my code,I don't see the full rectangle representing the pageSize.
//Client Rectangle.
m_clientRect = *pRect;
pDC->DPtoLP(&m_clientRect);
Hope u could give me a hand on this regard,If possible
Eagerly waiting for a Reply
Thanks....
|
|
|
|
|
hi
Suppose I want an application which takes a source file and outputs its data members and functions.
Supposed to develop into a kind of class view explorer.
Regarding parsing the source file ....
should i go for using regular expressions rules for this parsing or
should i go for a language representation in context free grammer[CFG] and use the CFG rules for parsing
or is there any other possible ideas for source file parsing
awaiting advice
fordge
|
|
|
|
|
I've got two open source projects running at the moment - just me on both of them. One is a reusable security/user management component, the other is an bookmark manager. In both cases, I've more or less finished up the data and business layer stuff without hassles .... but I'm stuck on the web user interface. My web design isnt the strongest, and I'd like to find someone who can a) take over the web UI side of my projects, and hopefully b) share ideas with. I prefer having at least two heads on a project - helps to keep things tighter.
If anyone is interested, drop me a line at oxygene@worldonline.dk. You should be:
a) good at asp.net specifically
b) reasonably good at web styling (CSS etc)
c) in possession of at least some undertanding for OO concepts (I'll be handling most of the "backend" stuff, but you need to be able to code up against my stuff easily enough)
Appreciating open source ideals is definitely a bonus.
Hope to hear from someone out there
Shukri
|
|
|
|
|
I have been working on an upgrade to the 'classic' ZoomIn utility.
Some of the work already in progress has been done by Brian Friesen.
You can see the website for his existing implementation here:
http://www.csc.calpoly.edu/~bfriesen/software/zoomin.shtml[^]
Please post any requests you have for new features.
When I am done, I plan to make the EXE with fully commented source code available from his website and from CodeProject.
Thanks.
|
|
|
|
|
This is a C++ documentation tool:
http://isfotek.se/tmp/dox/
Constructive feedback is greately appreciated!
Thanks,
- NK
PS. despite the "do NOT post programming questions or ads" text the seems to be plenty of those here, hence this post as well. I sincerely apologize if it is out of place. Hopefully the mods are nice here. Cheers!
|
|
|
|
|
narechk wrote:
PS. despite the "do NOT post programming questions or ads" text the seems to be plenty of those here, hence this post as well.
Plenty of those? Maybe when you see news about C++ book, it's not ad because Nemanja as C++ guy surely can appreciate good book, so can everybody reading CP... That's not ad. If it was HIS book, well, it would be ad.
narechk wrote:
I sincerely apologize if it is out of place.
It is, try Collaboration forum. Your apology is accepted
David
|
|
|
|
|
CodeXchange is an Visual Studio.NET add-in and a standalone application providing you with instant integrated access to an online repository of ready to use .NET code snippets.
The CodeXchange addin is a dockable toolwindow inside the Visual Studio.NET IDE, allowing you to integrate it with your standard development environment layout.
CodeXchange is still a work in progress so, any ideas or suggestions are very welcome!!
More info here : http://www.codexchange.net[^]
|
|
|
|
|
I have made a freeware application which exists in many languages. I have made a translation system so that you can translate on the website by just logging in. I am interested in all languages except swedish.
The freeware is a task scheduler for windows. http://www.visualcron.com which will be release in a rebuilt version soon. I would appreciate someone helping me with translation of the new words/sentences.
Please mail me if you are interested. I can't give you any money but I will credit you on my homepage.
thanks / Henrik
--- neteject.com - Internet Solutions ---
|
|
|
|
|
If that software emits messages in English or French, I can translate it into Romanian. Interrested?
|
|
|
|
|
Hi all, I've been reading CP for a while now but this is my first post, so I hope it makes sense!
I'm working on a project that uses a somewhat complex data structure, consisting of about 8 different classes of object all related together. The classes in the structure are getting a bit complex and I would like to break things down a bit but I'm not sure about the best way to do it. Each class has code for accessing the data it contains, displaying itself graphically, saving and loading itself from the database, and checking itself for validity. A lot of these features make strong use of the inheritance hierarchy which is why they are in the classes in the first place.
My main idea at the moment is to create multiple parallel class hierarchies, one representing the base data, one containing display code, one containing DB code, and so on. Each class in the data namespace will have a corresponding class in each of the other namespaces. I'm concerned though that, although this seems to be a better abstraction, it will be hard to do without violating encapsulation - the DB loading/saving classes will need fairly unrestriced access to the data classes. The other problem is the complexity of maintaining all these parallel hierarchies, and of course the best way to use them - do I create a full parallel object graph of database classes if I need to save the data structure, or use static methods in the database namespace to perform the DB operations?
I'm sure there's no straight answer to a question like this, but I'd be interested to know how others achieve the same thing, also if anyone could recommend some good reading on the subject I'd be grateful! Thanks
Jon Merrifield
|
|
|
|
|
i have converted the program into non MFC but it complies and runs but does not send the string.
1) Client:
include "stdafx.h"
#include iostream.h
#include conio.h
#include winsock2.h
#include process.h
#include stdio.h
UINT WINAPI SendStatus(LPVOID pParam)
{
cout<<"\n I am in the thread!!\n";
SOCKET client; //socket is uint
WSADATA wsaData; //WSADATA structure
sockaddr_in serveraddr; //sockaddr_in
int wsaret=WSAStartup(0x101,&wsaData); //Initialize wsaret variable
if(wsaret!=0)
{
cout<<"Fail to initialize:";
return 0;
}
struct hostent *hp;
unsigned int addr;
struct sockaddr_in server;
char servername [30] ="localhost";
SOCKET conn;
conn=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);
if(conn==INVALID_SOCKET)
return 0;
if(inet_addr(servername)==INADDR_NONE)
{
hp=gethostbyname(servername);
}
else
{
addr=inet_addr(servername);
hp=gethostbyaddr((char*)&addr,sizeof(addr),AF_INET);
}
if(hp==NULL)
{
cout<<"Fail to get peer address:";
closesocket(conn);
return 0;
}
server.sin_addr.s_addr=*((unsigned long*)hp->h_addr);
server.sin_family=AF_INET;
server.sin_port=htons(20248);
if(connect(conn,(struct sockaddr*)&server,sizeof(server)))
{
cout<<"Fail to connect:";
closesocket(conn);
return 0;
}
char buff[512];
sprintf(buff,"Client Process Status: \nBismillah he ar rahman ner raheem\n Allah is Great");
cout<<"\nClient Process status is being send:\n";
send(conn,buff,strlen(buff),0);
closesocket(conn);
cout<<"Process's Status sent:"<
|
|
|
|
|
I am building a client server user tracking system that will get the username and computer name from the client kernel and send it to server via winsock.
I have got the different pieces of the puzzle but now i want to combine them all. So help me out
1) i have the perfect running code of the system call GetComputerName( ).
which uses windows.h
#include<windows.h>
#include<stdio.h>
int WINAPI WinMain(HINSTANCE h,HINSTANCE p,LPSTR c,int n)
{
TCHAR szName[256]; // pointer to system information string
TCHAR szBuffer[512]; // buffer for expanded string
unsigned long iTextLength;
TCHAR szSystemInfo[5];
iTextLength = sizeof(szName)/sizeof(TCHAR); // number of characters, not bytes
GetComputerName(szName, &iTextLength);
iTextLength = sprintf(szBuffer, "Computer name: %s", szName);
MessageBox(0, szBuffer, "Computer Name", 0);
GetUserName(szName,&iTextLength);//Get User Name
iTextLength = sprintf(szBuffer, "User name: %s", szName);
MessageBox(0, szBuffer, "User Name", 0);
return 0;
}
2) I also have the perfect running code of client which uses MFC and sends the status of the client-- that is sends the string from the client which is received at the server.
#include "stdafx.h"
#include "client.h"
#include windows.h
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// The one and only application object
UINT sendStatus();
CWinApp theApp;
using namespace std;
int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
int nRetCode = 0;
sendStatus();
return nRetCode;
}
UINT sendStatus()
{
SOCKET client;
WSADATA wsaData; //data structure
sockaddr_in serveraddr; //sockaddr_in
int wsaret=WSAStartup(0x101,&wsaData); //Initialize wsaret variable
if(wsaret!=0)
{
cout<<"Fail to initialize:";
return 0;
}
struct hostent *hp;
unsigned int addr;
struct sockaddr_in server;
CString servername="localhost";
SOCKET conn;
conn=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);
if(conn==INVALID_SOCKET)
return 0;
if(inet_addr(servername)==INADDR_NONE)
{
hp=gethostbyname(servername);
}
else
{
addr=inet_addr(servername);
hp=gethostbyaddr((char*)&addr,sizeof(addr),AF_INET);
}
if(hp==NULL)
{
cout<<"Fail to get peer address:";
closesocket(conn);
return 0;
}
server.sin_addr.s_addr=*((unsigned long*)hp->h_addr);
server.sin_family=AF_INET;
server.sin_port=htons(20248);
if(connect(conn,(struct sockaddr*)&server,sizeof(server)))
{
cout<<"Fail to connect:";
closesocket(conn);
return 0;
}
char buff[512];
sprintf(buff,"Client Process Stat us: \nOH GOD help me out");
send(conn,buff,strlen(buff),0);
closesocket(conn);
cout<<"Process's Status sent:"<<endl;
wsacleanup();
="" return(0);
}
=""
=""
3)="" i="" have="" perfect="" running="" code="" of="" the="" server="" in="" mfc
#include="" "stdafx.h"
#include="" "server.h"
#ifdef="" _debug
#define="" new="" debug_new
#undef="" this_file
static="" char="" this_file[]="__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//" one="" and="" only="" application="" object
="" cwinapp="" theapp;
="" using="" namespace="" std;
uint="" serverthread(lpvoid="" pparam);="" declear="" function
cwinapp="" theapp;="" call="" object=""
using="" std;
int="" _tmain(int="" argc,="" tchar*="" argv[],="" envp[])="" thread="" main,mfc
{
="" int="" nretcode="0;"
="" afxbeginthread(serverthread,0);="" to="" function
="" while(_getch()!="27);
" return="" nretcode;
}
uint="" pparam)
{="" socket="" server;="" is="" unsigned="" int
="" wsadata="" wsadata;="" sockaddr_in="" local;="" structure="" variable="" wsaret="WSAStartup(0x101,&wsaData);" initialization
="" if(wsaret!="0)
" {
="" 0;
="" }
="" local.sin_family="AF_INET;" family="" ip="" ipv4="" or="" ipv6="" local.sin_addr.s_addr="INADDR_ANY;" address="" type="" any
="" local.sin_port="htons((u_short)20248);" number="" on="" which="" communicate
="" initialize="" socket
="" if(server="=INVALID_SOCKET)
" cout<<"error="" socket:"<<endl;
="" if(bind(server,(sockaddr*)&local,sizeof(local))!="0)" binding="" bind:"<<endl;="" if(listen(server,10)!="0)" listening="" listen:"<<endl;
="" }
="" cout="" <<="" "tcp="" started="" up\r\n";="" couts
="" "press="" escape="" terminate="" server\r\n";
="" client;
="" from;
="" fromlen="sizeof(from);
" while(true)
="" buff[512];
="" n;
="" client="accept(server,
" (struct="" sockaddr*)&from,&fromlen);
="" "connection="" from="" "="" inet_ntoa(from.sin_addr)="" <<"\r\n";
="" while(n="recv(client,buff,strlen(buff),0))
" buff[n]="0;
" cout<<buff<<endl;
="" closesocket(client);
="" closesocket(server);
="" 0;
}
4)="" now="" tried="" combine="" first="" two,="" it="" complies="" but="" gives="" linking="" error.="" (="" mfc="" windows.h)
please="" help="" me="" out="" fix="" problem
=""
#include="" "client.h"
#include="" <windows.h="">
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// The one and only application object
UINT sendStatus(); //decleration of functions
CWinApp theApp;
using namespace std;
TCHAR szName[256]; // pointer to system information string
TCHAR szBuffer[512]; // buffer for expanded string
unsigned long iTextLength;
TCHAR szSystemInfo[5];
int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
int nRetCode = 0;
iTextLength = sizeof(szName)/sizeof(TCHAR); // number of characters, not bytes
GetComputerName(szName, &iTextLength); //get Computer Name
sendStatus(); //Call function
return nRetCode;
}
UINT sendStatus()
{
SOCKET client; //socket is uint
WSADATA wsaData; //WSADATA structure
sockaddr_in serveraddr; //sockaddr_in
int wsaret=WSAStartup(0x101,&wsaData); //Initialize wsaret variable
if(wsaret!=0)
{
cout<<"Fail to initialize:";
return 0;
}
struct hostent *hp;
unsigned int addr;
struct sockaddr_in server;
CString servername="localhost";
SOCKET conn;
conn=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);
if(conn==INVALID_SOCKET)
return 0;
if(inet_addr(servername)==INADDR_NONE)
{
hp=gethostbyname(servername);
}
else
{
addr=inet_addr(servername);
hp=gethostbyaddr((char*)&addr,sizeof(addr),AF_INET);
}
if(hp==NULL)
{
cout<<"Fail to get peer address:";
closesocket(conn);
return 0;
}
server.sin_addr.s_addr=*((unsigned long*)hp->h_addr);
server.sin_family=AF_INET;
server.sin_port=htons(20248);
if(connect(conn,(struct sockaddr*)&server,sizeof(server)))
{
cout<<"Fail to connect:";
closesocket(conn);
return 0;
}
char buff[512];
iTextLength = sprintf(szBuffe r, "Computer name: %s", szName);
send(conn,buff,strlen(buff),0);
closesocket(conn);
cout<<"Process's Status sent:"<
|
|
|
|
|
I am trying to write a simple batch file to get a project from source safe, build it using the vs.net cmd line and then deploy it somewhere.
I am using the following line to get the project from vss:
ss get $/MyProjects/MyProject1 -R -I- -NL
–R -> recursive
-I- ->don’t ask for input
-NL -> use long names (alternatively –NS for short names)
However, this is an asp.net project, all the filenames are being trimmed when getting from vss, this results in files being copied over. I have searched the documentation and on the web and cant find my answer, can anyone help?
Thanks,
Rob
|
|
|
|
|
Hi,
We are looking for remote keylogger industry as target and would like to invite programmers. please contact the signed asap
|
|
|
|
|
|
I am trying to get a DLL for the WinRadio WR-1500e that VB6 will
reconize. I have enough knowledge to get me into trouble. The
dll that came with the product does not have an enterance point.
Form reading the information on the dll they are using an user type
vsriable. But what I do not understand is how to get information
from ech of the subitems of the type. Can someone please help me?
|
|
|
|
|
|
|
|
|