🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Alvise Valsecchi Fri, 07 Mar 2003 07:40
.NET and RegistryPermission
#17628
Author: Alvise Valsecchi
Date: Fri, 07 Mar 2003 07:40
17 lines
1482 bytes
Hi. The .NET Framework class library from Microsoft desribes a
RegistyPermission class, and provides a C++ example to make readable a
registry key.

(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemsecuritypermissionsregistrypermissionclasstopic.asp)

I admit my ignorance: I don't know what does .NET mean and how to use
it. May I use the RegistryPermission class from within my old dear C++
Builder 3 Pro ???? And how ?

Thanks from Alvise.


==========================================
visit my web pages for the programmer at:

http://www.hochfeiler.it/alvise
Re: .NET and RegistryPermission
#17630
Author: Remy Lebeau (TeamB)
Date: Fri, 07 Mar 2003 07:56
14 lines
1471 bytes
You cannot use anything from .NET in Builder at all.  .NET is a completely
separate framework and is only accessible by apps specifically written to
support the .NET platform.  Builder does not currently support .NET at all.
And certainly not a version as old as BCB3.


Gambit

"Alvise Valsecchi" <alvise@hochfeiler.it> wrote in message
news:3E684D05.5F902AEB@hochfeiler.it...

> I admit my ignorance: I don't know what does .NET mean and how
> to use it. May I use the RegistryPermission class from within my
> old dear C++ Builder 3 Pro ???? And how ?
Re: .NET and RegistryPermission
#17647
Author: bcbuser
Date: Fri, 07 Mar 2003 23:09
32 lines
1988 bytes
If your just looking to use the registry for simple reading and writing (ie.
Read and Write keys) you can use the TRegistry class.

TRegistry *Reg = new TRegistry;
if(Reg->OpenKey("MyKey", false))
{
    AnsiString MyData = Reg->ReadString("SomeData");
    Reg->CloseKey();
}
delete Reg;

"Alvise Valsecchi" <alvise@hochfeiler.it> wrote in message
news:3E684D05.5F902AEB@hochfeiler.it...
> Hi. The .NET Framework class library from Microsoft desribes a
> RegistyPermission class, and provides a C++ example to make readable a
> registry key.
>
>
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html
/frlrfsystemsecuritypermissionsregistrypermissionclasstopic.asp)
>
> I admit my ignorance: I don't know what does .NET mean and how to use
> it. May I use the RegistryPermission class from within my old dear C++
> Builder 3 Pro ???? And how ?
>
> Thanks from Alvise.
>
>
> ==========================================
> visit my web pages for the programmer at:
>
> http://www.hochfeiler.it/alvise
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads