471,336 Members | 1,234 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Resource Script

Hi.

I try to embedd the fallowing ResourceScript into a C#-Application.

WN_DIALOG DIALOGEX 5, 16, 263, 132, 0
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | WS_POPUPWINDOW | WS_DLGFRAME
| WS_MINIMIZEBOX
CAPTION "Dialog Caption"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
}

But when I add this File (WN_Dialog.rc) to the project and choose 'embedded
Ressource', the Resource will not be in the exe (checked with PEExplorer).
When I try to compile it myself with
csc.exe /win32res:obj\Debug\WN_Dialog.rc

I get the message

WN_Dialog.rx is not a valid Win32-Resourcefile

Can anybody help me?

Thank you.

Best Regards, Thomas
Jun 27 '08 #1
0 1066

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by HaukiDog | last post: by
reply views Thread by ChristianD | last post: by
reply views Thread by Mitja Trampus | last post: by
1 post views Thread by Georg Hickel | last post: by
6 posts views Thread by Kye | last post: by
21 posts views Thread by DiAvOl | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.