shouvik.d 33 Junior Poster

Thanks for the ideas.

If I take the network out in the control panel will it eliminate that log in screnn and the problem of not being able to get past it?

Exactly not! If u need to take the network connection out nothing will happen as u assume. you need to take it out from the Domain as I had suggested. From system properties Computer name. Just deselect the radio button This computer belongs to a domain...next time onwards the domain login won't come.

Had to do a system restore last time to get back to where I could use it.

And that s really a job of an intelligent person. I would even suggest you to create one more checkpoint before removing the domain name.

Go ahead all the best.

shouvik.d 33 Junior Poster

Hi,
Please What Are The Commands And How Can I Configure My Linux System To Server As A Dynamic Nat.

Try man iptables in the bash shell I think you will get lots of info. also google the command iptables

shouvik.d 33 Junior Poster

i did it in the end by noting down the kernel numbers shown in grub and then doing apt-get remove.

Have you already got those entries removed if not please refer
http://forums.debian.net/viewtopic.php?p=71857&highlight=&sid=ba7a841eedf5c22bbe2c72bd57497b65

Most Probably you have gone thru this earlier only still sharing it.

shouvik.d 33 Junior Poster

Wow, that was easy! I do not know what I was thinking... Thanks!

U were thinking abt whom ;) ?

shouvik.d 33 Junior Poster

What I'd like to do is remove the work network and just use it like a normal single user PC.

If that is the case your laptop might be registered to some domain. in run type sysdm.cpl and in computer name tab remove the Domain name.

I also have admin priv's and can also login as the admin with the admin password.

As you are already having the Admin privileges then just log in as Administrator with the system name always. I think that would work fine. Let me know in case you face any other issues.

shouvik.d 33 Junior Poster

your folder option? what is wrong with it? you can't find your folder options?

Great great :D What portion would get hidden in case the Hide Files options is enabled

shouvik.d 33 Junior Poster

I found out the Solution...
Go to run type regedit

Navigate to the following Key
HKEY_CURRENT_USER\Software\Policies\Microsoft\Communicator

There you will have
1)DisableP2PAudio
2)DisableFileTransfer
3)DisableVideo

values set to 1.
Just change them to 0 and restart Microsoft Office Live Communicator. That's it done
Next time you open a window all the conferencing options will appear

shouvik.d 33 Junior Poster

hi
Download a fairly good freeware from this link
http://download.sysinternals.com/Files/ProcessExplorer.zip
USe this tool to determine which are the processes having Boot up authorization. Mostly they will be clubbed inside svchost.exe files. Click on any svchost entry and go to properties. Check out which are the services u can discard. that's it. remove them.

Also go to run type regedit and naviagate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
then remove all that u feel are not required. Don't touch the ones from system32 folder.

hope you get to solve your problem this way. You can also use a tool TweakXP which is a freeware. please go to the site http://www.onlinedown.com

All the best

shouvik.d 33 Junior Poster

Hi,

Few days back I had been infected with a Virus w32.Fujacks.K...Thereafter it has changed my FolderOptions->Show All files options. Even if I change it from Do not show hidden files to Show all files and click apply the System is stubborn to revert it back. Could anybody help me out with this. Atleast the registry key which keeps this information.

shouvik.d 33 Junior Poster

Hello all,

int arraySum(const int formalArray[], int lower, int upper)
{    
    int sum = 0, temp;
 
    if(lower == upper)
        return formalArray[lower];
    else
        return sum + arraySum(formalArray, lower + 1, upper);
}

Hi dear,

You have written a good code an efficirnt one indeed I just don't get how could you miss the silly mistake.

return sum + arraySum(formalArray, lower + 1, upper);

I don't think

sum

is at all needed. replace it with

formalArray[lower];

that's it. there you go.

Happy coding :)

shouvik.d 33 Junior Poster

try removing the items from /boot/...all the img and vmz..files would be listed there. the ones that u don need u can remove them and as well remove the entries from the menu.lst. Though this is I admit is a very poor solution..i dont know any better

shouvik.d 33 Junior Poster

Here it is ... Object Dock appears Left otherwise my desktop is sqeaky clean :)

shouvik.d 33 Junior Poster

