🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
8 messages
8 total messages Started by RaynorPao Wed, 26 Mar 2003 02:42
RC
#17378
Author: RaynorPao
Date: Wed, 26 Mar 2003 02:42
8 lines
1039 bytes
Hi all:

How can I create a *.rc in BCB?
And How can I add the *.rc to my BCB project(EXE)?
Is there any document about this?

Thanks.
RaynorPao.
Re: RC
#17379
Author: Remy Lebeau (TeamB)
Date: Wed, 26 Mar 2003 03:36
21 lines
1526 bytes
"RaynorPao" <RaynorPao.nospam@nospam.pchome.com.tw> wrote in message
news:3e810fcd@newsgroups.borland.com...

> How can I create a *.rc in BCB?

An .rc file is just a text file.  You can use any text edtor you want,
including the IDE's code editor.  Refer to this article for an example:

    Add icon, cursor, bitmap, and sound resources to a BCB project
    http://www.bcbdev.com/faqs/faq52.htm

If, on the other hand, you're looking for an actual RC editor, then Builder
doesn't have one.

> And How can I add the *.rc to my BCB project(EXE)?

Use the IDE's "Add to Project" option.


Gambit
Re: RC
#17414
Author: RaynorPao
Date: Thu, 27 Mar 2003 03:40
31 lines
1778 bytes
Hi Remy:

Thanks for your information.
RaynorPao.

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> ���g��l��
news:3e811ddd$1@newsgroups.borland.com...
>
> "RaynorPao" <RaynorPao.nospam@nospam.pchome.com.tw> wrote in message
> news:3e810fcd@newsgroups.borland.com...
>
> > How can I create a *.rc in BCB?
>
> An .rc file is just a text file.  You can use any text edtor you want,
> including the IDE's code editor.  Refer to this article for an example:
>
>     Add icon, cursor, bitmap, and sound resources to a BCB project
>     http://www.bcbdev.com/faqs/faq52.htm
>
> If, on the other hand, you're looking for an actual RC editor, then
Builder
> doesn't have one.
>
> > And How can I add the *.rc to my BCB project(EXE)?
>
> Use the IDE's "Add to Project" option.
>
>
> Gambit
>
>
Re: RC
#17296
Author: RaynorPao
Date: Fri, 28 Mar 2003 07:48
41 lines
2074 bytes
Hi Remy:

I use VC to create a *.rc file.
And import a *.dll to *.rc file(RC_DATA).
Then, I create a BCB project(EXE).
Add this *.rc file to BCB project.
It will occur error as below:
[RC Error] VCRC.rc(10)
[RC Fatal Error] VCRC.rc(1): Compile
I don't know how can I add a *.rc file to my BCB project.
Please tell me.....

Thanks.
RaynorPao.

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> ���g��l��
news:3e811ddd$1@newsgroups.borland.com...
>
> "RaynorPao" <RaynorPao.nospam@nospam.pchome.com.tw> wrote in message
> news:3e810fcd@newsgroups.borland.com...
>
> > How can I create a *.rc in BCB?
>
> An .rc file is just a text file.  You can use any text edtor you want,
> including the IDE's code editor.  Refer to this article for an example:
>
>     Add icon, cursor, bitmap, and sound resources to a BCB project
>     http://www.bcbdev.com/faqs/faq52.htm
>
> If, on the other hand, you're looking for an actual RC editor, then
Builder
> doesn't have one.
>
> > And How can I add the *.rc to my BCB project(EXE)?
>
> Use the IDE's "Add to Project" option.
>
>
> Gambit
>
>
Re: RC
#17297
Author: Remy Lebeau (TeamB)
Date: Fri, 28 Mar 2003 07:55
12 lines
1274 bytes
What does your .rc file actually look like?


Gambit

"RaynorPao" <RaynorPao.nospam@nospam.pchome.com.tw> wrote in message
news:3e83fa67$1@newsgroups.borland.com...


