just in case, have you installed the dotnet framework/run time in the win
me?
Or are using only MFC classes and nothing of dotnet?
[quoted text, click to view] "Dragon" <no@spam.please> wrote in message
news:OurxTLCpFHA.3996@TK2MSFTNGP12.phx.gbl...
> Hello,
>
> I developed an app which works fine in WinXP, but gives exceptions in
> WinME. In order to debug it, I tried to build a "makefile" to use with
> "vbc @file". So far I've ended up with:
>
> /out:H:\PlaySmth.exe
> /target:winexe
> /reference:System.dll
> /reference:System.Drawing.dll
> /reference:System.Windows.Forms.dll
> /reference:Microsoft.VisualBasic.dll
> /resource:frmAbout.resources
> /resource:PlayingSlideBar.resources
> /resource:frmMain.resources
> /win32icon:PlaySmth.ico
> /debug+
> /debug:full
> /imports:System
> /imports:System.Diagnostics
> /imports:System.Collections
> /imports:System.Windows.Forms
> /imports:System.Runtime.InteropServices
> /imports:Microsoft.VisualBasic
> /optionexplicit+
> /optionstrict+
> /rootnamespace:PlaySmth
> /verbose
> frmMain.vb
> PlayingSlideBar.vb
> frmAbout.vb
> APIs.vb
> AssemblyInfo.vb
>
> It compiled fine, but when I ran created assembly, error box was shown
> about an exception that "couldn't be handled".
>
> MessageBox'ing, I found out that exception was thrown by this line:
>
> ~
> Me.ilfortvSongs.ImageStream =
> CType(resources.GetObject("ilfortvSongs.ImageStream"),
> System.Windows.Forms.ImageListStreamer)
> ~
>
> in InitializeComponent(). The exception is:
> System.Resources.MissingManifestResourceException
> Â äàííîé ñáîðêå íå óäàëîñü íàéòè ðåñóðñû, ñîîòâåòñòâóþùèå óêàçàííîé
> êóëüòóðå (èëè íåéòðàëüíîé êóëüòóðå). Ïðîâåðüòå ïðàâèëüíîñòü âíåäðåíèÿ
> èëè ñâÿçûâàíèÿ "frmMain.resources" ñî ñáîðêîé "PlaySmth".
> baseName: frmMain locationInfo: PlaySmth.frmMain resource file name:
> frmMain.resources assembly: PlaySmth, Version=1.0.2056.36799,
> Culture=neutral, PublicKeyToken=null
>
> (Translation: Can't find resources, corresponding the specified culture
> (or neutral culture) in this assembly. Verify correctness of embedding
> or linking "frmMain.resources" with assembly "PlaySmth".
>
> What do I have to change in "makefile", so it will compile correctly?
>
> Thanks in advance,
>
> Roman
>
>