Hi all,
Most of u must have used Microsoft Office Communicator. Earlier the conferencing options on the top of any conversation used to be missing in my window. No matter whatever I tried, editing security policies etc...nothing worked even unistalling/reinstaling didn't. Finally I unistalled it and then manually removed all entries from the registry which had communicator as a key/dword/string value. When I reinstalled it again and voila!...it all appeared...
could u tell me what could be the reason...
and could there be any alternative to this raw method.

shouvik.d 33 Junior Poster

As we all know we don't have Hashes in STL can anybody please suggest an analogous way of emulating it. Or also has any library added it as a standard component?

Please do let me know

shouvik.d 33 Junior Poster

according to the following call stack

NTDLL! 7c901230() 
NTDLL! 7c96cd80() 
NTDLL! 7c960af8() 
KERNEL32! 7c85e9cf() 
_CrtIsValidHeapPointer(const void * 0x00032b78) line 1697
_free_dbg_lk(void * 0x00032b78, int 1) line 1044 + 9 bytes 
_free_dbg(void * 0x00032b78, int 1) line 1001 + 13 bytes operator 
delete(void * 0x00032b78) line 351 + 12 bytes 
CString::FreeData() line 146 + 15 bytes 
CString::~CString() line 213 $E155() + 34 bytes 
doexit(int 0, int 0, int 0) line 353 
exit(int 0) line 279 + 13 bytes 
mainCRTStartup() line 345 
KERNEL32! 7c816fd7()

It is clear the error was occuring tryin to free the CString objects which incidentally I had made global due to the requirements. Hence I refactored my application and passed them as reference.

What I inferred from the situation is that while tryin to free up the Cstring memory it encountered that the heap had already been unintiallized. however it is still unclear to me how was the heap cleared before even C Runtime tried to unregister it. I never explicitly have defined any destructors.

shouvik.d 33 Junior Poster

Hi,

I have a Win32 Console Application which is throwing the Debug Assertion Failed! .. _CrtIsValidHeapPointer( pUserData ) and followed by a Debug Assertion Failed! .. _BLOCK_TYPE_IS_VALID(pHead->nBlockUse).

After I did a Step by Step Debug strangely what I saw was it is throwing error once it is exittin the main function.

Unlike any character pointers and deletion of heap without its references as of when generally this error occurs I have no such instances.

please could you suggest a probable solution to this. please help.

adnanhad commented: hi +0
shouvik.d 33 Junior Poster

hi,

I'm doing a project which requires extraction of all the methods and members of a class in CPP files and such similar other informations. One big hurdle is these methods might use values/variables from other modules/classes. so I'm in need of creation of a complete symbol table which is becoming very tough tat can span to those other modules too. can anybody suggest an open source project which has these functionalities, and as well creation of the symbol table wherein I can use these symbols.

I tried with lex/yacc but then the scope of an extraction remains only within a file, else I need to write my own routines to extract the cross module dependency information, which ofcourse due to paucity of time is becoming a foolish decision.

Hope you get my objective. Please help.

shouvik.d 33 Junior Poster

please help. I'm not able to $$ at all. the error Untyped Attribute is repeated at any case.

PLease help me it is kind of urgent.

shouvik.d 33 Junior Poster

I'm now able to run lex files fine but while utilizing the yacc stack descriptors like '$$' it is giving the following error:

warning Y4003: '$$' : attribute is untyped

thought this is a warning now. If I'm assigning anything to it or trying to use string copy then it is throwing an error.

please help.

shouvik.d 33 Junior Poster

so how to type cast it. I'm understanding the error but as a matter of fact the CPP file is not manually written. it gets generated by Bumblebee Parser Generator. I saw this kind of file stream assignment to most of the projects

What shall I do ?:sweat:

shouvik.d 33 Junior Poster

Well the problem is not with Bumblebee. When I used a sample project from SampleCodeForLex/Yacc then also I faced the same error as mentioned below.

error C2440: '=' : cannot convert from 'struct _iobuf *' to 'class std::basic_istream<char,struct std::char_traits<char> > *'

for the code line

FILE   *temp,
         *f;
lexer.yyin = f;

lexer is the object of the class CLexRC wherein CLexRC loks like this in first line of the class

class YYEXPLEXER YYFAR CLexRC : public _YL yyclexer {

please help.

shouvik.d 33 Junior Poster

I can't shift to Linux becoz my existing project is in VC++ 6.0 and I've to add parsing functionality to it. Hence you can see the problem here.

shouvik.d 33 Junior Poster

I want to write a parser for C++ which can extract methods and members pertaining to a particular class(es) in a CPP file. I used Parser Generattor tool by BumbleBee softwares and did all the project settings as required by them but still keep on getting fatal errors in Exception Class(of Visual Studio 6 Library).

Is there a proper tool wherein I can integrate lex and yacc with VC++ 6.0.

Urgent Help Required. Please help

shouvik.d 33 Junior Poster

In our institution the firewall exclusively allows HTTP traffic alone. It does allow for ports other than 80 but the packet format should confirm to HTTP. Now I have a system at home connected to the internet by a router. I even have a static IP provided to me by my ISP. But in order to remotely access files not only for reading / opening alone but even for modification, upload, download etc. i need to use FTP. But the packets are dropped by the firewall.

How and in which language can we write an ActiveX component which can convert these packets to HTTP from my institution system for outgoing traffic and also reconvert the HTTP to the original format at my home system end. Similarly as any inbound traffic other than HTTP is dropped so the same has to be performed at my home end also.

Also tell me how what protocol and ports does mstsc.exe (WindowsXP) uses. because i'm running IIS 6.0 at both ends. Using MSTSC I can log in from any public system into my home system.

Could you please throw some light on the above problem. In summary my main objective is to have a directory listing of my system(home) files so that I can use them locally. How to do it?

shouvik.d 33 Junior Poster

I generated the map file with -Map option while compilation but it doesn't contain any mangled name. One way is using the object file and then using the command
nm -g --defined-only <object_file>
but then if I get some stream reader sort of thing my job becomes easier.

shouvik.d 33 Junior Poster

how to retrieve mangled names in GCC. any Idea:?:

shouvik.d 33 Junior Poster

The people as codeproject.com seems to have answered your question quite adequately. I see no point in rehashing something that was already posted over there.

Firstly though this is a follow up of the previous thread but it's nowhere near to rehashing...

secondly my private access is done whereby I did not perform any malicious activities

Still after this I really thank all of those who poured in suggestions and criticisms because both are complementary.

Thanks to all for there precious time spending on this thread. Will meet you guys in some other thread:)

shouvik.d 33 Junior Poster

you needn't have taken pains to post this too.

~s.o.s~ commented: Have some respect for senior members, no need to be sarcastic... -2
debasisdas commented: SHOULD KNOW HOW TO BEHAVE HERE. -2
shouvik.d 33 Junior Poster

I think you didn't get my question correctly. I need the Load address of a process. So that i can calculate the Rva+Base address
please refer to the links i'd provided in my posts

shouvik.d 33 Junior Poster

Hi all,

we al know the preffered load address of any proj is 0x00400000 and DLL is 0x10000000. now if the OS is unable to use this address it relocates the project.
now i have a need to use the Rva+Base address of all the methods available in a class within a project. One method is reading the map file but say if u don't have the address available so relocation takes place hence the safest way is to dynamicaly obtain it

hence i want to know is there any way of obtaining the base address or the load address of a process. if at all you feel this is not a viable solution then can i obtain the current address from the mangled names like ?show@disp@@QAEXXZ for a public method show belonging to class disp as per VC++ conventions.

undname just gives the resolved name but its of no use in callin a function. so can you people just help me out

for a better idea u can refer
1)Mangled Name

2)Private Access

shouvik.d 33 Junior Poster

yeah you all understood my problem well. But as i've to find a solution(with no malicious intentions, as you all suspect) i'll try to do it on my own. Thanks for the continous help and support. I'll again turn towards you people when I face any other problems. Its a great place to share my problems.

really thanks to all for your support.

shouvik.d 33 Junior Poster

The stupid thing is, why can't you use "public"?

No body is taking a note that i've said i cant change the code in the files ported to me in .obj form.

