|
hi all,
i am software developer in vb.net and currently working in a company.
i have developed many applications.
my problem is to protect my coding from others, even from our system administrator.
can any one tell me how can i do this. an good example and coding would be help full for me.
thanks.
rmshah
Developer
|
|
|
|
|
r_mohd wrote: my problem is to protect my coding from others, even from our system administrator.
You can't. The system admin's have God rights, while you don't.
You should actually be asking your system admins for this, not us. There is no code that's going to protect your files from anything, at least not in the way you're implying.
|
|
|
|
|
any how, thanks.
rmshah
Developer
|
|
|
|
|
Hi,
How do you make assembly wrappers for a GNU compiler? I am confused as to how to make an assembly wrapper/macro. Upon my searches/readings, I think that there is no standard way to do it, and that it depends on your compiler/assembler.
My problem is that I have a few lines of assembly code that I keep using for several functions.. in C/C++, you would just make macros for those lines of code. How do you do that for assembly? Any pertinent feedback would be appreciated. Thanks, let me know.
Luis_the_Code
|
|
|
|
|
I know this will sound mean, but I mean it in the best way, search your assembler's docs for macros. Every asm is different, and I had no idea how complex NASM was until i delved into the docs. Sorry I don't know anything about your compiler/assembler
Also if you're using inline assembly this will (should) work:
#define MY_ASM_BLOCK __asm {mov ax, 0x40 /<br />
xchg ax, bx /<br />
}
|
|
|
|
|
How to instal exchange server?
|
|
|
|
|
Enter Cd into cdplayer - Run setup!
Seriously, do you really expect anyone to answer that question? Noone will write you a book in a forum. Try to get one here[^] instead.
There is a lot of problem solutions and tips on http://www.slipstick.com/[^]
There's also some tips on how to get a proper answer to your questions here[^].
|
|
|
|
|
Hi
Can anybody tell me how can I - as a system adminsitrator - prevent the limited users from changing wallpaper in windows XP without turning on active desktop. Since it has severe negative impact on performance.
Thanks.
reman
|
|
|
|
|
Check in the group policy settings. I'm pretty sure there are policy settings that control the desktop background, icon placement, etc. but I don't know what they are off-hand.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
Open Active Directory Users and Computers. In the appropriate OU create a new Group Policy named after the purpose. If you don't have an appropriate OU, create one. Making policies that affect everything is usually bad practice as far as I'm concerned.
Edit the new policy. Under 'User Configuration - Administrative Templates - Control Panel - Display' you can 'Prevent Changing Wall Paper'.
When you're at it you can also 'Hide the Desktop Tab'.
Under 'User Configuration - Administrative Templates - Desktop - Active Desktop' you can also 'Disable Active Desktop' if performance is an issue.
|
|
|
|
|
all,
i have a very basic question "does windows XP supports snmp MIB-II by default?"
thanks
vptech
|
|
|
|
|
After few research found that the answer as Yes.
|
|
|
|
|
Hi All,
I need to determine and anticipate when the exception 'Out of memory' occur. The first easy case is scanning the virtual memory size due to 2GB limitation in Windows 32Bit OS.
But, this exception can occur in other circumstances. I suspect that the limit max of 'Commit Charge' value is reached. I don't know how to get this value.
Somebody can help me in this case ?
Thanks for the response
André Rios
|
|
|
|
|
Out of memory exceptions happen whenever the .NET Framework can't allocate any more memory in the process. Don't try to predict it. Handle the exception.
It's not a good idea to skate along the edge of the Commit Charge Limit (the size of physical memory plus the size of all page files, less whatever physical memory the OS needs for itself) because you'll be swapping.
If you're trying to be like SQL Server and cache as much data in RAM as possible without starting to swap, see the GlobalMemoryStatusEx API and the ullAvailPhys member of the MEMORYSTATUSEX structure. I believe SQL Server tries to keep this value around 10MB.
Windows XP and later provide a way to be notified when free physical memory is either low or abundant. See CreateMemoryResourceNotification for more information.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
My application uses a number of files, and when I run it as “Administrator”, the application opens those files with one contents; while when I run it as a current user – it opens the same files with different contents, and it maintains those copies completely separately!
What is all this Vista Shadow Copy nonsense, and how am I supposed to bypass it? I need a single copy of all files for my application, not one for each user!
Right now, Vista seems just totally unusable for this reason.
Please help!
|
|
|
|
|
This is most likely file virtualization. This is an application compatibility helper to allow programs running as standard users to appear to be able to write to protected system folders such as the Program Files or Windows folder.
This feature kicks in by default when User Account Control (UAC) is enabled, the program is not running elevated, and the program does not have a User Account Control manifest describing what rights it requires. A few other applications have virtualization turned on, for example, Internet Explorer, so that legacy add-ins still work. It must also be a 32-bit program - 64-bit programs are expected to have been written correctly for administrator/user separation.
You cannot bypass it. You should either:
- add a manifest to indicate that your application is for administration purposes (requireAdministrator) and should therefore run elevated (you will then get a UAC prompt on each run), or
- fix your application so it doesn't write to protected areas, and add a manifest to indicate that your application should run with minimum privileges (asInvoker).
As a bonus, if you follow the second route, your application will also work much better for standard (non-administrative) users on Windows 2000 and XP.
If your application needs to share files across users, it should be writing into the All Users profile.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Thank you for your reply, Mike!
My application doesn't require Administrator's rights, and i am using asInvoker in my manifest.
I am trying to manage all application files within C:\ProgramData\MySoftwareFiles. All users seem to have full acess to that folder, and i have no problem creating files there from my application.
However, files seem to be automatically duplicated into folder C:\Users\All Users\MySoftwareFiles. I don't understand why this happens. Can i not use c:\ProgramData folder for my software? Other software packages seem to be using it as well...
|
|
|
|
|
Mike,
To be more specific, i am having this problem with a JET database that when i'm making changes under Administrator user they get into one DB, when under normal user - into different DB, even though the full path to the file is always the same...
I don't know if this if JET - specific problem or not...
Free C++ libraries with source code on www.neatcpp.com: TWAIN, DirectShow, Interprocess Communications, etc...
|
|
|
|
|
Hi
I have been stuck on this for a while now and if somebody could point me in the right direction it would be appreciated. I am trying to add a tab to the property form that opens when you right-click a user in the active directory snap-in and select properties, this tab will show the manager, secretary and the assistant of the user. I have been looking at the MSDN articles but they are a mess and I don't fully understand them, it appears as if you can only do this in VC++. Does anybody know of a clear step by step tutorial or a working example out there that covers this topic?
Thanks
|
|
|
|
|
I think the book "Windows 2000 Programming Bible" by John Paul Mueller [ISBN: 0-7645-3312-6] goes into some of that stuff, and I think it exists in PDF format if you have trouble finding it in the shops.
//Johannes
|
|
|
|
|
Thanks
I will have a look at it.
|
|
|
|
|
Hi,
I'm implementing a firewall on windows 2003 OS with java.
First step i capture packets from network interface card with jpcap api.Acording to captured packets i change windows registry with com.ice.jni.registry to block packets.
My problem is about block pinging.How can i do this? Which registry's
should i change?
Thanks
Good works...
|
|
|
|
|
|
No, you are not implementing a firewall. You are implementing a third-party-frontend for the Windows Firewall. And to do that, well... how about creating a copy of your registry (export everything), then change a setting, export your registry to another file and compare those two?
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Hi, my computer inffect with the virus. When it come into my system, it general 15 character in word option and every document that I open and close, when I open again it display a password dialog box to enter. I didn't set any password and the file couldn't open. Does anyone know how to solve this problem?
Thank in advance
|
|
|
|