> It will occur error as below:
> [RC Error] VCRC.rc(10)
> [RC Fatal Error] VCRC.rc(1): Compile
Re: RC
#17301
Author: RaynorPao
Date: Fri, 28 Mar 2003 10:07
104 lines
3124 bytes
Hi Remy:

The content of *.rc file is as below:

//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
////////////////////////////////////////////////////////////////////////////
/
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

////////////////////////////////////////////////////////////////////////////
/
#undef APSTUDIO_READONLY_SYMBOLS

////////////////////////////////////////////////////////////////////////////
/
// Chinese (Taiwan) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)
#ifdef _WIN32
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
#pragma code_page(950)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
////////////////////////////////////////////////////////////////////////////
/
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


////////////////////////////////////////////////////////////////////////////
/
//
// RC_DATA
//

IDR_RC_DATA2            RC_DATA DISCARDABLE     "BcbDll.dll"
#endif    // Chinese (Taiwan) resources
////////////////////////////////////////////////////////////////////////////
/



#ifndef APSTUDIO_INVOKED
////////////////////////////////////////////////////////////////////////////
/
//
// Generated from the TEXTINCLUDE 3 resource.
//


////////////////////////////////////////////////////////////////////////////
/
#endif    // not APSTUDIO_INVOKED


How can I do?

Thanks.
RaynorPao.

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> ���g��l��
news:3e83fd92$1@newsgroups.borland.com...
> What does your .rc file actually look like?
>
>
> Gambit
>
> "RaynorPao" <RaynorPao.nospam@nospam.pchome.com.tw> wrote in message
> news:3e83fa67$1@newsgroups.borland.com...
>
>
> > It will occur error as below:
> > [RC Error] VCRC.rc(10)
> > [RC Fatal Error] VCRC.rc(1): Compile
>
>
Re: RC
#17305
Author: Remy Lebeau (TeamB)
Date: Fri, 28 Mar 2003 18:37
26 lines
1805 bytes
"RaynorPao" <RaynorPao.nospam@nospam.pchome.com.tw> wrote in message
news:3e841b0b$1@newsgroups.borland.com...

> The content of *.rc file is as below:

Would you please also indicate the actual line that is failing?

> #include "resource.h"

Is that your own recource header?  If so, what does it look like?  I can't
compile your .rc file without it.

> LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL

What is that line doing?  I'm not familiar with VC's resource features, but
that does not look like a valid line.


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/03
Re: RC
#17306
Author: RaynorPao
Date: Fri, 28 Mar 2003 19:03
69 lines
2922 bytes
Hi Remy:

Thanks for your reply.
Sorry, my header "resource.h" is as below:

//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by VCRC.rc
//
#define IDR_RC_DATA2                    103

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        104
#define _APS_NEXT_COMMAND_VALUE         40001
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

The *.rc file is created with Visual C++ 6.0.

> > LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
This line is added automatically.

>>#include "afxres.h"
The compiler will occur error at this line(in *.rc file).

Can BCB compile *.rc file which is created with Visual C++ 6.0?
I don't know how to add a *.rc file to my BCB project.
Is there another tool can create *.rc file for BCB?

Thanks.
RaynorPao.


"Remy Lebeau (TeamB)" <gambit47@yahoo.com> ���g��l��
news:3e849404$1@newsgroups.borland.com...
>
> "RaynorPao" <RaynorPao.nospam@nospam.pchome.com.tw> wrote in message
> news:3e841b0b$1@newsgroups.borland.com...
>
> > The content of *.rc file is as below:
>
> Would you please also indicate the actual line that is failing?
>
> > #include "resource.h"
>
> Is that your own recource header?  If so, what does it look like?  I can't
> compile your .rc file without it.
>
> > LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
>
> What is that line doing?  I'm not familiar with VC's resource features,
but
> that does not look like a valid line.
>
>
> Gambit
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/03
>
>
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