And u ppl r confused thinking why do i need to access the private member. Think of a scenario that u r to develop an application where u need to just to access the private methods in diff object files by linking them in your application and do some sort of operation which wont reflect on the integrity of any of them. only while linking with ur application u r in need to access the private methods otherwise the private remains private.(mind it i'm defining my behaviour well:))

rest u too know i just cant divulge the details of the project in open communities.

hope u can understand a bit more extent of my proj requirement. I'm not to alter the original object files at any case only i'll be making my application so. rest if they r linked again in some other application the C++ code of conduct is maintained.

this is what reusability is aimed at. i've come up with such a weird requirement that i need to do so. My intentions are never malicious.

shouvik.d 33 Junior Poster

eh! i dint take it that way...its fine..but neither of wht u're assuming is true...the fact is its really a requirement...that's how much i can say for now...

the world is full of exception a reuirement too comes that way at times defying the laws of C++

shouvik.d 33 Junior Poster

how do u presume i'm a hacker :(

shouvik.d 33 Junior Poster

we can access them if we know the binary layout of the object...just making it private doesn't assure that the data is completely isolated from open access. but then i just cant take any risk of having errors such as dangling pointers so i want to use a more= full proof method

shouvik.d 33 Junior Poster

is this the end? plz help

shouvik.d 33 Junior Poster

Is this the end? plz help

shouvik.d 33 Junior Poster

See that's only i can say. rest is out of my scope too. let it be bad but its the basic requirement

shouvik.d 33 Junior Poster

Can you post the actual requirements that you're working from? What you're trying to do doesn't make sense for any reasonable project.

The above requirements alone. i cant chng anything in the lib/obj files given to me only the header will be given along. so all i need is to access the private members in those classes in my appl.

i'd be linking those files with my application.

hope i answer ur queries

shouvik.d 33 Junior Poster

Now this way what has happened is i've deviated from my main subject. I'm in dire necessity to really access the private members keeping VC++ 6.0 as my native platform as that falls under the requiremen specification of the project.

plz help

shouvik.d 33 Junior Poster

no this doesn't hold good for VC++6.0

i need to redefine the keyword.

shouvik.d 33 Junior Poster

Except ur request to switch to a new compiler like VS 2005 etc. I did wat u aksed.

No errors no warnings works fine. it did compile on the real VC++ compiler

shouvik.d 33 Junior Poster
#include <iostream.h>
#undef private
#define private public
class pvt
{
private: 
 void hi()
 {
  cout<<endl<<"hi there";
 }
};
 
void main()
{
 pvt o;
 o.hi();
}

Compiling...
x.cpp
Linking...
x.exe - 0 error(s), 0 warning(s)

in VC++ 6.0
works fine u see.

shouvik.d 33 Junior Poster

it isn't a console based application.

Simple win32 appl. and main() itself is working as an entry point if i remove the lines

#undef private
#define private public
shouvik.d 33 Junior Poster

I couldn't make private definition to public
as it threw the followind error in VC++ 6.0

LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol [EMAIL="_WinMain@16"]_WinMain@16[/EMAIL]
Debug/pvt.exe : fatal error LNK1120: 1 unresolved externals

shouvik.d 33 Junior Poster

surely sir,
i'll keep the queries most unambiguous

will adhere to ur advice:)

shouvik.d 33 Junior Poster

Say if we ve certain private methods along with private data members and public methods.
other than friend function is thr any other way we access these members(they being private only) directly. its one of the requirements in a project of mine.
The real prob comes when accessing function.
say we've classes ported to us in .obj format. then going for DMA using pointers is a risky n unreliable job.

class x
{
private:
void meth1()
{
cout<<"Meth1";
}
void meth2()
{
cout<<"meth 2";
}
};
class xduplicate
{
public:
void virtual meth1();
void virtual meth2();
};
main()
{
x obj;
xduplicate *obj1;
obj1=(xduplicate *)&obj;
obj1->meth1();
}

we can access meth1 only if in class x it is virtual. i.e. the entry is in the virtual table.
But now i cant jst change the native code ported to us. i've to anyhow access the private methods without any change in native code.
wht we're plannin is x will be the producer class n xduplicate the consumer class.
x will be available as .obj along with .h file
so how can 1.

though one of the cheap n unprofesssional sol is

#define private public

but this unwantedly unveals many non required methods toopen arena

plz hlp

shouvik.d 33 Junior Poster

hi all,

Looking 4ward to a gr8 time onboard.